Crate sphinx_rustdocgen

source ·
Expand description

Library for the docextractor executable.

It consists of functions to extract content from the AST and to write the content to an RST or MD file. The crate is tested on itself, so all the documentation in the crate is in RST. The tests for Markdown are done on the dependencies.

Macros§

  • Check the options to determine if the visibility of a directive matches the specified max visibility and return empty Vec if not.
  • DRY macro to check which visibility value to pass to inner items.

Structs§

Functions§

  • Traverse the crate and extract the docstrings for the items.