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. - Section
Number - A section number like “1.2.3”, basically just a newtype’d
Vec<u32>with a prettyDisplayimpl. - Summary
- The parsed
SUMMARY.md, specifying how the book should be laid out.
Enums§
- Summary
Item - An item in
SUMMARY.md.
Functions§
- parse_
summary - Parse the text from a
SUMMARY.mdfile into a sort of “recipe” to be used when loading a book from disk.