mirror of
https://github.com/nwchemgit/nwchem.git
synced 2026-07-28 14:15:30 -04:00
build updates [ci skip]
This commit is contained in:
parent
d3c9675383
commit
f2a92f4521
2 changed files with 13 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue