typegen: add module names
This commit is contained in:
parent
43ccb1ea87
commit
b78b75f006
|
@ -107,6 +107,7 @@ hidetitle = true
|
||||||
}
|
}
|
||||||
|
|
||||||
let index = outform::ModuleIndex {
|
let index = outform::ModuleIndex {
|
||||||
|
name: module.header.name.to_string(),
|
||||||
description: module.header.description,
|
description: module.header.description,
|
||||||
details: module.details.to_string(),
|
details: module.details.to_string(),
|
||||||
};
|
};
|
||||||
|
|
|
@ -4,6 +4,7 @@ use serde::Serialize;
|
||||||
|
|
||||||
#[derive(Debug, Serialize)]
|
#[derive(Debug, Serialize)]
|
||||||
pub struct ModuleIndex {
|
pub struct ModuleIndex {
|
||||||
|
pub name: String,
|
||||||
pub description: String,
|
pub description: String,
|
||||||
pub details: String,
|
pub details: String,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue