[gtk-doc/gtk-doc-for-gtk4: 18/23] Better index entries for actions
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-doc/gtk-doc-for-gtk4: 18/23] Better index entries for actions
- Date: Sat, 11 Apr 2020 03:03:07 +0000 (UTC)
commit 56d486ef1aecdc9226f1dfaf9b8d041c12b14528
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Jun 23 04:44:17 2019 +0000
Better index entries for actions
gtkdoc/mkdb.py | 13 +++++++++++++
1 file changed, 13 insertions(+)
---
diff --git a/gtkdoc/mkdb.py b/gtkdoc/mkdb.py
index f32fb1f..9a68da4 100644
--- a/gtkdoc/mkdb.py
+++ b/gtkdoc/mkdb.py
@@ -943,6 +943,7 @@ def OutputIndex(basename, apiindex):
logging.info("trying symbol %s", symbol)
m1 = re.search(r'(.*)::(.*)', symbol)
m2 = re.search(r'(.*):(.*)', symbol)
+ m3 = re.search(r'(.*)\|(.*)', symbol)
if m1:
oname = m1.group(1)
osym = m1.group(2)
@@ -967,6 +968,18 @@ def OutputIndex(basename, apiindex):
symbol_section = SymbolSection[oname]
symbol_section_id = SymbolSectionId[oname]
break
+ elif m3:
+ oname = m3.group(1)
+ osym = m3.group(2)
+ logging.info(" trying action %s|%s in %d actions", oname, osym, len(ActionNames))
+ for name in ActionNames:
+ logging.info(" " + name)
+ if name == osym:
+ symbol_type = "action"
+ if oname in SymbolSection:
+ symbol_section = SymbolSection[oname]
+ symbol_section_id = SymbolSectionId[oname]
+ break
else:
if symbol in SymbolSection:
symbol_section = SymbolSection[symbol]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]