diff --git a/typegen/src/main.rs b/typegen/src/main.rs index d1736ab..a14255c 100644 --- a/typegen/src/main.rs +++ b/typegen/src/main.rs @@ -107,6 +107,7 @@ hidetitle = true } let index = outform::ModuleIndex { + name: module.header.name.to_string(), description: module.header.description, details: module.details.to_string(), }; diff --git a/typegen/src/outform.rs b/typegen/src/outform.rs index 185cc5b..a7910f6 100644 --- a/typegen/src/outform.rs +++ b/typegen/src/outform.rs @@ -4,6 +4,7 @@ use serde::Serialize; #[derive(Debug, Serialize)] pub struct ModuleIndex { + pub name: String, pub description: String, pub details: String, }