[Bf-blender-cvs] [cf0ce0a] master: Fix for a run-time error in sphinx_doc_gen.py on Windows.

Tamito Kajiyama noreply at git.blender.org
Thu Sep 18 08:48:43 CEST 2014


Commit: cf0ce0afc7b79cc42fbf083da0e7deacf54a836f
Author: Tamito Kajiyama
Date:   Thu Sep 18 15:45:21 2014 +0900
Branches: master
https://developer.blender.org/rBcf0ce0afc7b79cc42fbf083da0e7deacf54a836f

Fix for a run-time error in sphinx_doc_gen.py on Windows.

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

M	doc/python_api/sphinx_doc_gen.py

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

diff --git a/doc/python_api/sphinx_doc_gen.py b/doc/python_api/sphinx_doc_gen.py
index 226b1ec..1915b03 100644
--- a/doc/python_api/sphinx_doc_gen.py
+++ b/doc/python_api/sphinx_doc_gen.py
@@ -1870,8 +1870,8 @@ def rna2sphinx(basepath):
     # context
     if "bpy.context" not in EXCLUDE_MODULES:
         # one of a kind, context doc (uses ctypes to extract info!)
-        # doesn't work on mac
-        if PLATFORM != "darwin":
+        # doesn't work on mac and windows
+        if PLATFORM not in ["darwin", "windows"]:
             pycontext2sphinx(basepath)
 
     # internal modules




More information about the Bf-blender-cvs mailing list