From 2c3aebc19e00014feb173696289d782d99c259b6 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sat, 14 Jan 2017 16:50:06 +0100 Subject: [PATCH] apidoc README: create it in ../doc (#1397) This should hopefully handle it correctly now. Ref: https://github.com/awesomeWM/awesome/pull/1390#issuecomment-272630337 --- build-utils/travis-apidoc.sh | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/build-utils/travis-apidoc.sh b/build-utils/travis-apidoc.sh index e0a15f2d..d1638f9a 100755 --- a/build-utils/travis-apidoc.sh +++ b/build-utils/travis-apidoc.sh @@ -56,10 +56,24 @@ fi # Use a temporary branch for the two commits, which allows for a better UI. git checkout -b merged-update +# Create the README for the Git repo (https://github.com/awesomeWM/apidoc). +cat > ../doc/README.md <Release:" \ -I "

API documentation for awesome, a highly configurable X window manager (version .*)\.

" \ - -x .git -x README.md | patch -p1 + -x .git | patch -p1 git add --all . if git diff --cached --exit-code --quiet; then