From 3269fce2dc6fa4150f891035249331f662e93e5b Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Fri, 12 Sep 2014 08:27:23 -0700 Subject: [PATCH] Fix https://github.com/cppformat/cppformat/issues/61 --- doc/index.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/index.rst b/doc/index.rst index 6461f766..be4fab2b 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -39,8 +39,12 @@ arguments in the resulting string. *args* is an argument list representing arbitrary arguments. +.. _format: + .. doxygenfunction:: fmt::format(StringRef, const ArgList &) +.. _print: + .. doxygenfunction:: fmt::print(StringRef, const ArgList &) .. doxygenfunction:: fmt::print(std::FILE *, StringRef, const ArgList &) @@ -101,7 +105,7 @@ System Errors Format String Syntax -------------------- -Formatting functions such as :cpp:func:`fmt::format()` and :cpp:func:`fmt::print()` +Formatting functions such as :ref:`fmt::format() ` and :ref:`fmt::print() ` use the same format string syntax described in this section. Format strings contain "replacement fields" surrounded by curly braces ``{}``. @@ -161,9 +165,6 @@ format string to define how individual values are presented (see :ref:`formatstrings`). Each formattable type may define how the format specification is to be interpreted. -.. - They can also be passed directly to the :func:`format` function. - Most built-in types implement the following options for format specifications, although some of the formatting options are only supported by the numeric types.