diff options
Diffstat (limited to 'doc/python_api/rst')
-rw-r--r-- | doc/python_api/rst/bge.constraints.rst | 4 | ||||
-rw-r--r-- | doc/python_api/rst/bge.texture.rst | 12 | ||||
-rw-r--r-- | doc/python_api/rst/include__bmesh.rst | 2 | ||||
-rw-r--r-- | doc/python_api/rst/info_quickstart.rst | 4 |
4 files changed, 11 insertions, 11 deletions
diff --git a/doc/python_api/rst/bge.constraints.rst b/doc/python_api/rst/bge.constraints.rst index bf015057dcb..ed965c3dfc1 100644 --- a/doc/python_api/rst/bge.constraints.rst +++ b/doc/python_api/rst/bge.constraints.rst @@ -8,11 +8,11 @@ Physics Constraints (bge.constraints) Examples -------- -.. include:: ../examples/bge.constraints.py +.. include:: __/examples/bge.constraints.py :start-line: 1 :end-line: 4 -.. literalinclude:: ../examples/bge.constraints.py +.. literalinclude:: __/examples/bge.constraints.py :lines: 6- diff --git a/doc/python_api/rst/bge.texture.rst b/doc/python_api/rst/bge.texture.rst index 0c049a50fd4..f5d325f7ce8 100644 --- a/doc/python_api/rst/bge.texture.rst +++ b/doc/python_api/rst/bge.texture.rst @@ -39,26 +39,26 @@ When the texture object is deleted, the new texture is deleted and the old textu .. module:: bge.texture -.. include:: ../examples/bge.texture.py +.. include:: __/examples/bge.texture.py :start-line: 1 :end-line: 5 -.. literalinclude:: ../examples/bge.texture.py +.. literalinclude:: __/examples/bge.texture.py :lines: 7- -.. include:: ../examples/bge.texture.1.py +.. include:: __/examples/bge.texture.1.py :start-line: 1 :end-line: 6 -.. literalinclude:: ../examples/bge.texture.1.py +.. literalinclude:: __/examples/bge.texture.1.py :lines: 8- -.. include:: ../examples/bge.texture.2.py +.. include:: __/examples/bge.texture.2.py :start-line: 1 :end-line: 6 -.. literalinclude:: ../examples/bge.texture.2.py +.. literalinclude:: __/examples/bge.texture.2.py :lines: 8- diff --git a/doc/python_api/rst/include__bmesh.rst b/doc/python_api/rst/include__bmesh.rst index 805d532eceb..dc43d2c016e 100644 --- a/doc/python_api/rst/include__bmesh.rst +++ b/doc/python_api/rst/include__bmesh.rst @@ -41,7 +41,7 @@ For an overview of BMesh data types and how they reference each other see: Example Script -------------- -.. literalinclude:: ../../../release/scripts/templates_py/bmesh_simple.py +.. literalinclude:: __/__/__/release/scripts/templates_py/bmesh_simple.py Stand-Alone Module diff --git a/doc/python_api/rst/info_quickstart.rst b/doc/python_api/rst/info_quickstart.rst index 1beafd06baf..f0e1bee58e7 100644 --- a/doc/python_api/rst/info_quickstart.rst +++ b/doc/python_api/rst/info_quickstart.rst @@ -305,7 +305,7 @@ In Python, this is done by defining a class, which is a subclass of an existing Example Operator ---------------- -.. literalinclude:: ../../../release/scripts/templates_py/operator_simple.py +.. literalinclude:: __/__/__/release/scripts/templates_py/operator_simple.py Once this script runs, ``SimpleOperator`` is registered with Blender and can be called from the operator search popup or added to the toolbar. @@ -336,7 +336,7 @@ Example Panel Panels register themselves as a class, like an operator. Notice the extra ``bl_`` variables used to set the context they display in. -.. literalinclude:: ../../../release/scripts/templates_py/ui_panel_simple.py +.. literalinclude:: __/__/__/release/scripts/templates_py/ui_panel_simple.py To run the script: |