[Bf-blender-cvs] [1d02195] master: Remove redundant lists, link instead

Campbell Barton noreply at git.blender.org
Tue Jul 7 13:31:05 CEST 2015


Commit: 1d021956f595f02e16e332f8e27a6a17acaa3e13
Author: Campbell Barton
Date:   Tue Jul 7 21:25:51 2015 +1000
Branches: master
https://developer.blender.org/rB1d021956f595f02e16e332f8e27a6a17acaa3e13

Remove redundant lists, link instead

===================================================================

M	doc/python_api/rst/bge.constraints.rst
M	doc/python_api/rst/bge.texture.rst

===================================================================

diff --git a/doc/python_api/rst/bge.constraints.rst b/doc/python_api/rst/bge.constraints.rst
index cfd8c14..bf01505 100644
--- a/doc/python_api/rst/bge.constraints.rst
+++ b/doc/python_api/rst/bge.constraints.rst
@@ -32,14 +32,7 @@ Functions
    :arg physicsid_2: The physics id of the second object in constraint.
    :type physicsid_2: int
 
-   :arg constraint_type: The type of the constraint, one of...
-
-      - :class:`POINTTOPOINT_CONSTRAINT`
-      - :class:`LINEHINGE_CONSTRAINT`
-      - :class:`ANGULAR_CONSTRAINT`
-      - :class:`CONETWIST_CONSTRAINT`
-      - :class:`VEHICLE_CONSTRAINT`
-      - :class:`GENERIC_6DOF_CONSTRAINT`
+   :arg constraint_type: The type of the constraint, see `Create Constraint Constants`_.
 
    :type constraint_type: int
 
@@ -152,22 +145,7 @@ Functions
 
    Sets the debug mode.
 
-   :arg mode: The new debug mode.
-
-      - :class:`DBG_NODEBUG`
-      - :class:`DBG_DRAWWIREFRAME`
-      - :class:`DBG_DRAWAABB`
-      - :class:`DBG_DRAWFREATURESTEXT`
-      - :class:`DBG_DRAWCONTACTPOINTS`
-      - :class:`DBG_NOHELPTEXT`
-      - :class:`DBG_DRAWTEXT`
-      - :class:`DBG_PROFILETIMINGS`
-      - :class:`DBG_ENABLESATCOMPARISION`
-      - :class:`DBG_DISABLEBULLETLCP`
-      - :class:`DBG_ENABLECCD`
-      - :class:`DBG_DRAWCONSTRAINTS`
-      - :class:`DBG_DRAWCONSTRAINTLIMITS`
-      - :class:`DBG_FASTWIREFRAME`
+   :arg mode: The new debug mode, see `Debug Mode Constants`_.
 
    :type mode: int
 
diff --git a/doc/python_api/rst/bge.texture.rst b/doc/python_api/rst/bge.texture.rst
index f744959..4588a3e 100644
--- a/doc/python_api/rst/bge.texture.rst
+++ b/doc/python_api/rst/bge.texture.rst
@@ -75,14 +75,7 @@ Video classes
       Video status. (readonly)
       
       :type: int
-      :value: one of...
-      
-         * :data:`SOURCE_ERROR`
-         * :data:`SOURCE_EMPTY`
-         * :data:`SOURCE_READY`
-         * :data:`SOURCE_PLAYING`
-         * :data:`SOURCE_STOPPED`
-      
+      :value: see `FFmpeg Video and Image Status`_.
 
    .. attribute:: range
 
@@ -184,14 +177,8 @@ Video classes
 
       Refresh video - get its status.
       
-      :return: The video's status, one of...
-      
-         * :data:`SOURCE_ERROR`
-         * :data:`SOURCE_EMPTY`
-         * :data:`SOURCE_READY`
-         * :data:`SOURCE_PLAYING`
-         * :data:`SOURCE_STOPPED`
-      
+      :value: see `FFmpeg Video and Image Status`_.
+
       :rtype: int
 
 *************
@@ -210,13 +197,7 @@ Image classes
       Image status. (readonly)
       
       :type: int
-      :value: one of...
-      
-         * :data:`SOURCE_ERROR`
-         * :data:`SOURCE_EMPTY`
-         * :data:`SOURCE_READY`
-         * :data:`SOURCE_PLAYING`
-         * :data:`SOURCE_STOPPED`
+      :value: see `FFmpeg Video and Image Status`_.
 
    .. attribute:: valid
 
@@ -267,14 +248,8 @@ Image classes
 
       Refresh image, i.e. load it.
       
-      :return: the video's status, one of...
-      
-         * :data:`SOURCE_ERROR`
-         * :data:`SOURCE_EMPTY`
-         * :data:`SOURCE_READY`
-         * :data:`SOURCE_PLAYING`
-         * :data:`SOURCE_STOPPED`
-      
+      :value: see `FFmpeg Video and Image Status`_.
+
       :rtype: int
 
    .. method:: reload(newname=None)
@@ -350,36 +325,7 @@ Image classes
       :type positionX: int
       :arg positionY: Upper boundary of the region to be drawn on.
       :type positionY: int
-      :arg mode: Drawing mode, one of... (optional)
-      
-         * :data:`IMB_BLEND_MIX`
-         * :data:`IMB_BLEND_ADD`
-         * :data:`IMB_BLEND_SUB`
-         * :data:`IMB_BLEND_MUL`
-         * :data:`IMB_BLEND_LIGHTEN`
-         * :data:`IMB_BLEND_DARKEN`
-         * :data:`IMB_BLEND_ERASE_ALPHA`
-         * :data:`IMB_BLEND_ADD_ALPHA`
-         * :data:`IMB_BLEND_OVERLAY`
-         * :data:`IMB_BLEND_HARDLIGHT`
-         * :data:`IMB_BLEND_COLORBURN`
-         * :data:`IMB_BLEND_LINEARBURN`
-         * :data:`IMB_BLEND_COLORDODGE`
-         * :data:`IMB_BLEND_SCREEN`
-         * :data:`IMB_BLEND_SOFTLIGHT`
-         * :data:`IMB_BLEND_PINLIGHT`
-         * :data:`IMB_BLEND_VIVIDLIGHT`
-         * :data:`IMB_BLEND_LINEARLIGHT`
-         * :data:`IMB_BLEND_DIFFERENCE`
-         * :data:`IMB_BLEND_EXCLUSION`
-         * :data:`IMB_BLEND_HUE`
-         * :data:`IMB_BLEND_SATURATION`
-         * :data:`IMB_BLEND_LUMINOSITY`
-         * :data:`IMB_BLEND_COLOR`
-         * :data:`IMB_BLEND_COPY`
-         * :data:`IMB_BLEND_COPY_RGB`
-         * :data:`IMB_BLEND_COPY_ALPHA`
-      
+      :arg mode: Drawing mode, see `Image Blending Modes`_.
       :type mode: int
       
 
@@ -1100,8 +1046,8 @@ Functions
 Constants
 *********
 
-FFmpeg video and image statuses
-+++++++++++++++++++++++++++++++
+FFmpeg Video and Image Status
++++++++++++++++++++++++++++++
 
 
 .. data:: SOURCE_ERROR
@@ -1115,7 +1061,7 @@ FFmpeg video and image statuses
 .. data:: SOURCE_STOPPED
 
 
-Image blending modes
+Image Blending Modes
 ++++++++++++++++++++
 
 See Wikipedia's `Blend Modes <https://en.wikipedia.org/wiki/Blend_modes>`_ for reference.




More information about the Bf-blender-cvs mailing list