-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Description
The docs.json format was changed in typst/typst#7011, which has just been merged.
- The fields
details: Htmlandexample: Option<Html>ofFuncModel/ParamModelare combined into a new fielddetails: Vec<DetailsBlock>. Examplecan have an optional title now.
/// A block-level segment in a function's or parameters documentation.
#[derive(Debug, Serialize)]
#[serde(rename_all = "camelCase")]
#[serde(tag = "kind", content = "content")]
pub enum DetailsBlock {
/// A block of HTML.
Html(Html),
/// An example with an optional title.
Example { body: Html, title: Option<EcoString> },
}Update: https://github.com/typst-community/dev-builds/releases/tag/docs-v0.14.0-rc.1 is ready now.
3w36zj6
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request