Open mrmanc opened 3 years ago
I'm glad to hear you like the plugin. I can see how this behavior might cause users to accidentally hide pages.
Having an option for it makes sense and should be fairly straightforward to implement. I'll definitely make sure to have a solution for your case before removing arrange
completely.
Amazing, thanks so much 😃
Love the plugin—it was probably the killer feature that persuaded us to migrate our docs to mkdocs from Jekyll, as it was so simple for a contributor to add a page to the navigation.
I recently migrated the pages files to replace
arrange:
withnav:
as I spotted it was a deprecated syntax but failed to spot the change in functionality 🤦🏻♂️. I’ve just worked out (after spotting #20) why some pages weren’t showing, and now understand how to fix that.However, I’m worried that our contributors won’t understand that when they add a page to a folder with a
.pages
file (or when they create a.pages
file) that they need to specify explicitly where unmentioned items should sit. They aren’t familiar with how mkdocs and it’s plugins work, as we encourage all engineers across the organisation to contribute to the site.We never really want to hide pages in the navigation, and I’m conscious that the next major release will remove
arrange:
support, so I wondered if it would be possible to add plugin configuration to be able to disable this part of thenav:
functionality? I think it will save people some head-scratching in the future for sites like ours.Thanks!