Expand description
Types supporting documentation for code written in or for Starlark.
Re-exports§
pub use markdown::MarkdownFlavor;
pub use markdown::RenderMarkdown;
Modules§
Structs§
- The main structure that represents the documentation for a given symbol / module.
- Documents a single function.
- Documents a full module.
- An object with named functions/properties.
- A single property of an object. These are explicitly not functions (see
DocMember
). - Details about the return value of a function.
- The documentation provided by a user for a specific module, object, function, etc.
- The main identifier for a symbol.
- The file a symbol resides in, and if available its location within that file.
Enums§
- A named member of an object.
- A single parameter of a function.
- Controls the formatting to use when parsing
DocString
s from raw docstrings
Functions§
- Get documentation for all items registered with
#[derive(StarlarkDocs)]
- Render a series of
Doc
objects into a “starlark” file.
Derive Macros§
- Generate an accessor function on the provided type that returns its documentation based on
StarlarkValue::get_methods()
. This macro requires that the type implementsstarlark::StarlarkValue
.