Expand description
The module for generating Solidity documentation.
See DocBuilder
.
Re-exportsยง
pub use mdbook;
Modulesยง
- builder ๐
- document ๐
- Parser error.
- helpers ๐
- parser ๐The parser module.
- preprocessor ๐Module containing documentation preprocessors.
- writer ๐The module for writing and formatting various parse tree items.
Structsยง
- The buffered writer. Writes various display items into the internal buffer.
- The natspec documentation comment.
- The collection of natspec Comment items.
- The collection of references to natspec Comment items.
- The contract inheritance preprocessor.
- A contract deployment.
- The deployments preprocessor.
- Build Solidity documentation for a project from natspec comments. The builder parses the source files using Parser, then formats and writes the elements as the output.
- The wrapper around the ParseItem containing additional information the original item and extra context for outputting it.
- The git source preprocessor.
- The infer hyperlinks preprocessor tries to map @dev tags to referenced items Traverses the documents and attempts to find referenced items comments for dev comment tags.
- The inheritdoc preprocessor. Traverses the documents and attempts to find inherited comments for inheritdoc comment tags.
- The parsed item.
- The documentation parser. This type implements a [Visitor] trait.
- The preprocessor id.
Enumsยง
- The natspec comment tag explaining the purpose of the comment. See: https://docs.soliditylang.org/en/v0.8.17/natspec-format.html#tags.
- The markdown format.
- A wrapper type around pt token.
- Preprocessor output. Wraps all existing preprocessor outputs in a single abstraction.
Constantsยง
- ContractInheritance preprocessor id.
- Deployments preprocessor id.
- GitSource preprocessor id.
- InferInlineHyperlinks preprocessor id.
Inheritdoc
preprocessor ID.
Traitsยง
- A trait for formatting a parse unit as documentation.
- Trait for preprocessing and/or modifying existing documents before writing the to disk.
Type Aliasesยง
- The result of
AsDoc::as_doc
.