This repository maintains the documentation of the NetDEM project. It is built on mkdocs and the template extracted from mfem.
pip3 install mkdocs
pip3 install mkdocs-bootswatch
pip3 install pymdown-extensions
pip3 install attr
pip3 install mkdocs-bibtex
pip3 install mkdocs-video
-
Make changes in
docs/
. If a new page are added, please index this page in thenav
section ofmkdocs.yml
in the root directory, otherwise the new added page will not be rendered. -
Preview or review the site by running the following command in a terminal, and then visit http://127.0.0.1:8000 in a browser.
mkdocs serve
- Update the remote site using
mkdocs gh-deploy
- Push the change of site source to remote using
git add .
git commit -m [message]
git push
Update the doxygen files in docs/
using command doxygen Doxyfile
, then follow the previsous procedures to update the files to the remote and website. Make sure that the directory of the source code (i.e., INPUT = ../netdem/readme.md ../netdem/src
, near line 867 in Doxyfile
) is correct.
- mkdocs does not support
http
, please make sure the web links are starting withhttps
. For example, the videl links copied fromtecent cloud
are starting withhttp
by default, which could result in no response when usinghttp
links in theAnimations
page.