This repository has been archived on 2025-06-01. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
compLIB/sphinx_to_github.sh
Konstantin Lampalzer aa33dc36d8
Add ghpages script
2021-01-16 01:32:48 +01:00

21 lines
No EOL
266 B
Bash
Executable file

cd docs
rm -rf build
rm -rf gh-pages
make html
git clone git@github.com:F-WuTS/compLIB.git gh-pages
cd gh-pages
git checkout gh-pages
cp -r ../build/html/ .
git add .
git commit -a -m "Update documentation"
git push origin gh-pages
cd ..
rm -rf gh-pages
cd ..