Building the Documentation¶
To generate the HOHQMesh documentation, you need a reasonably recent version of
Python 3 and the mkdocs-material
package. The latter can be installed via pip
using
pip install mkdocs-material
mkdocs-material
requires a minimum version of
the dependent Jinja2
package that has a known bug. Please make sure that you
have at least Jinja2 2.11
installed by checking the output of
pip show Jinja2
pip install Jinja2 --upgrade
For local viewing, change to the directory where the mkdocs.yml
file is
located. Then execute
./preparedocs
docs
. Then, you have two options:
To view the documentation via the built-in webserver, execute
mkdocs serve
To generate a static set of files on disk, run
mkdocs build --no-directory-urls
site/index.html
in your browser.
If, for some reason, you would like to download all images used in the documentation that are hosted on GitHub, you can automate this process by executing
./download_github_images