summaryrefslogtreecommitdiff
path: root/giscanner/ast.py
diff options
context:
space:
mode:
authorCorentin Noël <tintou@noel.tf>2023-04-29 23:18:31 +0200
committerCorentin Noël <tintou@noel.tf>2023-04-29 23:25:36 +0200
commitb99435279a281f2c541100b693c96e67d6c1bd62 (patch)
tree804748ffd7a2e609689000996144c84f713a241f /giscanner/ast.py
parentf9b412e96d5618894158284289cf2a3fe6e7cbfd (diff)
downloadgobject-introspection-b99435279a281f2c541100b693c96e67d6c1bd62.tar.gz
Allow to specify the format of the documentationtintou/doc-format
Helps the consumers of the documentation to assume that the documentation is using gtk-doc format or gi-docgen.
Diffstat (limited to 'giscanner/ast.py')
-rw-r--r--giscanner/ast.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/giscanner/ast.py b/giscanner/ast.py
index ad94f437..be8e1e01 100644
--- a/giscanner/ast.py
+++ b/giscanner/ast.py
@@ -402,6 +402,7 @@ class Namespace(object):
self.shared_libraries = [] # str
self.c_includes = [] # str
self.exported_packages = [] # str
+ self.doc_format = None
def type_from_name(self, name, ctype=None):
"""Backwards compatibility method for older .gir files, which