diff --git a/doc/api.rst b/doc/api.rst index 88ee3e987c17..42e164b67cea 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -362,10 +362,6 @@ Utilities .. doxygenfunction:: fmt::to_string(const T &value) -> std::string -.. doxygenfunction:: fmt::join(Range &&range, string_view sep) -> join_view, detail::sentinel_t> - -.. doxygenfunction:: fmt::join(It begin, Sentinel end, string_view sep) -> join_view - .. doxygenfunction:: fmt::group_digits(T value) -> group_digits_view .. doxygenclass:: fmt::detail::buffer @@ -469,10 +465,6 @@ The library also supports convenient formatting of ranges and tuples:: // Prints "('a', 1, 2.0)" fmt::print("{}", t); - -NOTE: currently, the overload of ``fmt::join`` for iterables exists in the main -``format.h`` header, but expect this to change in the future. - Using ``fmt::join``, you can separate tuple elements with a custom separator:: #include @@ -481,6 +473,9 @@ Using ``fmt::join``, you can separate tuple elements with a custom separator:: // Prints "1, a" fmt::print("{}", fmt::join(t, ", ")); +.. doxygenfunction:: fmt::join(Range &&range, string_view sep) -> join_view, detail::sentinel_t> +.. doxygenfunction:: fmt::join(It begin, Sentinel end, string_view sep) -> join_view + .. _chrono-api: Date and Time Formatting diff --git a/doc/build.py b/doc/build.py index 4867fca77745..ebcb5a5056d1 100755 --- a/doc/build.py +++ b/doc/build.py @@ -56,7 +56,7 @@ def build_docs(version='dev', **kwargs): CASE_SENSE_NAMES = NO INPUT = {0}/args.h {0}/chrono.h {0}/color.h {0}/core.h \ {0}/compile.h {0}/format.h {0}/os.h {0}/ostream.h \ - {0}/printf.h {0}/xchar.h + {0}/printf.h {0}/ranges.h {0}/xchar.h QUIET = YES JAVADOC_AUTOBRIEF = YES AUTOLINK_SUPPORT = NO