#!/usr/bin/env python3
-# Copyright (C) 2012-2016 CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2012-2021 CEA/DEN, EDF R&D, OPEN CASCADE
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
if hasattr( algo, "docHelper" ): docHelper = getattr( algo, "docHelper" )
if docHelper: break
pass
- if not docHelper: docHelper = "Creates new algorithm."
+ if not docHelper: docHelper = "Create new algorithm."
if format == "doxygen":
output.append( " ## %s" % docHelper )
output.append( " #" )
action="store_true", default=False,
help=h)
h = "Format of the documentation strings in the output file. Possible values are: "
- h+= "'doxygen' - documentation strings are generated in the doxygen format, before a method defenition."
- h+= "'sphinx' - documentation strings are generated in the sphinx format, after a method defenition."
+ h+= "'doxygen' - documentation strings are generated in the doxygen format, before a method definition."
+ h+= "'sphinx' - documentation strings are generated in the sphinx format, after a method definition."
parser.add_argument("-f", "--format", dest="format",
action="store", default="doxygen", help=h)