mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-05 19:40:12 +01:00
Create sphinx build dirs that don't already exist.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@76370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1401,7 +1401,10 @@ class Snippet(Node):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
docstrings = ''
|
docstrings = ''
|
||||||
|
|
||||||
|
if not os.path.exists(os.path.dirname(self.cpp_file)):
|
||||||
|
os.makedirs(os.path.dirname(self.cpp_file))
|
||||||
|
|
||||||
fid = open(self.cpp_file, 'wt')
|
fid = open(self.cpp_file, 'wt')
|
||||||
fid.write(self.snippet)
|
fid.write(self.snippet)
|
||||||
fid.close()
|
fid.close()
|
||||||
|
|||||||
@@ -237,6 +237,8 @@ class InheritanceDiagram(object):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
static_root = INHERITANCEROOT
|
static_root = INHERITANCEROOT
|
||||||
|
if not os.path.exists(static_root):
|
||||||
|
os.makedirs(static_root)
|
||||||
|
|
||||||
if self.main_class is not None:
|
if self.main_class is not None:
|
||||||
filename = self.main_class.name
|
filename = self.main_class.name
|
||||||
|
|||||||
Reference in New Issue
Block a user