Fix the doc config

This commit is contained in:
Victor Zverovich
2020-10-07 08:11:59 -07:00
parent 34f22e88a1
commit 2805243103

View File

@ -52,9 +52,9 @@ def create_build_env(dirname='virtualenv'):
check_call(['pip', 'install', '--upgrade', 'distribute']) check_call(['pip', 'install', '--upgrade', 'distribute'])
except DistributionNotFound: except DistributionNotFound:
pass pass
# Install Sphinx and Breathe. # Install Sphinx and Breathe. Require the exact version of Sphinx which is
pip_install('sphinx-doc/sphinx', '12b83372ac9316e8cbe86e7fed889296a4cc29ee', # compatible with Breathe.
min_version='1.4.1.dev20160531') pip_install('sphinx-doc/sphinx', '12b83372ac9316e8cbe86e7fed889296a4cc29ee')
pip_install('michaeljones/breathe', pip_install('michaeljones/breathe',
'129222318f7c8f865d2631e7da7b033567e7f56a', '129222318f7c8f865d2631e7da7b033567e7f56a',
min_version='4.2.0') min_version='4.2.0')
@ -74,8 +74,8 @@ def build_docs(version='dev', **kwargs):
GENERATE_MAN = NO GENERATE_MAN = NO
GENERATE_RTF = NO GENERATE_RTF = NO
CASE_SENSE_NAMES = NO CASE_SENSE_NAMES = NO
INPUT = {0}/color.h {0}/core.h {0}/compile.h {0}/format.h \ INPUT = {0}/chrono.h {0}/color.h {0}/core.h {0}/compile.h \
{0}/os.h {0}/ostream.h {0}/printf.h {0}/time.h {0}/format.h {0}/os.h {0}/ostream.h {0}/printf.h
QUIET = YES QUIET = YES
JAVADOC_AUTOBRIEF = YES JAVADOC_AUTOBRIEF = YES
AUTOLINK_SUPPORT = NO AUTOLINK_SUPPORT = NO
@ -95,7 +95,8 @@ def build_docs(version='dev', **kwargs):
"FMT_END_NAMESPACE=}}" \ "FMT_END_NAMESPACE=}}" \
"FMT_STRING_ALIAS=1" \ "FMT_STRING_ALIAS=1" \
"FMT_ENABLE_IF(B)=" "FMT_ENABLE_IF(B)="
EXCLUDE_SYMBOLS = fmt::internal::* StringValue write_str EXCLUDE_SYMBOLS = fmt::detail::* fmt::formatter fmt::printf_formatter \
fmt::arg_join fmt::basic_format_arg::handle
'''.format(include_dir, doxyxml_dir).encode('UTF-8')) '''.format(include_dir, doxyxml_dir).encode('UTF-8'))
if p.returncode != 0: if p.returncode != 0:
raise CalledProcessError(p.returncode, cmd) raise CalledProcessError(p.returncode, cmd)