Crate mdbook_summary

Crate mdbook_summary 

Source
Expand description

Summary parser for mdBook.

This is used to parse the SUMMARY.md file structure for mdBook.

Structs§

Link
A struct representing an entry in the SUMMARY.md, possibly with nested entries.
SectionNumber
A section number like “1.2.3”, basically just a newtype’d Vec<u32> with a pretty Display impl.
Summary
The parsed SUMMARY.md, specifying how the book should be laid out.

Enums§

SummaryItem
An item in SUMMARY.md.

Functions§

parse_summary
Parse the text from a SUMMARY.md file into a sort of “recipe” to be used when loading a book from disk.