Generate documentation with Sphinx
mainYou can automatically generate project documentation in HTML, LaTeX, or GitHub Pages formats using Sphinx.
First, ensure all development dependencies are installed:
pip install -r dev_requirements.txtThen, navigate to the docs_source/ directory, run the module generation script, and use make to compile the desired format.
# 1. Install dependencies
pip install -r dev_requirements.txt
# 2. Compile documentation
cd docs_source/
sh generate_modules_rst.sh
# For HTML output
make html
# For LaTeX/PDF output
make latex
make latexpdf
# For GitHub Pages
make github