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