-
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
Ordering breaks when rest pattern is used in mkdocs > nav #86
Comments
The |
For me But putting the nav into nav:
- Home: index.md
- Documentation:
- Main: documentation/main.md
- Systems:
- ... | documentation/*
- Plugins: documentation/plugins.md
- Extras: extras.md resulting sidebar
|
This would be a lot easier if you would use two |
For me Also my example nav isn't completely accurate, it is more something like this: nav:
- Home: index.md
- Documentation:
- Main: documentation/main.md
- Systems:
- ... | documentation/systems/*
- Plugins: documentation/plugins.md
- ... | other/*
- Extras: extras.md But now that I have added the I haven't yet tried using multiple Since the issue topic has moved from rest filter patterns (though I don't really know why it didn't work within the |
Sure The ordering being off likely means that the plugin is not doing anything at all for some reason. But feel free to rename the issue - I don't really mind. Without all the information it's hard to diagnose what's happening. Could you send me a full example to reproduce your problem? |
Here is a reproduction example: https://github.com/ketrab2004/awesome-pages-issue-repro It does use the section/page name and the rest filter pattern correctly, only the ordering is incorrect. |
Thanks for the example! There is a strange interaction between defining the navigation in
nav:
- index.md
- documentation
- other.md
- extras
nav:
- Main: main.md
- systems
- Plugins: plugins.md |
I work on a small project so I only want a single
.pages
file to control the entire structure of the site.But that isn't really possible with this issue, when you use folders.
Example file structure:
.pages
Here the
Documentation
>Systems
sidebar item has nothing under it. Clicking on it just links to the root.When I change the pattern to be regex it also doesn't work.
The text was updated successfully, but these errors were encountered: