24 lines
651 B
Bash
24 lines
651 B
Bash
|
rm -rf docs
|
||
|
lazydocs src --src-base-url https://git.utopic.work/PierMesh/ShrinkRay/src/branch/main/ --overview-file readme.md
|
||
|
cat docs-handwritten/readme.pre_commands.md >docs/tmp.readme.md
|
||
|
(
|
||
|
echo '```'
|
||
|
cat sr.static.txt
|
||
|
echo '```'
|
||
|
) >>docs/tmp.readme.md
|
||
|
cat docs-handwritten/readme.post_commands.md >>docs/tmp.readme.md
|
||
|
cat docs/readme.md >>docs/tmp.readme.md
|
||
|
cat license-notice.md >>docs/tmp.readme.md
|
||
|
mv docs/tmp.readme.md docs/readme.md
|
||
|
cp docs/readme.md .
|
||
|
(
|
||
|
echo '```'
|
||
|
cat sr.static.txt
|
||
|
echo '```'
|
||
|
) >>docs/sr.md
|
||
|
|
||
|
rm -rf data/tests/html/*
|
||
|
python m2h.py
|
||
|
mv data/tests/html/readme.html data/tests/html/index.html
|
||
|
pyinstaller src/sr.py -p src
|