Skip to content
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

[Docs]: GitHub Pages relative links note #9509

Open
akirataguchi115 opened this issue Dec 23, 2023 · 0 comments
Open

[Docs]: GitHub Pages relative links note #9509

akirataguchi115 opened this issue Dec 23, 2023 · 0 comments

Comments

@akirataguchi115
Copy link
Contributor

Motivation

When deploying via GitHub Actions and the corresponding guide: https://jekyllrb.com/docs/continuous-integration/github-actions/ the URL navigation doesn't work as it would work locally. Here's an example repository with GitHub Pages deployed: https://github.com/akirataguchi115/blog
Locally /is localhost:4000/
Locally /about is localhost:4000/about.html
on GitHub Pages / is akirataguchi115.github.io/blog/
on GitHub Pages /about is akirataguchi115.github.io/blog/about.html
However GitHub Pages points /pagesto akirataguchi115.github.io/about.html which does not exist.

Suggestion

Add a note in https://jekyllrb.com/docs/continuous-integration/github-actions/ that the navigation created during the tutorial does not work in GitHub Pages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants
@akirataguchi115 and others