Crate forge_doc

Source
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ยง

Constantsยง

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ยง