mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-07 04:20:07 +01:00
The XML dir may not exist at import time if the dox command hasn't been run yet. Can't assert for it here.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -111,12 +111,7 @@ SPHINX_IMAGES_ROOT = os.path.join(SPHINXROOT, '_static', 'images', 'sphinxdoc
|
||||
# The Doxygen root for the XML docstrings
|
||||
xmlsrcbase = 'docs/doxygen/out/xml'
|
||||
WXWIN = wxDir()
|
||||
|
||||
XMLSRC = ''
|
||||
if WXWIN:
|
||||
XMLSRC = os.path.join(WXWIN, xmlsrcbase)
|
||||
|
||||
assert WXWIN and os.path.exists(XMLSRC), "Unable to locate Doxygen XML files"
|
||||
XMLSRC = os.path.join(WXWIN, xmlsrcbase)
|
||||
|
||||
DOXYROOT = os.path.join(WXWIN, 'docs', 'doxygen')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user