Improve docs

This commit is contained in:
Victor Zverovich
2020-11-08 06:48:34 -08:00
parent e29f93e8a8
commit 8cf0afaf1c
2 changed files with 13 additions and 11 deletions
+7 -4
View File
@@ -89,11 +89,14 @@ def build_docs(version='dev', **kwargs):
fmt::basic_format_arg::handle
'''.format(include_dir, doxyxml_dir).encode('UTF-8'))
noisy_warnings = [
'warning: .* fmt::detail::.* is not documented.',
'warning: Internal inconsistency: member .* does not belong to any ' +
'container!'
'warning: Internal inconsistency: .* does not belong to any container!'
]
for w in noisy_warnings:
internal_symbols = [
'fmt::detail::.*',
'basic_data<>',
'fmt::dynamic_formatter'
]
for w in noisy_warnings + ['(' + '|'.join(internal_symbols) + ')']:
out = re.sub('.*' + w + '\n', '', out)
print(out)
if p.returncode != 0: