From a09479c0eb366f51903e8adedb50f32b1bdcc44f Mon Sep 17 00:00:00 2001 From: Damiaan Dufaux Date: Tue, 13 Mar 2018 20:11:22 +0100 Subject: [PATCH] Turn off Jekyll for GitHub Pages (#145) Problem: Documentation for classes like _ChannelInboundHandler are not accesible via the official API documentation pages Cause: GitHub treats the gh-pages branch as Jekyll Solution: Turn off Jekyll by adding a .nojekyll file to the gh-pages branch --- scripts/generate_docs.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/generate_docs.sh b/scripts/generate_docs.sh index 6b23d8711..934f7e148 100755 --- a/scripts/generate_docs.sh +++ b/scripts/generate_docs.sh @@ -89,6 +89,8 @@ if [[ $CI == true ]]; then git add --all docs echo '' > index.html git add index.html + touch .nojekyll + git add .nojekyll changes=$(git diff-index --name-only HEAD) if [[ -n "$changes" ]]; then git commit --author="$GIT_AUTHOR" -m "publish $version docs"