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.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/docs/doxygen/swig_doc.py b/docs/doxygen/swig_doc.py
index f24608b3ee..da104a2e00 100644
--- a/docs/doxygen/swig_doc.py
+++ b/docs/doxygen/swig_doc.py
@@ -218,14 +218,16 @@ 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\nConstructor Specific Documentation:\n\n" + make_description
# Associate the combined description with the class and
# the make function.
output = []
- #output.append(make_class_entry(
- # block, description=description,
- # ignored_methods=['make'], params=make_func.params))
+ output.append(make_class_entry(
+ block, description=description,
+ ignored_methods=['make'], params=make_func.params))
makename = block.name() + '::make'
output.append(make_func_entry(
make_func, name=makename, description=description,