Salome HOME
bos #23972 [CEA 19980] sphinxcontrib_napoleon is not needed with Sphinx >= 1.3
[modules/smesh.git] / doc / salome / gui / SMESH / collect_mesh_methods.py
index 99457030cadf117e8f93bf95da567a33a5f7d44c..5d47130f70c5bb3d3df822ed4c6147d31a79ea93 100755 (executable)
@@ -1,5 +1,5 @@
 #!/usr/bin/env python3
-# Copyright (C) 2012-2016  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2012-2020  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
@@ -127,7 +127,7 @@ def main(plugin_name, dummymeshhelp = True, output_file = "smeshBuilder.py", for
                     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( " #" )
@@ -184,8 +184,8 @@ if __name__ == "__main__":
                       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)