mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-04 11:00:07 +01:00
Use the target python to run sphinx. Fix div.document-no-sidebar style
This commit is contained in:
6
build.py
6
build.py
@@ -702,8 +702,8 @@ def uploadPackage(fileName, options, mask=defaultMask, keep=75):
|
|||||||
cmd = 'scp {} {}:{}'.format(fileName, host, uploadDir)
|
cmd = 'scp {} {}:{}'.format(fileName, host, uploadDir)
|
||||||
runcmd(cmd)
|
runcmd(cmd)
|
||||||
|
|
||||||
# Make sure it is readable by all
|
# Make sure it is readable by all, and writable by rbot
|
||||||
cmd = 'ssh {} "cd {}; chmod a+r {}"'.format(host, uploadDir, os.path.basename(fileName))
|
cmd = 'ssh {} "cd {}; chmod 644 {}"'.format(host, uploadDir, os.path.basename(fileName))
|
||||||
runcmd(cmd)
|
runcmd(cmd)
|
||||||
|
|
||||||
if not options.release:
|
if not options.release:
|
||||||
@@ -1131,7 +1131,7 @@ def cmd_sphinx(options, args):
|
|||||||
pwd2 = pushDir(sphinxDir)
|
pwd2 = pushDir(sphinxDir)
|
||||||
buildDir = os.path.join(sphinxDir, 'build')
|
buildDir = os.path.join(sphinxDir, 'build')
|
||||||
htmlDir = os.path.join(phoenixDir(), 'docs', 'html')
|
htmlDir = os.path.join(phoenixDir(), 'docs', 'html')
|
||||||
runcmd('sphinx-build -b html -d %s/doctrees . %s' % (buildDir, htmlDir))
|
runcmd('{} -m sphinx -b html -d {}/doctrees . {}'.format(PYTHON, buildDir, htmlDir))
|
||||||
del pwd2
|
del pwd2
|
||||||
|
|
||||||
msg('Postprocessing sphinx output...')
|
msg('Postprocessing sphinx output...')
|
||||||
|
|||||||
@@ -121,7 +121,7 @@ div.document-no-sidebar {
|
|||||||
position: relative;
|
position: relative;
|
||||||
margin-left: 0px;
|
margin-left: 0px;
|
||||||
z-index: 0;
|
z-index: 0;
|
||||||
top: 30px;
|
top: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.sphinxsidebar {
|
div.sphinxsidebar {
|
||||||
|
|||||||
Reference in New Issue
Block a user