#documentation-generator #mdbook #documentation #gamedev #bevy #scripting

bin+lib mdbook_lad_preprocessor

Language Agnostic Declaration (LAD) file format for the bevy_mod_scripting crate

8 releases

new 0.1.7 Apr 20, 2025
0.1.6 Mar 29, 2025
0.1.3 Feb 28, 2025

#1384 in Game dev

Download history 54/week @ 2025-02-09 83/week @ 2025-02-16 420/week @ 2025-02-23 91/week @ 2025-03-02 16/week @ 2025-03-09 145/week @ 2025-03-16 143/week @ 2025-03-23 166/week @ 2025-03-30 16/week @ 2025-04-06

472 downloads per month

MIT/Apache

98KB
2K SLoC

The library crate for the mdbook LAD preprocessor.


LAD Preprocessor for mdbook

This is a preprocessor for mdbook that allows you to include LAD files in your markdown files.

Usage

Add the following to your book.toml:

[preprocessor.lad_preprocessor]

Then any files with the .lad.json extension will be processed by the preprocessor.

So for example if you have the following structure:

- [Normal file](normal_file.md)
- [LAD file](lad_file.lad.json)

The lad_file.lad.json will be processed by the preprocessor, and appropriate nested markdown will be generated from there on out using the LAD file chapter as the parent page.

If the file is not found

Dependencies

~13–25MB
~385K SLoC