Pushed .nojekyll file to Github pages, no effect?

Viewed 10872

I'm trying to push some Sphinx-generated docs to Github pages. I've found out that Jekyll removes the folders with an underscore; since I wasn't using it anyway I added a .nojekyll file to the folder, committed and pushed. However, nothing is happening yet. Did I do something wrong, does the process normally take some time, or should I force the page to rebuild in some other way? Thanks.

2 Answers

The problem was solved after another commit and push of a seemingly unrelated change. It was probably just Github pages not rebuilding the site and once a build was forced it was all fixed. Issue closed for me.

I had the same error and I found the issue on github pages repo:
https://github.com/tschaub/gh-pages/issues/315

Answer: just add the parameter -t true ...
Example:

// Package.json
"deploy": "touch ./output_folder/.nojekyll && gh-pages -d output_folder -t true"
Related