Merge branch 'sphinx_doctrees_dir' into 'master'

sphinx: put doctrees temporary directory out of destination dir

See merge request ita1024/waf!2354
This commit is contained in:
ita1024 2023-06-20 21:48:21 +00:00
commit 2351978cfc
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ def get_install_path(object):
class SphinxBuildingTask(Task.Task):
color = 'BOLD'
run_str = '${SPHINX_BUILD} -M ${SPHINX_OUTPUT_FORMAT} ${SRC} ${TGT} ${SPHINX_OPTIONS}'
run_str = '${SPHINX_BUILD} -M ${SPHINX_OUTPUT_FORMAT} ${SRC} ${TGT} -d ${TGT[0].bld_dir()}/doctrees-${SPHINX_OUTPUT_FORMAT} ${SPHINX_OPTIONS}'
def keyword(self):
return 'Compiling (%s)' % self.env.SPHINX_OUTPUT_FORMAT