diff options
author | Victor Zverovich <viz@fb.com> | 2020-04-06 07:32:15 -0700 |
---|---|---|
committer | Victor Zverovich <viz@fb.com> | 2020-04-08 07:52:36 -0700 |
commit | 4999796c15b62b9992feec780a3fcf11cfc33afd (patch) | |
tree | 0e6d6ec65c15239f69603187afa279b22fbf9606 /support | |
parent | 27e3c0fe9b5dc99f339637ec2ea7efae5b945ab8 (diff) | |
download | fmtlib-4999796c15b62b9992feec780a3fcf11cfc33afd.tar.gz |
Fix the docs
Diffstat (limited to 'support')
-rwxr-xr-x | support/manage.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/support/manage.py b/support/manage.py index 517759b3..58fbcddb 100755 --- a/support/manage.py +++ b/support/manage.py @@ -144,9 +144,15 @@ def update_site(env): b.data = re.sub(pattern, r'doxygenfunction:: \1(int)', b.data) b.data = b.data.replace('std::FILE*', 'std::FILE *') b.data = b.data.replace('unsigned int', 'unsigned') - b.data = b.data.replace('operator""_', 'operator"" _') + #b.data = b.data.replace('operator""_', 'operator"" _') b.data = b.data.replace(', size_t', ', std::size_t') b.data = b.data.replace('aa long', 'a long') + if version == '6.2.0': + b.data = b.data.replace( + 'vformat(const S&, basic_format_args<' + + 'buffer_context<Char>>)', + 'vformat(const S&, basic_format_args<' + + 'buffer_context<type_identity_t<Char>>>)') # Fix a broken link in index.rst. index = os.path.join(target_doc_dir, 'index.rst') with rewrite(index) as b: |