HelloZeroNet / Documentation

ZeroNet Documentation
https://zeronet.readthedocs.org/
GNU General Public License v2.0
74 stars 107 forks source link

Documentation not building on readthedocs #95

Closed anoadragon453 closed 5 years ago

anoadragon453 commented 5 years ago

The documentation is failing to build due to a lack of updated mkdocs and mkdocs-material pypi packages, seen here: https://readthedocs.org/projects/zeronet/builds/7896970/

The rtd config is unfortunately not in this repo. Could you update it on the rtd side so it has those changes @hellozeronet?

HelloZeroNet commented 5 years ago

The error:

WARNING -  Config value: 'nav'. Warning: Unrecognised configuration name: nav 
ERROR   -  Config value: 'theme'. Error: Unrecognised theme name: 'material'. The available installed themes are: readthedocs, mkdocs 

Aborted with 1 Configuration Errors!
HelloZeroNet commented 5 years ago

Switched back to mkdocs theme, it's building now. Found some problems:

anoadragon453 commented 5 years ago

The API reference does not lists the commands on the left list

Ah, this is a problem with the titles. Let me make a PR.

The order of the left menu items is changing randomly

I think this is fixed with the latest version of mkdocs.

HelloZeroNet commented 5 years ago

I think this is fixed with the latest version of mkdocs.

We have no access the version of the mkdocs on readthedocs.org, so probably we have to revert back changes in mkdocs.yml

anoadragon453 commented 5 years ago

Ahh, that's too bad. Alright. We can do that.

Any chance of docs.zeronet.io at some point and just host the static docs files ourselves?

HelloZeroNet commented 5 years ago

Well it's possible, have to find a way to automatically sync and build it from GitHub repo

anoadragon453 commented 5 years ago

Essentially you'll want to set up a webhook for whenever master is pushed to. This will then send out a notification, which a program like https://github.com/OllieJones/git-webhook-responder/blob/master/README.md can respond to and run a command, like mkdocs build, on.

anoadragon453 commented 5 years ago

Closed in favor of #101