Gentoo Archives: gentoo-commits

From: "Göktürk Yüksek" <gokturk@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/devmanual:master commit in: bin/
Date: Thu, 26 Dec 2019 01:56:59
Message-Id: 1577320221.3d16b1e4ad1ec151916d4e1ce78596cafe6dbca1.gokturk@gentoo
1 commit: 3d16b1e4ad1ec151916d4e1ce78596cafe6dbca1
2 Author: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 26 00:30:21 2019 +0000
4 Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 26 00:30:21 2019 +0000
6 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=3d16b1e4
7
8 bin/build_search_documents.py: recurse down <ul/> and <li/>
9
10 Signed-off-by: Göktürk Yüksek <gokturk <AT> gentoo.org>
11
12 bin/build_search_documents.py | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15 diff --git a/bin/build_search_documents.py b/bin/build_search_documents.py
16 index 37b6af9..d6b75ff 100755
17 --- a/bin/build_search_documents.py
18 +++ b/bin/build_search_documents.py
19 @@ -77,7 +77,7 @@ def process_node(documents: list, node: ET.Element, name: str, url: str) -> None
20
21 for child in node:
22 process_node(documents, child, name, url)
23 - elif node.tag in ['body', 'guide']:
24 + elif node.tag in ['body', 'guide', 'li', 'ul']:
25 for child in node:
26 process_node(documents, child, name, url)
27 elif node.tag in ['p', 'important', 'note', 'warning']: