From dfb65469325af8770f186e565d18c490097ee568 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sun, 13 May 2018 08:04:39 -0700 Subject: [PATCH] Fix docs --- doc/api.rst | 4 ++-- doc/index.rst | 2 +- doc/usage.rst | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/api.rst b/doc/api.rst index 9372743f..989adb92 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -49,8 +49,6 @@ arguments in the resulting string. .. doxygenfunction:: print(std::FILE *, string_view, const Args&...) .. doxygenfunction:: vprint(std::FILE *, string_view, format_args) -.. _format-api: - Named arguments --------------- @@ -81,6 +79,8 @@ Compatibility .. doxygentypedef:: fmt::string_view .. doxygentypedef:: fmt::wstring_view +.. _format-api: + Format API ========== diff --git a/doc/index.rst b/doc/index.rst index b7b2fa86..fa5701a4 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -16,7 +16,7 @@ alternative to C++ IOStreams. -.. _format-api: +.. _format-api-intro: Format API ---------- diff --git a/doc/usage.rst b/doc/usage.rst index ed0c3e2d..4d39882c 100644 --- a/doc/usage.rst +++ b/doc/usage.rst @@ -67,6 +67,7 @@ your ``CMakeLists.txt`` file:: add_subdirectory(fmt) or + :: add_subdirectory(fmt EXCLUDE_FROM_ALL)