Closed CorradoMotta closed 2 years ago
The way I generated the sphinx documentation with the sphinx theme:
sphinx
and sphinx-rtd-theme
docs
folder in your root, navigate to it by using the terminal and run the following command (make sure you are in the correct conda environment): $ sphinx-quickstart
conf.py
one. (you can find conf.py in this repository). Now you are ready to modify the rst file as you want. $ make html
. You can also make pdf or latex.now the documentation is generated and can be opened by clicking on index.html
To be able to add it on GitHub pages, follow this guide: https://python.plainenglish.io/how-to-host-your-sphinx-documentation-on-github-550254f325ae
When you want to update the docs, but new code was added to main and pushed on remote:
git checkout <localdocbranch>
git rebase main
(Will rework your commits to the top of master. Not ask for commits)git push --force-with-lease origin <localdocbranch>:<remotedocbranch>
Right now i am manually adding the link to the created HTML page for variables metadata. That should be automatic.
Steps:
Fixed. Next, we need to rebase and update the tables directly from notebooks without the need to recompile the documentation
merging to master
Issue can be closed
Issue: Generate documentation that can be accessed by GitHub directly and explains all steps to generate the NetCDF files.