Browse Source

Add docs build script

pull/3/head
Andrei 9 years ago
parent
commit
b9e924857f
  1. 12
      docs/build.sh

12
docs/build.sh

@ -0,0 +1,12 @@
#!/bin/bash
rm -rf _build
make html
pushd _build/html
git init
git config user.name 'Autodoc'
git config user.email '<>'
git add .
git commit -m "Autogenerated documentation"
git push --force --quiet "https://${GH_TOKEN}@github.com/b1naryth1ef/disco" master:gh-pages
popd
Loading…
Cancel
Save