Skip to content

Commit

Permalink
Pyrofork: Clean old docs before copying
Browse files Browse the repository at this point in the history
Signed-off-by: wulan17 <[email protected]>
  • Loading branch information
wulan17 committed Dec 8, 2023
1 parent b9709ad commit fe713af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ cd compiler/docs && "$VENV"/bin/python compiler.py
cd ../..
"$VENV"/bin/sphinx-build -b html "docs/source" "docs/build/html" -j auto
git clone https://wulan17:"$DOCS_KEY"@github.com/Mayuri-Chan/pyrofork-docs.git
cp -r docs/build/html/* pyrofork-docs
cd pyrofork-docs
rm -rf _includes api genindex.html intro py-modindex.html sitemap.xml support.html topics _static faq index.html objects.inv searchindex.js start telegram
cp -r ../docs/build/html/* .
git config --local user.name "Mayuri-Chan"
git config --local user.email "[email protected]"
git add --all
Expand Down

0 comments on commit fe713af

Please sign in to comment.