[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43648] trunk/blender/doc/python_api: rst bge touch ups: making the title of the examples slightly more noticeable

Dalai Felinto dfelinto at gmail.com
Mon Jan 23 20:53:30 CET 2012


Revision: 43648
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43648
Author:   dfelinto
Date:     2012-01-23 19:53:23 +0000 (Mon, 23 Jan 2012)
Log Message:
-----------
rst bge touch ups: making the title of the examples slightly more noticeable
-  it's still not correct, comparing to the other examples, but at least it looks okish.
-  fixed some small typos

Modified Paths:
--------------
    trunk/blender/doc/python_api/examples/bge.constraints.py
    trunk/blender/doc/python_api/examples/bge.texture.1.py
    trunk/blender/doc/python_api/examples/bge.texture.py
    trunk/blender/doc/python_api/rst/bge.constraints.rst
    trunk/blender/doc/python_api/rst/bge.texture.rst
    trunk/blender/doc/python_api/rst/bge.types.rst

Modified: trunk/blender/doc/python_api/examples/bge.constraints.py
===================================================================
--- trunk/blender/doc/python_api/examples/bge.constraints.py	2012-01-23 19:42:22 UTC (rev 43647)
+++ trunk/blender/doc/python_api/examples/bge.constraints.py	2012-01-23 19:53:23 UTC (rev 43648)
@@ -1,6 +1,6 @@
 """
 Basic Physics Constraint
-++++++++++++++++++++++
+++++++++++++++++++++++++
 Example of how to create a hinge Physics Constraint between two objects.
 """
 from bge import logic

Modified: trunk/blender/doc/python_api/examples/bge.texture.1.py
===================================================================
--- trunk/blender/doc/python_api/examples/bge.texture.1.py	2012-01-23 19:42:22 UTC (rev 43647)
+++ trunk/blender/doc/python_api/examples/bge.texture.1.py	2012-01-23 19:53:23 UTC (rev 43648)
@@ -1,6 +1,6 @@
 """
-Texture replacement
-++++++++++++++++++++++
+Texture Replacement
++++++++++++++++++++
 Example of how to replace a texture in game with an external image.
 createTexture() and removeTexture() are to be called from a module Python
 Controller.

Modified: trunk/blender/doc/python_api/examples/bge.texture.py
===================================================================
--- trunk/blender/doc/python_api/examples/bge.texture.py	2012-01-23 19:42:22 UTC (rev 43647)
+++ trunk/blender/doc/python_api/examples/bge.texture.py	2012-01-23 19:53:23 UTC (rev 43648)
@@ -1,6 +1,6 @@
 """
 Basic Video Playback
-++++++++++++++++++++++
+++++++++++++++++++++
 Example of how to replace a texture in game with a video. It needs to run everyframe
 """
 import bge

Modified: trunk/blender/doc/python_api/rst/bge.constraints.rst
===================================================================
--- trunk/blender/doc/python_api/rst/bge.constraints.rst	2012-01-23 19:42:22 UTC (rev 43647)
+++ trunk/blender/doc/python_api/rst/bge.constraints.rst	2012-01-23 19:53:23 UTC (rev 43648)
@@ -5,7 +5,12 @@
 .. module:: bge.constraints
 
 .. literalinclude:: ../examples/bge.constraints.py
+   :language: rest
+   :lines: 2-4
 
+.. literalinclude:: ../examples/bge.constraints.py
+   :lines: 6-
+
 .. function:: createConstraint(physicsid, physicsid2, constrainttype, [pivotX, pivotY, pivotZ, [axisX, axisY, axisZ, [flag]]]])
 
    Creates a constraint.

Modified: trunk/blender/doc/python_api/rst/bge.texture.rst
===================================================================
--- trunk/blender/doc/python_api/rst/bge.texture.rst	2012-01-23 19:42:22 UTC (rev 43647)
+++ trunk/blender/doc/python_api/rst/bge.texture.rst	2012-01-23 19:53:23 UTC (rev 43648)
@@ -37,9 +37,19 @@
 .. module:: bge.texture
 
 .. literalinclude:: ../examples/bge.texture.py
+   :language: rest
+   :lines: 2-4
 
+.. literalinclude:: ../examples/bge.texture.py
+   :lines: 6-
+
 .. literalinclude:: ../examples/bge.texture.1.py
+   :language: rest
+   :lines: 2-6
 
+.. literalinclude:: ../examples/bge.texture.1.py
+   :lines: 8-
+
 .. class:: VideoFFmpeg(file [, capture=-1, rate=25.0, width=0, height=0])
 
    FFmpeg video source

Modified: trunk/blender/doc/python_api/rst/bge.types.rst
===================================================================
--- trunk/blender/doc/python_api/rst/bge.types.rst	2012-01-23 19:42:22 UTC (rev 43647)
+++ trunk/blender/doc/python_api/rst/bge.types.rst	2012-01-23 19:53:23 UTC (rev 43648)
@@ -954,7 +954,7 @@
 
       .. deprecated:: use :data:`localPosition` and :data:`worldPosition`.
 
-      :type: :class:`mathurils.Vector`
+      :type: :class:`mathutils.Vector`
 
    .. attribute:: orientation
 




More information about the Bf-blender-cvs mailing list