Skip to main content

asciidoc_parser/document/
mod.rs

1//! Describes the top-level document structure.
2
3mod attribute;
4pub use attribute::{Attribute, InterpretedValue};
5
6mod author;
7pub use author::Author;
8pub(crate) use author::matches_author_pattern;
9
10mod author_line;
11pub use author_line::{AuthorLine, Authors};
12
13mod catalog;
14pub(crate) use catalog::DuplicateIdError;
15pub use catalog::{Catalog, Footnote, ImageReference, RefEntry, RefType};
16
17mod docinfo;
18pub(crate) use docinfo::Docinfo;
19pub use docinfo::DocinfoLocation;
20
21mod document;
22#[cfg(test)]
23pub(crate) use document::first_inline_candidate;
24pub use document::{Document, Warnings};
25
26mod header;
27pub use header::{Comments, Header, HeaderAttributes};
28
29mod revision_line;
30pub use revision_line::RevisionLine;
31
32mod title_refs;
33
34mod toc;
35pub(crate) use toc::TocConfig;
36pub use toc::TocMode;