Closed elapse2039 closed 1 year ago
Arh... I found the issue... in my top level .pages I had created a logical two subfolder layer structure (technical/ installation/) but there is only one subfolder layer (installation).
When I create real two-layer subfolder structure: docs/ technical/ installation/ each with their own .pages they are parsed and used.
I've spent some time reading and re-reading the documentation... and experimenting... and would appreciate any guidance on whether the following is possible...
I understand .pages can be added to docs/ or a subfolder/ in a mkdocs project. The one I create at the top level in teh docs/ folder works and can define the order of pages and include subfolders.
I think I can also include .pages in subfolders and I see they get parsed. What I can't figure out is how to include them from the top-level .pages file so that they are used to build the subfolder menu items. When I include the subfolder in the menu, I get the subfolder pages in alphabetical order. It is as if the subfolder .pages file is ignored.
Top level .pages content...
The subfolder "installation" has a .pages
What I get is the installation subfolder showing up with alphabetical list of pages.
I have also tried building a top level .pages file and have also failed to hard-code subfolder pages.
In this last example, the Building page fails to render with a 404 whether I put the installation/ subfolder or not in the .pages navigation entry.
I have also tried other flags, like hide: true in installation/ subfolder and it seems to have no effect. What am I missing or misunderstood from the documentation?
If I use "..." then subfolder pages are incorporated and work but they are in alphabetical order.