This is a mdbook
preprocessor that will walk a specified base path and add all
the markdowns to your mdbook
. This is pretty naive and will probably work best
for smaller projects but feel free to give it a go for any folder structure!
The preprocessor can be configured with the following settings:
```toml [preprocessor.all-the-markdowns]
section_title = "Auto generated"
base = "./examples/example-folder"
ignore = [] ```
Given the following folder structure:
sh
.
├── my-libraries
│ └── lib-biz
│ ├── INSTALLATION.md
│ ├── README.md
│ ├── sub-lib-a
│ │ └── README.md
│ └── sub-lib-b
│ └── README.md
└── my-services
├── service-bar
│ └── README.md
└── service-foo
└── README.md
Based on the title in each document, combined with the folder names as title case, the preprocessor would render the following:
You can test rendering any of the example folders in this directory with the
book found in examples/book1
with mdbook serve examples/book1
.