-
Notifications
You must be signed in to change notification settings - Fork 54
-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GitHub Pages: Jekyll causes URLs containing ~
to 404
#516
Labels
Comments
I personally would say "do nothing". jekyll is an external tool, and we cannot start accomodating for various scenarios of different distribution systems. I wouldn't really be in favour of adding |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On GitHub Pages, Jekyll causes URLs containing
~
to 404. Related: The url contains '~' seems to be routed to 404Links to documentation of the various functions/interfaces/etc are nested under
docs/~
ordocs/<filename>/~
, so with the default GitHub Pages setup, none of those pages can be viewed.Workaround: Add an empty
.nojekyll
at the GitHub Pages root (project root ordocs/
) on the relevant branch; if GitHub Pages root isdocs/
, recreate this file every time after runningdeno doc --html
(currently,deno doc --html
deletes everything underdocs/
, so it has to be replaced every time).Possible fixes:
~
directory name to something else~
as default directory name but make it configurable.nojekyll
underdocs/
.nojekyll
under project root.nojekyll
in both places (!).nojekyll
, but automatically replace it if it already happens to exist indocs/
.nojekyll
, if at alldocs/
(or even finer-grained config, e.g. a glob pattern for files to leave unchanged indocs/
)The text was updated successfully, but these errors were encountered: