diff --git a/modules/rna_wiki_reference.py b/modules/rna_wiki_reference.py new file mode 100644 index 0000000000000000000000000000000000000000..a49f037cd18e6986da2362b85eb9d2f008cd55f7 --- /dev/null +++ b/modules/rna_wiki_reference.py @@ -0,0 +1,17 @@ +# this file maps RNA to online URL's for right mouse context menu +# documentation access + +# URL prefix is the: url_manual_prefix + url_manual_mapping[id] + +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", + + "bpy.types.Material.diffuse.*": "Materials/Properties/Diffuse_Shaders", +} + +# may have 'url_reference_mapping'... etc later