[Bf-extensions-cvs] [f656359] master: Correct manual links

Campbell Barton noreply at git.blender.org
Fri Mar 13 01:40:13 CET 2015


Commit: f6563591ddbc1c291882d604b40383636c6b2aa6
Author: Campbell Barton
Date:   Thu Mar 12 20:25:41 2015 +1100
Branches: master
https://developer.blender.org/rBAf6563591ddbc1c291882d604b40383636c6b2aa6

Correct manual links

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

M	modules/rna_wiki_reference.py

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

diff --git a/modules/rna_wiki_reference.py b/modules/rna_wiki_reference.py
index 09a6e32..8a611a9 100644
--- a/modules/rna_wiki_reference.py
+++ b/modules/rna_wiki_reference.py
@@ -2,21 +2,21 @@
 #
 # This file maps RNA to online URL's for right mouse context menu documentation access
 #
-# To make international, we made a script, 
+# To make international, we made a script,
 # pointing the manuals to the proper language,
-# specified in the 'User Preferences Window' by the users 
-# Some Languages have their manual page, using a prefix or 
+# specified in the 'User Preferences Window' by the users
+# Some Languages have their manual page, using a prefix or
 # being preceeded by their respective reference, for example
 #
 # Doc:2.6 --> Doc:FR/2.6
 #
-# The table in the script, contains all of the languages we have in the  
-# Blender wiki website, for those other languages that still 
+# The table in the script, contains all of the languages we have in the
+# Blender wiki website, for those other languages that still
 # doesn't have a team of translators, and/or don't have a manual for their languages
 # we commented the lines below, you should add them to the language table
-# when they have a proper manual in our Blender wiki, or added 
+# when they have a proper manual in our Blender wiki, or added
 # to the Blender UI  translation table
-# The Blender wiki manual uses a list of ISO_639-1 codes to convert languages to wiki manual prefixes 
+# The Blender wiki manual uses a list of ISO_639-1 codes to convert languages to wiki manual prefixes
 #
 # "DANISH":        "DK",     - Present in the wiki manual, but not present in Blender UI translations table
 # "FARSI":         "FA",     - Present in the wiki manual, but not present in Blender UI translations table
@@ -36,9 +36,9 @@
 # "HUNGARIAN":     "HU",     - Present in Blender UI translations table, but without wiki manual
 # "SERBIAN_LATIN": "SR",     - Present in Blender UI translations table, but without wiki manual
 #
-# NOTES: 
+# NOTES:
 #
-#  CHINESE                   - Present in the wiki as simplified chinese, for both the traditional and simplified 
+#  CHINESE                   - Present in the wiki as simplified chinese, for both the traditional and simplified
 #  PORTUGUESE                - Present in the wiki for both Portuguese and Brazilian Portuguese
 #  THAILANDESE               - It's the same being used for Turkish in the wiki
 #
@@ -90,7 +90,7 @@ url_manual_mapping = (
     ("bpy.types.UserPreferencesView.*",            "preferences/interface.html"),
     ("bpy.types.UserPreferencesEdit.*",            "preferences/editing.html"),
     ("bpy.types.UserPreferencesInput.*",           "preferences/input.html"),
-    ("bpy.ops.wm.addon_*",                         "preferences/addons.html"),
+    ("bpy.ops.wm.addon_*",                         "preferences/add_ons.html"),
     ("bpy.types.Theme.*",                          "preferences/themes.html"),
     ("bpy.types.UserPreferencesFilePaths.*",       "preferences/file.html"),
     ("bpy.types.UserPreferencesSystem.*",          "preferences/system.html"),
@@ -141,49 +141,49 @@ url_manual_mapping = (
     # --- Simulate Modifiers ---
     ("bpy.types.ClothModifier.*",             "physics/cloth.html"),
     ("bpy.types.CollisionModifier.*",         "physics/collision.html"),
-    ("bpy.types.DynamicPaintModifier.*",      "physics/dynamic_paint.html"),
+    ("bpy.types.DynamicPaintModifier.*",      "physics/dynamic_paint"),
     ("bpy.types.ExplodeModifier.*",           "modifiers/simulate/explode.html"),
-    ("bpy.types.FluidSimulationModifier.*",   "physics/fluid.html"),
+    ("bpy.types.FluidSimulationModifier.*",   "physics/fluid"),
     ("bpy.types.OceanModifier.*",             "modifiers/simulate/ocean.html"),
     ("bpy.types.ParticleInstanceModifier.*",  "modifiers/simulate/particle_instance.html"),
-    ("bpy.types.ParticleSystemModifier.*",    "physics/particles.html"),
-    ("bpy.types.SmokeModifier.*",             "physics/smoke.html"),
-    ("bpy.types.SoftBodyModifier.*",          "physics/soft_body.html"),
+    ("bpy.types.ParticleSystemModifier.*",    "physics/particles"),
+    ("bpy.types.SmokeModifier.*",             "physics/smoke"),
+    ("bpy.types.SoftBodyModifier.*",          "physics/soft_body"),
 
     # *** Constraints ***
-    ("bpy.types.Constraint.*", "constraints.html"),
-    ("bpy.types.Constraint.mute", "constraints/the_stack.html"),  # others could be added here?
+    ("bpy.types.Constraint.*", "rigging/constraints"),
+    ("bpy.types.Constraint.mute", "rigging/constraints/the_stack.html"),  # others could be added here?
     # --- Transform Constraints ---
-    ("bpy.types.CopyLocationConstraint.*",    "constraints/transform/copy_location.html"),
-    ("bpy.types.CopyRotationConstraint.*",    "constraints/transform/copy_rotation.html"),
-    ("bpy.types.CopyScaleConstraint.*",       "constraints/transform/copy_scale.html"),
-    ("bpy.types.CopyTransformsConstraint.*",  "constraints/transform/copy_transforms.html"),
-    ("bpy.types.LimitDistanceConstraint.*",   "constraints/transform/limit_distance.html"),
-    ("bpy.types.LimitLocationConstraint.*",   "constraints/transform/limit_location.html"),
-    ("bpy.types.LimitRotationConstraint.*",   "constraints/transform/limit_rotation.html"),
-    ("bpy.types.LimitScaleConstraint.*",      "constraints/transform/limit_scale.html"),
-    ("bpy.types.MaintainVolumeConstraint.*",  "constraints/transform/maintain_volume.html"),
-    ("bpy.types.TransformConstraint.*",       "constraints/transform/transformation.html"),
+    ("bpy.types.CopyLocationConstraint.*",    "rigging/constraints/transform/copy_location.html"),
+    ("bpy.types.CopyRotationConstraint.*",    "rigging/constraints/transform/copy_rotation.html"),
+    ("bpy.types.CopyScaleConstraint.*",       "rigging/constraints/transform/copy_scale.html"),
+    ("bpy.types.CopyTransformsConstraint.*",  "rigging/constraints/transform/copy_transforms.html"),
+    ("bpy.types.LimitDistanceConstraint.*",   "rigging/constraints/transform/limit_distance.html"),
+    ("bpy.types.LimitLocationConstraint.*",   "rigging/constraints/transform/limit_location.html"),
+    ("bpy.types.LimitRotationConstraint.*",   "rigging/constraints/transform/limit_rotation.html"),
+    ("bpy.types.LimitScaleConstraint.*",      "rigging/constraints/transform/limit_scale.html"),
+    ("bpy.types.MaintainVolumeConstraint.*",  "rigging/constraints/transform/maintain_volume.html"),
+    ("bpy.types.TransformConstraint.*",       "rigging/constraints/transform/transformation.html"),
     # --- Tracking Constraints ---
-    ("bpy.types.ClampToConstraint.*",      "constraints/tracking/clamp_to.html"),
-    ("bpy.types.DampedTrackConstraint.*",  "constraints/tracking/damped_track.html"),
-    ("bpy.types.KinematicConstraint.*",    "constraints/tracking/ik_solver.html"),
-    ("bpy.types.LockedTrackConstraint.*",  "constraints/tracking/locked_track.html"),
-    ("bpy.types.SplineIKConstraint.*",     "constraints/tracking/spline_ik.html"),
-    ("bpy.types.StretchToConstraint.*",    "constraints/tracking/stretch_to.html"),
-    ("bpy.types.TrackToConstraint.*",      "constraints/tracking/track_to.html"),
+    ("bpy.types.ClampToConstraint.*",      "rigging/constraints/tracking/clamp_to.html"),
+    ("bpy.types.DampedTrackConstraint.*",  "rigging/constraints/tracking/damped_track.html"),
+    ("bpy.types.KinematicConstraint.*",    "rigging/constraints/tracking/ik_solver.html"),
+    ("bpy.types.LockedTrackConstraint.*",  "rigging/constraints/tracking/locked_track.html"),
+    ("bpy.types.SplineIKConstraint.*",     "rigging/constraints/tracking/spline_ik.html"),
+    ("bpy.types.StretchToConstraint.*",    "rigging/constraints/tracking/stretch_to.html"),
+    ("bpy.types.TrackToConstraint.*",      "rigging/constraints/tracking/track_to.html"),
     # --- Relationship Constraints ---
-    ("bpy.types.ActionConstraint.*",          "constraints/relationship/action.html"),
-    ("bpy.types.CameraSolverConstraint.*",    "motion_tracking.html"),  # not exact match
-    ("bpy.types.ChildOfConstraint.*",         "constraints/relationship/action.html"),
-    ("bpy.types.FloorConstraint.*",           "constraints/relationship/child_of.html"),
-    ("bpy.types.FollowPathConstraint.*",      "constraints/relationship/floor.html"),
-    ("bpy.types.FollowTrackConstraint.*",     "constraints/relationship/follow_path.html"),
-    ("bpy.types.ObjectSolverConstraint.*",    "motion_tracking.html"),  # not exact match
-    ("bpy.types.PivotConstraint.*",           "constraints/relationship/pivot.html"),
-    ("bpy.types.PythonConstraint.*",          "constraints/relationship/script.html"),
-    ("bpy.types.RigidBodyJointConstraint.*",  "constraints/relationship/rigid_body_joint.html"),
-    ("bpy.types.ShrinkwrapConstraint.*",      "constraints/relationship/shrinkwrap.html"),
+    ("bpy.types.ActionConstraint.*",          "rigging/constraints/relationship/action.html"),
+    ("bpy.types.CameraSolverConstraint.*",    "motion_tracking"),  # not exact match
+    ("bpy.types.ChildOfConstraint.*",         "rigging/constraints/relationship/action.html"),
+    ("bpy.types.FloorConstraint.*",           "rigging/constraints/relationship/child_of.html"),
+    ("bpy.types.FollowPathConstraint.*",      "rigging/constraints/relationship/floor.html"),
+    ("bpy.types.FollowTrackConstraint.*",     "rigging/constraints/relationship/follow_path.html"),
+    ("bpy.types.ObjectSolverConstraint.*",    "motion_tracking"),  # not exact match
+    ("bpy.types.PivotConstraint.*",           "rigging/constraints/relationship/pivot.html"),
+    ("bpy.types.PythonConstraint.*",          "rigging/constraints/relationship/script.html"),
+    ("bpy.types.RigidBodyJointConstraint.*",  "rigging/constraints/relationship/rigid_body_joint.html"),
+    ("bpy.types.ShrinkwrapConstraint.*",      "rigging/constraints/relationship/shrinkwrap.html"),
 
     ("bpy.types.ImageFormatSettings.*",  "render/output.html#file-type"),
     ("bpy.types.RenderSettings.filepath",  "render/output.html#file-locations"),
@@ -193,59 +193,60 @@ url_manual_mapping = (
     # *** ID Subclasses ***
     ("bpy.types.Action.

@@ Diff output truncated at 10240 characters. @@



More information about the Bf-extensions-cvs mailing list