edits to document uploading script so the latest release docs can always be found at:

http://www.blender.org/documentation/blender_python_api

Easier for linking wiki docs.
This commit is contained in:
2013-02-20 14:22:36 +00:00
parent f844b79577
commit a8ebc1b2de
2 changed files with 9 additions and 3 deletions

View File

@@ -1483,7 +1483,9 @@ def write_sphinx_conf_py(basepath):
def execfile(filepath):
global_namespace = {"__file__": filepath, "__name__": "__main__"}
exec(compile(open(filepath).read(), filepath, 'exec'), global_namespace)
file_handle = open(filepath)
exec(compile(file_handle.read(), filepath, 'exec'), global_namespace)
file_handle.close()
def write_rst_contents(basepath):