#mdbook #summary #md #generate #file #tool #ignore

app gen-mdbook-summary

A tool to generate SUMMARY.md for mdbook project

6 releases

0.0.5 Jun 19, 2024
0.0.4 Jun 19, 2024

#303 in Text processing

Download history 5/week @ 2024-07-21 14/week @ 2024-07-28 4/week @ 2024-09-15 7/week @ 2024-09-22 1/week @ 2024-09-29

168 downloads per month

MIT license

9KB
193 lines

gen-mdbook-summary

Description

This is a simple tool to generate a SUMMARY.md file for a mdBook project.

Installation and Usage

quick start:

# install the tool
cargo install gen-mdbook-summary
# create a mdbook project
mkdir my-mdbook && cd my-mdbook && mdbook init
# create a ignore file for gen-mdbook-summary
echo "**/readme.md" > mdbook.ignore
# generate a summary file
gms -d src -o src/SUMMARY.md
# serve the mdbook,and then visit http://localhost:3000
mdbook serve

for more usage, please check the help message:

gms --help

and the examples directory.

License

LICENSE

Dependencies

~5–13MB
~160K SLoC