[gobject-introspection/gir-docbook] [docbook] only show Class Record and Interface at the top level
- From: Laszlo Pandy <lpandy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection/gir-docbook] [docbook] only show Class Record and Interface at the top level
- Date: Thu, 11 Aug 2011 10:41:31 +0000 (UTC)
commit d03f459e8bfe926760f4ca5d645057808f79afe5
Author: Laszlo Pandy <lpandy src gnome org>
Date: Thu Aug 11 11:27:11 2011 +0200
[docbook] only show Class Record and Interface at the top level
giscanner/docbookwriter.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/giscanner/docbookwriter.py b/giscanner/docbookwriter.py
index 8e38ec4..7238595 100644
--- a/giscanner/docbookwriter.py
+++ b/giscanner/docbookwriter.py
@@ -167,7 +167,8 @@ class DocBookWriter(object):
self._formatter.set_namespace(self._namespace)
for name, node in self._namespace.iteritems():
- self._add_node(node, name)
+ if isinstance(node, (ast.Class, ast.Record, ast.Interface)):
+ self._add_node(node, name)
def _add_node(self, node, name):
page = DocBookPage(name, node.doc)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]