Open eXpl0it3r opened 3 months ago
+1 for this question
I don't think so, as the navigation and meta gathering are processed recursively, so .pages
files should only have access to files on their own recursion level 🤔
@kamilkrzyskow is there a workaround for it?
@k3yss I'm not sure what are your requirements. Why can't you simply create a .pages
in the tutorials
subdirectory that sets its own navigation structure to show 2.6
based on the example above?
If tutorials
has exactly one navigation item then you can use collapse: true
in the tutorials/.pages
file to remove the Tutorials
parent section and keep only 2.6
.
Am I understanding this correctly, that sub-subdirectories are not supported?
For example I'd have the structure:
How would I address the
2.6
directory?If I write something like the following, mkdocs just crashes:
Using just a subdirectory works: