mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2025-12-20 16:10:07 +01:00
tools: add a tool to build and publish the documentation
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
20fb3fc875
commit
cbb2d1391b
1 changed files with 11 additions and 0 deletions
11
tools/publish-doc
Executable file
11
tools/publish-doc
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
git checkout master
|
||||
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
|
||||
Loading…
Add table
Reference in a new issue