Add a README for the apidoc repository (#1324)

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2016-12-28 22:23:51 +01:00 committed by Daniel Hahler
parent 9077dec275
commit 4f1e502c26
1 changed files with 14 additions and 0 deletions

View File

@ -61,6 +61,20 @@ diff -Nur . ../doc -I "Last updated" -I "<strong>Release</strong>:" \
-I "<h2>API documentation for awesome, a highly configurable X window manager (version .*)\.</h2>" \ -I "<h2>API documentation for awesome, a highly configurable X window manager (version .*)\.</h2>" \
-x .git | patch -p1 -x .git | patch -p1
# Create the readme
cat > README.md <<END
# Awesome API documentation
This repository contains the built API documentation for the
[awesome](https://github.com/awesomeWM/awesome) window manager. It is
automatically updated via Travis when the master branch changes. Hence:
## Do NOT send pull requests here
Instead, please update the source code of
[awesome](https://github.com/awesomeWM/awesome) instead.
END
git add --all . git add --all .
if git diff --cached --exit-code --quiet; then if git diff --cached --exit-code --quiet; then
echo "Documentation has not changed." echo "Documentation has not changed."