From 2805243103822c0dbf99aa0d0f9e0a61ff3e0e98 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Wed, 7 Oct 2020 08:11:59 -0700 Subject: [PATCH] Fix the doc config --- doc/build.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/doc/build.py b/doc/build.py index b84b1c06..5c9136b3 100755 --- a/doc/build.py +++ b/doc/build.py @@ -52,9 +52,9 @@ def create_build_env(dirname='virtualenv'): check_call(['pip', 'install', '--upgrade', 'distribute']) except DistributionNotFound: pass - # Install Sphinx and Breathe. - pip_install('sphinx-doc/sphinx', '12b83372ac9316e8cbe86e7fed889296a4cc29ee', - min_version='1.4.1.dev20160531') + # Install Sphinx and Breathe. Require the exact version of Sphinx which is + # compatible with Breathe. + pip_install('sphinx-doc/sphinx', '12b83372ac9316e8cbe86e7fed889296a4cc29ee') pip_install('michaeljones/breathe', '129222318f7c8f865d2631e7da7b033567e7f56a', min_version='4.2.0') @@ -74,8 +74,8 @@ def build_docs(version='dev', **kwargs): GENERATE_MAN = NO GENERATE_RTF = NO CASE_SENSE_NAMES = NO - INPUT = {0}/color.h {0}/core.h {0}/compile.h {0}/format.h \ - {0}/os.h {0}/ostream.h {0}/printf.h {0}/time.h + INPUT = {0}/chrono.h {0}/color.h {0}/core.h {0}/compile.h \ + {0}/format.h {0}/os.h {0}/ostream.h {0}/printf.h QUIET = YES JAVADOC_AUTOBRIEF = YES AUTOLINK_SUPPORT = NO @@ -95,7 +95,8 @@ def build_docs(version='dev', **kwargs): "FMT_END_NAMESPACE=}}" \ "FMT_STRING_ALIAS=1" \ "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')) if p.returncode != 0: raise CalledProcessError(p.returncode, cmd)