Salome HOME
Merge remote-tracking branch 'origin/ngo/Lot5'
[modules/shaper.git] / src / PythonAPI / doc / source / index.rst
index ef5dc2733894d7aa7e13a71f259d261231f38a9a..5140367bded9cac7d80db84167f6fa03f27c2184 100644 (file)
@@ -9,7 +9,7 @@ models through python scripts:
 
 * a "parametric" API, which is very close to what is done
   in the graphical interface and allows you to recalculate a model
-  when a parameter is changed 
+  when a parameter is changed
 
 Parametric API
 --------------
@@ -19,7 +19,7 @@ with the parametric API will typically begin with a code like below:
 
 .. doctest:: 
 
-   >>> import model
+   >>> from salome.shaper import model
    >>> model.begin()
    >>> partset = model.moduleDocument()
    >>> part = model.addPart(partset).document()
@@ -31,16 +31,15 @@ Features
 ........
 
 This API provides functions for creating the features listed below.
-These functions return an interface to the feature that allow 
+These functions return an interface to the feature that allow
 to modify the feature and retrieve data from it.
 
 .. toctree::
    :maxdepth: 1
+   :glob:
 
    sketcher
-   extrusion
-
-
+   model/*
 
 Indices and tables
 ==================