[Bf-extensions-cvs] [0a9f786] master: Use new manual URL

Aaron Carlisle noreply at git.blender.org
Tue Jan 24 01:23:39 CET 2017


Commit: 0a9f786d72cd10e145d5bcff541a44acbb5869c2
Author: Aaron Carlisle
Date:   Mon Jan 23 19:23:20 2017 -0500
Branches: master
https://developer.blender.org/rBA0a9f786d72cd10e145d5bcff541a44acbb5869c2

Use new manual URL

===================================================================

M	modules/rna_manual_reference.py

===================================================================

diff --git a/modules/rna_manual_reference.py b/modules/rna_manual_reference.py
index 4b4601f..63bf108 100644
--- a/modules/rna_manual_reference.py
+++ b/modules/rna_manual_reference.py
@@ -22,7 +22,7 @@
 
 import bpy
 
-url_manual_prefix = "https://www.blender.org/manual/"
+url_manual_prefix = "https://docs.blender.org/manual/en/dev/"
 
 language = ""
 if bpy.context.user_preferences.system.use_international_fonts:
@@ -58,7 +58,7 @@ LANG = {
 }.get(language)
 
 if LANG is not None:
-    url_manual_prefix = url_manual_prefix.replace("manual", "manual/" + LANG)
+    url_manual_prefix = url_manual_prefix.replace("manual/en", "manual/" + LANG)
 
 # - The first item is a wildcard - typical file system globbing
 #   using python module 'fnmatch.fnmatch'



More information about the Bf-extensions-cvs mailing list