Closed ghost closed 5 years ago
Simply add a .nojekyll
file in the styleguide directory. This will solve your issue.
Fixed with .nojekyll file, thank you !
I had the same issue and tried adding a .nojekyll file both to the root of my Github pages repo and also within the "docs" folder where I output stylemark files for my project. Neither has worked and I get 404s on my github page for all the files in the "_stylemark" directory.
Would it be possible just to rename the directory to "stylemark" without the underscore so that all this isn't necessary to begin with?
(I experimented with manually renaming the directory and references to it which worked but isn't a good long term solution...)
I wrote the above too soon. GIthub finally recognized the file and my Stylemark github page is finally working. This was a big headache to discover the cause and how to fix though so respectfully I'd still like to request the directory be renamed if possible to help others avoid this issue in the future. Thanks.
The stylemark folder starting with an underscore cause problem with github pages.
Files in that folder aren't loaded when you use github pages for you documentation.