diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-05-17 14:39:47 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-05-17 14:39:47 +0200 |
| commit | 46aace78ac4ac1c075b9b1670dbb7372df1a0a82 (patch) | |
| tree | e093f81284ffc6a5150a18bdd338da75c368120c /docs | |
| parent | 42afa410ae561eb5b267080d088bca529a5d0b54 (diff) | |
Search keywords
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/src/lib.rs b/docs/src/lib.rs index 30501e22..2a7b7c5f 100644 --- a/docs/src/lib.rs +++ b/docs/src/lib.rs @@ -359,6 +359,7 @@ fn category_outline(kind: &str) -> Vec<OutlineItem> { pub struct FuncModel { pub path: Vec<&'static str>, pub display: &'static str, + pub keywords: Option<&'static str>, pub oneliner: &'static str, pub element: bool, pub details: Html, @@ -431,6 +432,7 @@ fn func_model( FuncModel { path, display: info.display, + keywords: info.keywords, oneliner: oneliner(docs), element: func.element().is_some(), details: Html::markdown_with_id_base(resolver, docs, id_base), |
