Context
No response
Bug description
As soon as instant loading is added to a project, the navigation loses its way and ends up in 404 errors. I discovered this while using the language switcher, but I am not sure if it is related to the switcher, or if it is a general issue with the instant loading feature.
Related links
Reproduction
example.zip
Steps to reproduce
- run the project (I use ./run.txt)
- observe that the website starts, showing the English Home page
- click on 'Test' in the menu
- the Test page is displayed, but in the background, it is already failing, see the log:
INFO - [14:56:55] Serving on http://0.0.0.0:8000/
INFO - [14:57:18] Browser connected: http://localhost:8000/en/
WARNING - [14:57:21] "GET /en/de/sitemap.xml HTTP/1.1" code 404
WARNING - [14:57:21] "GET /en/test/sitemap.xml HTTP/1.1" code 404
- switch to German using the language switcher, resulting in a 404 error.
When instant loading is removed from the mkdocs.yml files, then everything works properly.
Browser
No response
Before submitting
Context
No response
Bug description
As soon as instant loading is added to a project, the navigation loses its way and ends up in 404 errors. I discovered this while using the language switcher, but I am not sure if it is related to the switcher, or if it is a general issue with the instant loading feature.
Related links
Reproduction
example.zip
Steps to reproduce
When instant loading is removed from the mkdocs.yml files, then everything works properly.
Browser
No response
Before submitting