Expand description
Types supporting documentation for code written in or for Starlark.
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 type of a given parameter, field, etc.
- The main identifier for a symbol.
- The file a symbol resides in, and if available its location within that file.
- Line / column for where in a file a symbol is.
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 - The style of output that is being generated
Traits
- This object can potentially generate markdown documentation about itself.
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
.