Sphinx
Language: reStructuredText
Compiler: Sphinx (Python)
Deployment: ReadtheDocs (via GitHub)
References
Sphinx and reStructuredText: https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html 。
Template from ReadtheDocs: https://github.com/readthedocs/sphinx_rtd_theme/tree/master/docs
Template user manual: https://sphinx-rtd-theme.readthedocs.io/
Template configuration: https://sphinx-rtd-theme.readthedocs.io/en/stable/configuring.html
Configuration file: Set
html_theme_optionsinFENGSim/docs/src/conf.py.
Deployment
Specify the paths for
conf.pyandrequirements.txtinFENGSim/docs/.readthedocs.yaml.The
FENGSim/docs/requirements.txtfile lists all the packages required by ReadtheDocs. The versionsphinx-rtd-thememust be 3.0.2; otherwsie, theversion_selectoroption in thehtml_theme_optionsdictionary withinFENGSim/docs/src/conf.pywill cause errors.In
FENGSim/docs/Makefile, specifySOURCEDIRfor the source files (e.g.,conf.pyand.rstfiles) andBUILDDIRfor the compilation output.Specify
html_logofor logo file inFENGSim/docs/src/conf.py.