-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
Both languages show on the left-side menu instead of the current language's content only #289
Comments
Hello @ztheory, |
Hello @kamilkrzyskow Ugh. Sorry about that. I was modifying this file endlessly and must have overwritten the One more question, if I may. Sorry for these silly issues. When I select French, it results in a 404, even though I have an When I select French, then select English again, it goes to an unexpected page instead of the English
|
I believe this issue stems from So try changing the site_url to
As for this, I'm not sure, the 404.html page isn't really a page but a template, so perhaps the underlying code somehow caches / doesn't clear data from a previous processed page, which leads to using this other data instead to create the selector on the 404 page. It would have to be explicitly programmed for it to go back to the root index 🤔 Also keep in mind that only one 404.html is being handled by the server (at least in this static page setting / GitHub pages) |
Actually wait, you're using both
EDIT: |
Hello @kamilkrzyskow Terribly sorry for the late reply. Correct, I had to change the path before publishing. I got everything working perfectly. Thank you so very much. |
Hello,
Firstly, thank you for maintaining this project.
Running mkdocs-material 9.4.7 with mkdocs-static-i18n 1.2.0.
I am probably missing something simple, but I cannot figure it out.
When running
mkdocs serve
, I get the following warning, even though I have anindex.md
file in my /fr/ folder. Perhaps related to the second issue.In addition, on the left menu, all of the content shows for both English and French, even when being in my /fr/ or /en/ version of the documentation.
Appreciate any advice in advance.
The text was updated successfully, but these errors were encountered: