Closed pawamoy closed 2 years ago
Seems fully correct actually, the only thing I'd guess is that section-index plugin isn't actually running.
In any case, to exclude mystery about gen-files from the equation, please simply run the generator script directly. Then you see its output for real.
The only other thing -- please share your mkdocs.yml and I'll be able to check this in an hour
Oh damn... The section-index plugin is not listed in my mkdocs config, nor my deps... Thanks for your help 🙇
Hello @oprypin, hope you're doing well :slightly_smiling_face:
I'm trying to generate a nav with gen-files, to be used by literate-nav, with a section index. Is it possible? What is the gen-files equivalent of this nav?
I'm currently trying this:
But it gives me this nav:
...and prints this to stdout:
I tried replacing the
__init__.md
filenames byindex.md
, but it gives the same result with "Index" in the nav instead of "init".