mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-02 02:29:08 +00:00
Fix the docs
This commit is contained in:
parent
27e3c0fe9b
commit
4999796c15
@ -144,9 +144,15 @@ def update_site(env):
|
|||||||
b.data = re.sub(pattern, r'doxygenfunction:: \1(int)', b.data)
|
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('std::FILE*', 'std::FILE *')
|
||||||
b.data = b.data.replace('unsigned int', 'unsigned')
|
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(', size_t', ', std::size_t')
|
||||||
b.data = b.data.replace('aa long', 'a long')
|
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.
|
# Fix a broken link in index.rst.
|
||||||
index = os.path.join(target_doc_dir, 'index.rst')
|
index = os.path.join(target_doc_dir, 'index.rst')
|
||||||
with rewrite(index) as b:
|
with rewrite(index) as b:
|
||||||
|
Loading…
Reference in New Issue
Block a user