diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-06-02 00:39:32 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-06-02 00:39:32 +0400 |
commit | 9623d5d66d516812b75a91abf1749be86c703b0c (patch) | |
tree | 56aeb1e25501758012681b8e19bb1f5844a48943 /modules/rna_wiki_reference.py | |
parent | 4be5a985aec3003dbf137ac79aa045a95ede290e (diff) |
data file for online manual reference.
Diffstat (limited to 'modules/rna_wiki_reference.py')
-rw-r--r-- | modules/rna_wiki_reference.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/modules/rna_wiki_reference.py b/modules/rna_wiki_reference.py new file mode 100644 index 00000000..a49f037c --- /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 |