[glib/cherry-pick-6ea0dcc6] doc: Add missing --ignore-decorators



commit 7b65b77a65ab07a56ebbbf91e931a177fc82291e
Author: Xavier Claessens <xavier claessens collabora com>
Date:   Tue Jul 9 12:26:38 2019 +0000

    doc: Add missing --ignore-decorators
    
    
    (cherry picked from commit 6ea0dcc6c9af0c0e8cfebc77412838f5174b7dbc)

 docs/reference/meson.build | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)
---
diff --git a/docs/reference/meson.build b/docs/reference/meson.build
index 18999a3f3..042357672 100644
--- a/docs/reference/meson.build
+++ b/docs/reference/meson.build
@@ -19,9 +19,24 @@ ignore_decorators = [
 
 foreach version : stable_2_series_versions
   ignore_decorators += [
+    # Note that gtkdoc is going to use those in regex, and the longest match
+    # must come first. That's why '_FOR()' variant comes first.
+    # gtkdoc special-case '()' and replace it by a regex matching a symbol name.
     'GLIB_AVAILABLE_IN_2_' + version,
+    'GLIB_DEPRECATED_IN_2_' + version + '_FOR()',
     'GLIB_DEPRECATED_IN_2_' + version,
-    'GLIB_DEPRECATED_IN_2_' + version + '_FOR',
+
+    'GLIB_AVAILABLE_ENUMERATOR_IN_2_' + version,
+    'GLIB_DEPRECATED_ENUMERATOR_IN_2_' + version + '_FOR()',
+    'GLIB_DEPRECATED_ENUMERATOR_IN_2_' + version,
+
+    'GLIB_AVAILABLE_MACRO_IN_2_' + version,
+    'GLIB_DEPRECATED_MACRO_IN_2_' + version + '_FOR()',
+    'GLIB_DEPRECATED_MACRO_IN_2_' + version,
+
+    'GLIB_AVAILABLE_TYPE_IN_2_' + version,
+    'GLIB_DEPRECATED_TYPE_IN_2_' + version + '_FOR()',
+    'GLIB_DEPRECATED_TYPE_IN_2_' + version,
   ]
 endforeach
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]