📝 add mkdocs
This commit is contained in:
parent
c92a696852
commit
a8f0cd15df
36 changed files with 2656 additions and 261 deletions
24
doc/mkdocs/Makefile
Normal file
24
doc/mkdocs/Makefile
Normal file
|
@ -0,0 +1,24 @@
|
|||
serve: prepare_files
|
||||
venv/bin/mkdocs serve
|
||||
|
||||
prepare_files:
|
||||
# build Doxygen
|
||||
$(MAKE) -C ..
|
||||
# clean subfolders
|
||||
rm -fr docs/images docs/examples
|
||||
# create subfolders
|
||||
mkdir docs/images docs/examples
|
||||
# copy images
|
||||
cp -vr ../json.gif docs/images
|
||||
# copy examples
|
||||
cp -vr ../examples/*.cpp ../examples/*.output docs/examples
|
||||
|
||||
publish: prepare_files
|
||||
venv/bin/mkdocs gh-deploy --clean --force
|
||||
|
||||
install_venv:
|
||||
python3 -mvenv venv
|
||||
venv/bin/pip install -r requirements.txt
|
||||
|
||||
uninstall_venv:
|
||||
rm -fr venv
|
Loading…
Add table
Add a link
Reference in a new issue