diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/rna_wiki_reference.py | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/modules/rna_wiki_reference.py b/modules/rna_wiki_reference.py index a49f037c..aa56a7da 100644 --- a/modules/rna_wiki_reference.py +++ b/modules/rna_wiki_reference.py @@ -5,13 +5,14 @@ url_manual_prefix = "http://wiki.blender.org/index.php/Doc:2.6/Manual/" -# the key is infact a regex mapping '.*' means anything. -url_manual_mapping = { - "bpy.types.ArmatureModifier.*": "Modifiers/Deform/Armature", - "bpy.types.SmoothModifier.*": "Modifiers/Deform/Smooth", - "bpy.types.SubsurfModifier.*": "Modifiers/Generate/Subsurf", +# - The first item is a regex mapping '.*' means anything. +# - Expressions are evaluated top down (include catch-all expressions last). +url_manual_mapping = ( + ("bpy.types.ArmatureModifier.*", "Modifiers/Deform/Armature"), + ("bpy.types.SmoothModifier.*", "Modifiers/Deform/Smooth"), + ("bpy.types.SubsurfModifier.*", "Modifiers/Generate/Subsurf"), - "bpy.types.Material.diffuse.*": "Materials/Properties/Diffuse_Shaders", -} + ("bpy.types.Material.diffuse.*", "Materials/Properties/Diffuse_Shaders"), +) # may have 'url_reference_mapping'... etc later |