build updates [ci skip]

This commit is contained in:
edoapra 2020-08-17 16:54:34 -07:00
parent d3c9675383
commit f2a92f4521
No known key found for this signature in database
GPG key ID: 48E12DA1EDE9E1B0
2 changed files with 13 additions and 4 deletions

View file

@ -13,6 +13,11 @@
python3 -m pip install --user -e .
```
## Install the python-markdown-math plugin for MathJax (work in progress)
```
python3 -m pip install --user python-markdown-math
```
# Edit the configuration
```
mkdocs.yml
@ -94,4 +99,4 @@ python3 -m pip install markdown-katex
```
Not tried yet
* more in https://github.com/Python-Markdown/markdown/wiki/Third-Party-Extensions
* more in https://github.com/Python-Markdown/markdown/wiki/Third-Party-Extensions

View file

@ -19,12 +19,16 @@ while read fname; do
cp $fname "$fname".tmp
mv tmptmp.txt $fname
done <../mathfiles.txt
#cd ..
cd ..
#mkdocs serve
cd ../nwchemgit.github.io
rm -rf nwchemgit.github.io_temp
git clone --depth 1 https://github.com/nwchemgit/nwchemgit.github.io nwchemgit.github.io_temp
cd nwchemgit.github.io_temp
mkdocs -v gh-deploy --config-file ../mkdocs.yml --remote-branch master
cd ..
rm -rf nwchemgit.github.io_temp
# restore svg bits
cd ../docs
cd docs
while read fname; do
ls "$fname"
mv "$fname".tmp $fname