Closed zorgrian closed 6 years ago
OS: Manjaro linux but also UBUNTU and any linux Browser ----> any
Did you override the footer.html
partial? From your theme configuration I can see that you include custom_dir: theme
which indicates that you overrode partials. If so, please check the original footer.html
partial and make any adjustments that were made for MkDocs 1.0 compatibility.
Thanks for your reply
Thanks --- Zorgrian
As I really just wanted to add a copyright string, I realised that the modded footer.html partial was not needed and indeed is an impediment as it will add unnecessary complexity/ versioning issues. Instead I have now used the preferred copyright method.
Thanks --- Zorgrian
Could this be re-opened? Overriding the footer will do this even without modifying anything in the footer. It's something to do with the relative path, as if it's adding the new url to the current one on instead of replacing it.
URL should be http://127.0.0.1:8000/topicA/page2
but ends up as http://127.0.0.1:8000/topicA/page1/topicA/page2/
I get a similar issue in the nav if I copy the base.html to a new local template with no modifications and point a page to it using YML metadata. There, it adds a duplicate link for the active page and url for the duplicate follows the same pattern. I figured out a workaround for that issue by hiding label.md-nav__link--active
in a style sheet.
I'm running theme v3.0.3 & mkdocs v1.0.2
Is this really a theme issue or related to MkDocs? Could you try and check if this also happens with the default MkDocs theme? If it doesn't, please create a new issue with everything that is needed to reproduce it.
After I posted this, I started investigating just that. Go ahead and close this back up and I'll open a new issue if needed.
Description
The buttons at the bottom for previous and next article bow do not work with mkdocs, version 1.0.2
Expected behavior
We expect the generated URL to be collected from the YAML file Nav: list. This was working correctly but now does not
Actual behavior
What actually occurs is a mixup of the current URL and the URL collected from the YAML file Nav: list.
Steps to reproduce the bug
Try this on any YAML setup that was previously working and you will see that it now does not function correctly
Package versions
python Python 3.7.0 & Python 2.7.15
mkdocs version 1.0.2
Version: 3.0.3
Project configuration
System information