Commit c19d5e18 authored by Bryce Harrington's avatar Bryce Harrington

publish-doc: Add script for publishing docs to the website

Adapted from same-named script from libinput.
parent 6ffd998a
set -e
[ -e doc ] || (echo "Run this from the project root" && exit 1)
[ -e "${DOC_HTML}" ] || (echo "HTML documentation failed to build at ${DOC_HTML}" && exit 1)
chmod -R g+x ${DOC_HTML}
rsync --delete -avz ${DOC_HTML}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment