10 lines
428 B
Plaintext
Executable File
10 lines
428 B
Plaintext
Executable File
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
|
|
sed -i '1s;^;![Daisy logo](https://git.utopic.work/PierMesh/piermesh/raw/branch/main/imgs/daisydisplay.png)\n\n;' docs/Components/daisy.md
|