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

This commit is contained in:
Tamito Kajiyama
2014-09-18 15:45:21 +09:00
parent f87ca5f1c3
commit cf0ce0afc7

View File

@@ -1870,8 +1870,8 @@ def rna2sphinx(basepath):
# context # context
if "bpy.context" not in EXCLUDE_MODULES: if "bpy.context" not in EXCLUDE_MODULES:
# one of a kind, context doc (uses ctypes to extract info!) # one of a kind, context doc (uses ctypes to extract info!)
# doesn't work on mac # doesn't work on mac and windows
if PLATFORM != "darwin": if PLATFORM not in ["darwin", "windows"]:
pycontext2sphinx(basepath) pycontext2sphinx(basepath)
# internal modules # internal modules