mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-02 02:29:08 +00:00
Fix docs
This commit is contained in:
parent
9f0b3afb79
commit
a29a01d304
@ -126,7 +126,7 @@
|
|||||||
^
|
^
|
||||||
|
|
||||||
* Added sentinel support to ``fmt::join``
|
* Added sentinel support to ``fmt::join``
|
||||||
(`#1689 <https://github.com/fmtlib/fmt/pull/1689>`_))
|
(`#1689 <https://github.com/fmtlib/fmt/pull/1689>`_)
|
||||||
|
|
||||||
.. code:: c++
|
.. code:: c++
|
||||||
|
|
||||||
|
@ -145,14 +145,24 @@ def update_site(env):
|
|||||||
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"" _')
|
||||||
if version.startswith('6.'):
|
b.data = b.data.replace(
|
||||||
|
'format_to_n(OutputIt, size_t, string_view, Args&&',
|
||||||
|
'format_to_n(OutputIt, size_t, const S&, const Args&')
|
||||||
|
b.data = b.data.replace(
|
||||||
|
'format_to_n(OutputIt, std::size_t, string_view, Args&&',
|
||||||
|
'format_to_n(OutputIt, std::size_t, const S&, const Args&')
|
||||||
|
if version == ('3.0.2'):
|
||||||
|
b.data = b.data.replace(
|
||||||
|
'fprintf(std::ostream&', 'fprintf(std::ostream &')
|
||||||
|
if version == ('5.3.0'):
|
||||||
|
b.data = b.data.replace(
|
||||||
|
'format_to(OutputIt, const S&, const Args&...)',
|
||||||
|
'format_to(OutputIt, const S &, const Args &...)')
|
||||||
|
if version.startswith('5.') or version.startswith('6.'):
|
||||||
b.data = b.data.replace(', size_t', ', std::size_t')
|
b.data = b.data.replace(', size_t', ', std::size_t')
|
||||||
elif version.startswith('7.'):
|
if version.startswith('7.'):
|
||||||
b.data = b.data.replace(', std::size_t', ', size_t')
|
b.data = b.data.replace(', std::size_t', ', size_t')
|
||||||
b.data = b.data.replace('join(It, It', 'join(It, Sentinel')
|
b.data = b.data.replace('join(It, It', 'join(It, Sentinel')
|
||||||
b.data = b.data.replace(
|
|
||||||
'format_to_n(OutputIt, size_t, string_view, Args&&',
|
|
||||||
'format_to_n(OutputIt, size_t, const S&, const Args&')
|
|
||||||
b.data = b.data.replace('aa long', 'a long')
|
b.data = b.data.replace('aa long', 'a long')
|
||||||
b.data = b.data.replace('serveral', 'several')
|
b.data = b.data.replace('serveral', 'several')
|
||||||
if version.startswith('6.2.'):
|
if version.startswith('6.2.'):
|
||||||
|
Loading…
Reference in New Issue
Block a user