4. How to Build Documentation Locally
Clone the repository.
Install Python.
Install the following dependencies:
$ pip install sphinx==5.3.0
$ pip install myst_parser==0.18.1
$ pip install breathe==4.35.0
$ pip install sphinx-copybutton
$ pip install sphinx-version-warning
$ pip install sphinx-hoverxref
$ pip install sphinx-markdown-tables
$ pip install sphinx_rtd_theme==1.1.1
$ pip install sphinx-tabs
Note
If installing on Windows, Sphinx and all related components must be installed with administrator privileges.
In the directory
DiveComputer\doc_srcRun the:build.batTo view the ready build, open the
index.htmlfile in theDiveComputer\docdirectory.
Tip
The command is used to build documentation using Sphinx. Sphinx will generate the documentation in the
specified output format (HTML by default) from the source in the current DiveComputer\doc_src and place the prepared files in the DiveComputer\doc directory.
More information is available on FAQ.