summaryrefslogtreecommitdiff
path: root/docs/doxygen/swig_doc.py
diff options
context:
space:
mode:
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 = []