Skip to content

Releases: mysiki/mkdocs_include_dir_to_nav

V1.2.0

01 Mar 09:02
Compare
Choose a tag to compare

1.2.0

  • Add options in order to not include emtpy dir (default false - include_empty_dir)

v1.1.0

12 Oct 14:05
Compare
Choose a tag to compare
  • Add sort options
  • Fix potential bug

v1.0.0

07 Sep 23:01
Compare
Choose a tag to compare

How I can include all directory in mkdocs navigation ? Use this plugin 👍

This is a plugin that fetch navigation menu (in mkdocs.yaml) and replace directory by files. Mkdocs, do not expand folder, this do.

Modification are make 'on the fly' during Build ou Serve, your mkdocs.yaml file will not be modified.

Features :

  • Scan navigation for replace folder to all sub file
  • Recurcive scan into folder
  • Accept all classic mkdocs file type (direct reference, reference with title ...)
  • Convert sub folder to section
  • Options :
    • flat : Disable sub folder as section
    • file_name_as_title : Usine file name as title instead of let mkdocs detect H1 balise in file
    • recurse : disabled nested search in folder
    • file_pattern : Regex for select markdown file (default '.*\.md$')