Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

underscore folder problem with github pages #65

Closed
ghost opened this issue Feb 13, 2019 · 4 comments
Closed

underscore folder problem with github pages #65

ghost opened this issue Feb 13, 2019 · 4 comments

Comments

@ghost
Copy link

ghost commented Feb 13, 2019

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.

@stefankunze
Copy link

Simply add a .nojekyll file in the styleguide directory. This will solve your issue.

github blogpost

@ghost
Copy link
Author

ghost commented May 15, 2019

Fixed with .nojekyll file, thank you !

@ghost ghost closed this as completed May 15, 2019
@kbradley
Copy link

kbradley commented May 9, 2020

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...)

@kbradley
Copy link

kbradley commented May 9, 2020

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.

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants