This template is used to easily create sphinx pages using Markdown. It uses the sphinx book theme, but can be easily changed:
Pages are written in MyST Markdown which makes it easy write basic pages, while maintaining the full power of sphinx.
All documenation files are placed in the Docs/
subfolder. They can be moved if another directory structure if needed.
The theme requires a few Python libraries to build. These are easily install with conda.
-
Install Sphinx Python build environment.
conda env create -f Docs/environment.yaml
-
Customize the
Docs/conf.py
file to adapt project as needed. (deletequickstart.md
andcustomize/
. -
To build the sphinx documenation's HTML pages run the following: 🎉
conda activate sphinx cd Docs make html
- Use vscode for development
- Install MyST vscode extension to enable syntax highlighting markdown files.
- See the following resources for how to write pages:
- Markup reference for basic syntax.
- Sphinx design for adavanced html elements