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
Awesome pages doesn't respect specified file order over ...
pattern
#55
Comments
This is a consequence of how MkDocs sorts files/pages. They are compared character by character, without any kind of special handling for (multi digit) numbers. So when the second Explicitly putting An alternative solution would be to add zeroes to the filenames: |
Yeah... That doesn't work for some reason |
But the |
Idk. |
Okay, I've looked at your repo. The file needs to be called You're not the first person to run into this, so I might change it so it also works with an extension... |
Strangely enough did it not work when I had only It's rather strange. And personally should it just use extensions, because of other things like syntax highlighting in text editors... |
In hindsight I agree, having a file extension makes more sense... I'll see that I can enable support for In the meantime, you can customize the |
I for now changed the filenames and the nav is working as it should, thanks |
I host a website listing sounds enum names for the SpigotMC project.
Now I want to use Awesome pages to not have to update all pages every time a new update releases, but I encounter a rather strange issue, where the order of the pages in the navigation is completely out of order.
My intended order is:
but the order as of now is
and I'm not sure if this is now caused by awesome pages, the Material theme or even MkDocs itself.
I tried to force awesome pages to put the 1.8 and 1.9 pages before everything else using
but the order stays unaffected. The file names are correct.
Any idea what the issue is and how I could solve it?
The text was updated successfully, but these errors were encountered: