Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-06-02 00:39:32 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-06-02 00:39:32 +0400
commit9623d5d66d516812b75a91abf1749be86c703b0c (patch)
tree56aeb1e25501758012681b8e19bb1f5844a48943 /modules
parent4be5a985aec3003dbf137ac79aa045a95ede290e (diff)
data file for online manual reference.
Diffstat (limited to 'modules')
-rw-r--r--modules/rna_wiki_reference.py17
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