File: publish-docs.sh

package info (click to toggle)
foonathan-memory 0.7-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,748 kB
  • sloc: cpp: 12,014; xml: 139; sh: 49; makefile: 22
file content (10 lines) | stat: -rwxr-xr-x 243 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
# builds documentation and publishes it
# run in root of repository, assumes `git worktree add doc/html gh-pages`

doxygen doc/Doxyfile
cd doc/html
git add --all
git commit -am"Update documentation"
git push --force origin gh-pages