File: publish-docs.sh

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

rm -r doc/html/*
doxygen doc/Doxyfile
echo "memory.foonathan.net" > doc/html/CNAME
cd doc/html
git add --all
git commit -am"Update documentation" --amend
git push --force origin gh-pages