Skip to content
Snippets Groups Projects
Commit ef545f4a authored by Campbell Barton's avatar Campbell Barton
Browse files

use a tuple rather then a dict()

parent 9623d5d6
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment