Commit Graph

505 Commits

Author SHA1 Message Date
Joël Lamotte
e66ba16923
Added build2 usage instructions. (#1838)
The `fmt` package have been available for `build2` users for several version, see: https://cppget.org/fmt

This simply add the minimum instructions for making a `build2` project depend on it.

There are other ways to do it, but they need more understanding of `build2`.
2020-08-28 15:15:15 -07:00
Victor Zverovich
d16d585e64 Update signatures 2020-08-26 09:35:19 -07:00
Victor Zverovich
a0dcfbc57b Add ptr to docs 2020-08-21 06:54:05 -07:00
Victor Zverovich
c13f79e09e Merge release branch 2020-08-07 07:01:21 -07:00
Victor Zverovich
cd4af11efc Update version 2020-08-06 08:51:01 -07:00
Victor Zverovich
633213d96f Merge release branch 2020-07-29 08:52:53 -07:00
Victor Zverovich
b9d749095e Update version 2020-07-29 07:30:55 -07:00
Victor Zverovich
9c2edfd1aa Partially revert 638db5 because it breaks the doc build 2020-07-26 09:44:37 -07:00
Victor Zverovich
810357c014 Document color 2020-07-26 08:22:56 -07:00
Victor Zverovich
95d3abf95c Make format_to_n part of the core API 2020-07-24 09:25:26 -07:00
Malcolm Parsons
98626093d2
Correct the locale format specifier in api.rst (#1792) 2020-07-23 21:01:54 -07:00
Victor Zverovich
47f8d7a345 Make formatted_size part of the core API 2020-07-23 08:51:38 -07:00
Victor Zverovich
46a63b7087 Update docs 2020-07-23 07:12:19 -07:00
Victor Zverovich
ce73ea37fb Reorder functions 2020-07-20 09:42:14 -07:00
Victor Zverovich
c228bfe882 Improve docs 2020-07-20 07:56:20 -07:00
Victor Zverovich
c08518a25b Move make_args_checked to the public API 2020-07-19 10:23:46 -07:00
Victor Zverovich
e2837084ee Add a color section 2020-07-19 09:51:52 -07:00
Léonard Gérard
f5d4215b7c
Trying to clear ambiguous compile time claims (#1775)
* Trying to clear ambiguous compile time claims

Documentation was a bit misleading.
Many people assume that fmt does compile time checks by default, while it requires the use of `FMT_STRING`.
It was also unclear that FMT_COMPILE does the same checks.

https://github.com/fmtlib/fmt/issues/1772

* Update api.rst
2020-07-16 06:19:49 -07:00
Victor Zverovich
f4b11ef6e2 Add a short anchor 2020-07-14 09:39:22 -07:00
Victor Zverovich
bd903f96ac Clarify precedence 2020-07-12 09:02:31 -07:00
Vitaly Zaitsev
638db5ca5e Use Cmake to find Python and Sphinx-doc.
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2020-07-08 08:06:57 -07:00
Victor Zverovich
f19b1a521e Update version 2020-07-07 07:47:44 -07:00
Victor Zverovich
04c9b62fb4 Merge release branch 2020-07-07 06:34:39 -07:00
Victor Zverovich
86b2f99f8c Fix the docs 2020-07-06 07:53:07 -07:00
Victor Zverovich
c472ff12d8 Update version 2020-07-06 06:45:20 -07:00
Victor Zverovich
5173a76ba4 Update version 2020-07-05 08:43:47 -07:00
Victor Zverovich
4e7e3c65a3 Update docs 2020-07-05 07:32:43 -07:00
Victor Zverovich
0f7a6bfa12 Add a section on std::format compatibility 2020-07-05 07:07:29 -07:00
Victor Zverovich
01309a34ab Deprecate arg_formatter 2020-07-04 07:29:11 -07:00
Victor Zverovich
1f3f84631c Fix a typo 2020-07-02 07:29:38 -07:00
Victor Zverovich
8630a8f5ff Tweak the docs 2020-06-25 11:29:49 -07:00
Victor Zverovich
cc3a88e6b3 Extract docs from compile.h 2020-06-25 08:36:07 -07:00
Victor Zverovich
d130ee070f Document format string compilation 2020-06-25 08:12:10 -07:00
Victor Zverovich
d259fcfb05 Tweak comments 2020-06-12 06:22:05 -07:00
文佳鹏
f904e8a1b4
c++11 use formatting user-defined types (#1721) 2020-06-11 10:10:39 -07:00
Jelle van der Waa
8f2b5fe74d Don't install sphinx cache files
When building documentation sphinx creates cached files in the .doctrees
directory and aren't required for viewing documentation only for
building. As added benefit this makes fmt reprodcubile as the cached
files are different when the build environment is varied.
2020-05-30 06:14:02 -07:00
Victor Zverovich
297c3b2ed5 Fix an example (thanks Alexey Kuzmenko) 2020-05-20 15:52:19 -07:00
Victor Zverovich
7aafa6bc64 Update analytics 2020-05-18 10:26:22 -07:00
Victor Zverovich
eee2023c2a Update signatures 2020-05-15 15:25:02 -07:00
Victor Zverovich
c5ed73aab2 Add fmt::detail::buffer to the docs (#704) 2020-05-15 14:35:55 -07:00
Victor Zverovich
d18c6723a2 Update docs 2020-05-15 09:43:35 -07:00
Kevin Puetz
981b517ccf
nested replacement fields may omit arg_id (#1681)
syntax.html already has examples like `fmt::format("{:.{}f}", 3.14, 1)` using this, 
and https://en.cppreference.com/w/cpp/utility/format/formatter#width_and_precision shows that this is the case for the C++20 std::format

The Format Specification Mini-Language grammar seems to be the only one not showing this; update it to match.
2020-05-13 17:20:05 -07:00
Victor Zverovich
e0d98923c7 Update version 2020-05-10 18:05:46 -07:00
Lindsay Roberts
d59751f0f0 Update date formatting example to use threadsafe localtime 2020-05-02 09:04:31 -07:00
Victor Zverovich
450e8eed97 Fix markup 2020-04-22 09:30:09 -07:00
Victor Zverovich
b8fbcec1be Clarify formatter reuse 2020-04-22 09:15:52 -07:00
Victor Zverovich
5944fcad37 Remove remaining wchar_t instantiation 2020-04-19 16:48:15 -07:00
Victor Zverovich
27e3c0fe9b Update signature in the docs 2020-04-06 07:17:41 -07:00
Victor Zverovich
9bdd1596ce Update version 2020-04-05 06:46:41 -07:00
Victor Zverovich
d1d653d895 Implement the L specifier 2020-04-02 06:58:38 -07:00