Update documentation guides (#208)

This commit is contained in:
Matthew Tancik authored and GitHub committed 2022-07-26 16:07:45 -07:00
1 parent 1cd697366e
commit 828365ad30
12 files changed
+148411 -148307

No files matched your search

+11 -3
View File
@@ -54,13 +54,21 @@ conda install -c conda-forge pandoc
Run the following to build the documentation:
```bash
cd docs
make clean
make html
python scripts/docs/build_docs.py
```
Rerun `make html` when documentation changes are made, `make clean` is necissary if the documentation structure changes.
### Notebooks
We support jupyter notbooks in our documentation. To improve the readability, the following custom tags can be added to the top of each code cell to hide or collapse the code.
| Tag | Effect |
| ------------- | ---------------------------------------------------- |
| # HIDDEN | Hide code block and output |
| # COLLAPSED | Collapse the code in a dropdown but show the restuls |
| # OUTPUT_ONLY | Only show the cell's output |
### Auto build
If you want the code to build on save you can use [sphinx autobuild](https://github.com/executablebooks/sphinx-autobuild). If changes to the structure are made, the build files may be incorrect.