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:
parent
b542775605
commit
a09479c0eb
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue