Closed vicaya closed 4 years ago
+1 on this
+1 :). Helps to separate content (nav
) from config (rest of mkdocs.yml
). Ideally I would just copy/paste the nav
section to .pages
+1
Hi everyone! I've just released v2.3.0 which brings the nav
attribute to the .pages
file. Like you've suggested, it works the same way as the one from mkdocs.yml
, allowing you to specify titles, add links and more. See the updated README for details.
Awesome, thanks!
.pages.arrange
is a convenient layout overriding mechanism. It'd be great if you can make it work a little more like the nav directive. e.g.The first form (
<title>: <file.md>
) is identical to nav. The second form would save us from having to create a .pages file with a title directive just to override the directory title.