summaryrefslogtreecommitdiff
path: root/docs/doxygen/swig_doc.py
diff options
context:
space:
mode:
authorBen Reynwar <ben@reynwar.net>2013-04-07 21:00:28 -0700
committerBen Reynwar <ben@reynwar.net>2013-04-07 21:00:28 -0700
commitb3020389cf499b09724c4b6bfe5929980b6f24eb (patch)
treefe64733f8612dcc9ce59329119cbb7b8ee8bb098 /docs/doxygen/swig_doc.py
parent0d42ddd57121808d917769755508866aad19b359 (diff)
docstrings: Include class documentation into SWIGed make function's docstrings.
Diffstat (limited to 'docs/doxygen/swig_doc.py')
-rw-r--r--docs/doxygen/swig_doc.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/doxygen/swig_doc.py b/docs/doxygen/swig_doc.py
index f24608b3ee..2326f0e5bd 100644
--- a/docs/doxygen/swig_doc.py
+++ b/docs/doxygen/swig_doc.py
@@ -218,8 +218,10 @@ def make_block2_entry(di, block):
descriptions = []
# For new style blocks all the relevant documentation should be
# associated with the 'make' method.
+ class_description = combine_descriptions(block)
make_func = block.get_member('make', DoxyFunction)
- description = combine_descriptions(make_func)
+ make_description = combine_descriptions(make_func)
+ description = class_description + "\n\n" + make_description
# Associate the combined description with the class and
# the make function.
output = []