12 lines
495 B
Plaintext
Executable File
12 lines
495 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/Daisy/Daisy.md
|
|
echo $'\n' >> docs/readme.md
|
|
cat src/readme_append.md >> docs/readme.md
|