diff options
Diffstat (limited to 'bin/build_search_documents.py')
-rwxr-xr-x | bin/build_search_documents.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/build_search_documents.py b/bin/build_search_documents.py index d6b75ff..1aac495 100755 --- a/bin/build_search_documents.py +++ b/bin/build_search_documents.py @@ -77,10 +77,10 @@ def process_node(documents: list, node: ET.Element, name: str, url: str) -> None for child in node: process_node(documents, child, name, url) - elif node.tag in ['body', 'guide', 'li', 'ul']: + elif node.tag in ['body', 'guide', 'li', 'ul', 'table', 'tr']: for child in node: process_node(documents, child, name, url) - elif node.tag in ['p', 'important', 'note', 'warning']: + elif node.tag in ['p', 'important', 'note', 'warning', 'th', 'ti']: text = stringify_node(node) documents.append({'id': len(documents), |