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
This commit is contained in:
Damiaan Dufaux 2018-03-13 20:11:22 +01:00 committed by Norman Maurer
parent b542775605
commit a09479c0eb
1 changed files with 2 additions and 0 deletions

View File

@ -89,6 +89,8 @@ if [[ $CI == true ]]; then
git add --all docs
echo '<html><head><meta http-equiv="refresh" content="0; url=docs/current/NIO/index.html" /></head></html>' > 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"