From: Peter Hutterer Date: Sun, 21 Jul 2013 22:31:36 +0000 (+1000) Subject: Point to new API documentation URL X-Git-Tag: libevdev-0.2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9ac7fd54424ec5faf0e53bc6a58b769dc0de704d;p=platform%2Fupstream%2Flibevdev.git Point to new API documentation URL And fix up the tool to publish it. Signed-off-by: Peter Hutterer --- diff --git a/README.md b/README.md index 7dec14f..98d0b76 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ The eventual goal is that libevdev wraps all ioctls available to evdev devices, thus making direct access unnecessary. Go here for the API documentation: -http://whot.github.io/libevdev/ +http://www.freedesktop.org/software/libevdev/doc/latest/ File bugs in the freedesktop.org bugzilla: https://bugs.freedesktop.org/enter_bug.cgi?product=libevdev diff --git a/tools/publish-doc b/tools/publish-doc index 66777ab..2dcd45e 100755 --- a/tools/publish-doc +++ b/tools/publish-doc @@ -1,11 +1,7 @@ #!/bin/bash -git checkout master +set -e + make -mv doc/html doc/publish -git checkout gh-pages -rm -rf doc/html -mv doc/publish doc/html -git add doc/html -git commit -asm "Documentation update for `git log -n 1 --format="format:%h" master`" -git checkout master +rsync --delete -avz doc/html/ freedesktop.org:/srv/www.freedesktop.org/www/software/libevdev/doc/latest +