gen-mdbook-summary

Crates.iogen-mdbook-summary
lib.rsgen-mdbook-summary
version0.0.5
sourcesrc
created_at2024-06-16 16:20:40.818212
updated_at2024-06-19 18:01:02.839102
descriptionA tool to generate SUMMARY.md for mdbook project
homepage
repositoryhttps://github.com/cncsmonster/gen-mdbook-summary
max_upload_size
id1273669
size22,540
(CNCSMonster)

documentation

README

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

Commit count: 10

cargo fmt