Skip to content

InlineDoc

An inline documentation component for attribute docstrings. Unlike PyDoc, this doesn’t add a trailing line break after the closing quotes, which is appropriate for documenting consecutive attributes like enum members.

import { InlineDoc } from "@alloy-js/python";
<InlineDoc >
{children}
</InlineDoc>
childrenChildren