-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
404 page: navigation links are broken (gitlab pages) #1689
Comments
Did you provide the |
@squidfunk Yes! Set with URL with / at the end, and without / Note: I had to remove it from the sample code because it is for internal company use. |
I can't reproduce it with the official docs. Try clicking the links here: |
@squidfunk The problem only occurred in Gitlab Pages. I didn't try to test with Github pages! Localhost also works normal! |
Hi. It's strange, to be sure. I can reproduce using a simple site on GitHub pages but localhost is just fine. Repo: https://github.com/intrahealth/emNutt Docs: https://intrahealth.github.io/emNutt |
@citizenrich my temporary solution was to use the version: 5.1.3 |
This site doesn't even load for me: Please provide a reproducible repository and example. Otherwise I can't help you. |
If it only happens for GitLab pages, it's a problem with GitLab pages, not with this project. |
@squidfunk thanks for having a look. Indeed, I anticipate that it's an issue with GitHub pages rather than MkDocs or MkDocs material. On the repo, yes, that is the reproducible example. It works on localhost but not picked up by GitHub. Edit: Sorry to conflate GitHub and gitlab. Very different. |
Okay, then I'm closing this, as it's beyond the scope of this project. |
Description
When hitting a missing page (404), the navigation links are not working anymore. (I'm using gitlab pages)
I noticed that a similar problem was fixed in Mkdocs mkdocs/mkdocs#1598.
Attention:
This problem does not happen in version mkdocs-material 5.1.3.
Error does not occur with the default theme
Steps to reproduce the bug
Test mkdocs for error reproduction: mkdocs-material-error-navigation.zip
1 - Navigate to page 2
2 - Then try to navigate to page 3
See attached video >>> mkdocs-material-error-navigation - 2020-05-12 22.47.29.mp4.zip <<<
Package versions
python: 3.8
mkdocs: 1.1
mkdocs-material 5.1.5
Project configuration
System information
Page navigation works in my localhost environment
The text was updated successfully, but these errors were encountered: