Skip to content

Commit

Permalink
tools/gen_cmake_doc: do not display empty parameter lists
Browse files Browse the repository at this point in the history
  • Loading branch information
dmerejkowsky committed Aug 9, 2011
1 parent 58c2f99 commit ae7edfe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/tools/gen_cmake_doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ def gen_params_rst(params):
""" Generate rst doc from a parameter
"""
if not params:
return ""

res = """**Parameters**
"""
Expand Down

0 comments on commit ae7edfe

Please sign in to comment.