[gtk-doc/gtk-doc-for-gtk4: 19/25] 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: 19/25] Better index entries for actions
- Date: Thu, 1 Oct 2020 18:57:43 +0000 (UTC)
commit 72296f99570dc582fa73dcba6b0931292b8d85cd
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 f32fb1fe..9a68da4f 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]