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/client_s2/sphinx_to_github.sh
2022-10-07 01:22:27 +02:00

23 lines
No EOL
336 B
Bash
Executable file

export BUILDING_DOCS=true
cd docs || exit
rm -rf build
rm -rf gh-pages
make html
git clone git@github.com:F-WuTS/compLIB.git gh-pages
cd gh-pages || exit
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 ..
export BUILDING_DOCS=false