piermesh/builddocs

10 lines
423 B
Plaintext
Raw Normal View History

2024-07-28 11:21:15 +00:00
rm -rf docs/*
sphinx-build -M markdown src docs
mv docs/markdown docs.tmp
rm -rf docs/doctrees
mv docs.tmp/* docs
rm -rf docs.tmp
mv docs/index.md docs/readme.md
sed -i '1s;^;![PierMesh logo](https://git.utopic.work/PierMesh/piermesh/raw/branch/main/piermeshicon.png)\n\n;' docs/readme.md
2024-08-01 21:09:50 +00:00
sed -i '1s;^;![Daisy logo](https://git.utopic.work/PierMesh/piermesh/raw/branch/main/imgs/daisydisplay.png)\n\n;' docs/Daisy/Daisy.md