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.
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.
-
8Ah, caching. Ever wonderful, ever a mystical headache, eventually consistent. – Ben Leggiero Dec 21 '18 at 20:48
-
In my this case this didn't help and I contacted Github support. I'm now waiting for a response from them. – d33tah Feb 1 '19 at 10:47
-
-
1FWIW, you can confirm if there's caching issues by copying the URL that the browser requested from into the terminal:
curl https://...
. – KFunk May 7 '20 at 0:10
.nojekyll
fine in the root tells Github NOT to use jekyll to build your site. So you need to build it locally first - so there is the right content in your output_site
directory. – TBB Nov 18 '17 at 13:25_sites
folder. – TBB Nov 18 '17 at 13:29