The docs.json format was changed in typst/typst#7011, which has just been merged.
- The fields
details: Html and example: Option<Html> of FuncModel/ParamModel are combined into a new field details: Vec<DetailsBlock>.
Example can 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.
The
docs.jsonformat was changed in typst/typst#7011, which has just been merged.details: Htmlandexample: Option<Html>ofFuncModel/ParamModelare combined into a new fielddetails: Vec<DetailsBlock>.Examplecan have an optional title now.Update: https://github.com/typst-community/dev-builds/releases/tag/docs-v0.14.0-rc.1 is ready now.