|
@@ -24,6 +24,7 @@ def build_search_index() -> None:
|
|
{
|
|
{
|
|
'title': f'{documentation.heading.replace("*", "")}: {part.title}',
|
|
'title': f'{documentation.heading.replace("*", "")}: {part.title}',
|
|
'content': part.description or '',
|
|
'content': part.description or '',
|
|
|
|
+ 'format': part.description_format,
|
|
'url': f'/documentation/{documentation.name}#{part.link_target}',
|
|
'url': f'/documentation/{documentation.name}#{part.link_target}',
|
|
}
|
|
}
|
|
for documentation in registry.values()
|
|
for documentation in registry.values()
|
|
@@ -33,6 +34,7 @@ def build_search_index() -> None:
|
|
{
|
|
{
|
|
'title': f'Example: {example.title}',
|
|
'title': f'Example: {example.title}',
|
|
'content': example.description,
|
|
'content': example.description,
|
|
|
|
+ 'format': 'md',
|
|
'url': example.url,
|
|
'url': example.url,
|
|
}
|
|
}
|
|
for example in examples
|
|
for example in examples
|