From 82b121ec70f0fc5064a52195f287f2d481c27d96 Mon Sep 17 00:00:00 2001 From: Artem Zhidkov Date: Wed, 15 Jul 2020 23:00:23 +0300 Subject: [PATCH] Fix documentation warnings. --- src/FeaturesPlugin/doc/fillet1dFeature.rst | 16 ++++++++-------- src/SketchPlugin/doc/TUI_curvefitting.rst | 4 ++-- src/SketchPlugin/doc/curveFittingFeature.rst | 4 ++-- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/FeaturesPlugin/doc/fillet1dFeature.rst b/src/FeaturesPlugin/doc/fillet1dFeature.rst index a3d18cf24..af9eaf2ea 100644 --- a/src/FeaturesPlugin/doc/fillet1dFeature.rst +++ b/src/FeaturesPlugin/doc/fillet1dFeature.rst @@ -45,11 +45,11 @@ Input fields: **TUI Command**: -.. py:function:: model.addFillet(Part_doc, [wires], radius) +.. py:function:: model.addFillet(Part_doc, wires, radius) - :param part: The current part object. - :param list: A list of wires subject to fillet operation in format *model.selection(TYPE, shape)*. - :param number: Radius value. + :param document Part_doc: The current part object. + :param list wires: A list of wires subject to fillet operation in format *model.selection(TYPE, shape)*. + :param double radius: Radius value. :return: Created object. Result @@ -83,12 +83,12 @@ Input fields: **TUI Command**: -.. py:function:: model.addFillet(Part_doc, [vertices], radius) +.. py:function:: model.addFillet(Part_doc, vertices, radius) :noindex: - :param part: The current part object. - :param list: A list of vertices subject to fillet operation in format *model.selection(TYPE, shape)*. - :param number: Radius value. + :param document Part_doc: The current part object. + :param list vertices: A list of vertices subject to fillet operation in format *model.selection(TYPE, shape)*. + :param double radius: Radius value. :return: Created object. Result diff --git a/src/SketchPlugin/doc/TUI_curvefitting.rst b/src/SketchPlugin/doc/TUI_curvefitting.rst index 1c71914a4..8e4c0e0bc 100644 --- a/src/SketchPlugin/doc/TUI_curvefitting.rst +++ b/src/SketchPlugin/doc/TUI_curvefitting.rst @@ -1,5 +1,5 @@ - .. _tui_create_interpolation: + .. _tui_create_sketch_interpolation: Create interpolation curve ========================== @@ -11,7 +11,7 @@ Create interpolation curve :download:`Download this script ` - .. _tui_create_approximation: + .. _tui_create_sketch_approximation: Create approximation curve ========================== diff --git a/src/SketchPlugin/doc/curveFittingFeature.rst b/src/SketchPlugin/doc/curveFittingFeature.rst index 11376117b..b339b4ffd 100644 --- a/src/SketchPlugin/doc/curveFittingFeature.rst +++ b/src/SketchPlugin/doc/curveFittingFeature.rst @@ -52,7 +52,7 @@ The created B-spline curve appears in the view. .. centered:: Interpolation curve (non-closed, periodic and closed) -**See Also** a sample TUI Script of :ref:`tui_create_interpolation` operation. +**See Also** a sample TUI Script of :ref:`tui_create_sketch_interpolation` operation. Approximation @@ -86,4 +86,4 @@ The created B-spline curve appears in the view. .. centered:: Approximated curve (non-closed, periodic and closed) -**See Also** a sample TUI Script of :ref:`tui_create_approximation` operation. +**See Also** a sample TUI Script of :ref:`tui_create_sketch_approximation` operation. -- 2.39.2