Skip to content

Commit

Permalink
Update publish-docs script
Browse files Browse the repository at this point in the history
  • Loading branch information
foonathan committed Jan 11, 2023
1 parent 3edafba commit f191eb0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/publish-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
# 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"
git commit -am"Update documentation" --amend
git push --force origin gh-pages

0 comments on commit f191eb0

Please sign in to comment.