Tulio Leao
cf8426cf8c
Sort links on fmt/std.h section
2024-01-09 15:43:18 -08:00
Tulio Leao
e915d52162
Update api.rst with support provided by std.h
2024-01-09 15:43:18 -08:00
Eicke Herbertz
6c617c9670
Update documentation ( #3789 )
...
Add a note about the numerical zero being ignored when an alignment flag is
present in the format specifier.
This change was introduced in a585571e90
to
be compatible with std::format, but misses documentation.
2024-01-04 10:35:55 -08:00
Victor Zverovich
baea8f6906
Update docs
2024-01-02 08:52:07 -08:00
Victor Zverovich
eedfdb4c5c
Fix docs
2024-01-02 08:44:15 -08:00
Victor Zverovich
5dbd7fd770
Switch to bootstrap 4 because 5 breaks menus
2024-01-02 07:39:28 -08:00
Victor Zverovich
583729493c
Remove duplicate version
2024-01-01 11:50:43 -08:00
Victor Zverovich
67c0c0c09c
Update version
2024-01-01 11:10:16 -08:00
Victor Zverovich
4939d67a83
Cleanup scripts
2023-12-30 15:08:27 -08:00
Victor Zverovich
5f9058dbd4
Improve scripts
2023-12-30 11:23:08 -08:00
Victor Zverovich
44b76d88f4
Fix docs
2023-12-30 07:11:13 -08:00
Victor Zverovich
c64edcd325
Fix grammar
2023-12-29 15:51:16 -08:00
Victor Zverovich
a13d1b12e5
Update changelog and docs
2023-12-29 13:00:12 -08:00
Victor Zverovich
18ca2248df
Document '?'
2023-12-28 06:39:00 -08:00
Victor Zverovich
1c023c0087
Update bootstrap
2023-11-06 08:20:01 -10:00
Carson Riker
baae1ed658
add meson instructions to usage docs ( #3677 )
2023-10-18 11:53:47 -07:00
Victor Zverovich
3baaa8d899
Update docs
2023-09-18 14:54:52 -07:00
Victor Zverovich
aa3c5a4127
Clarify I/O error handling
2023-09-16 08:20:27 -07:00
Victor Zverovich
6379251554
Update version
2023-08-28 06:29:25 -07:00
Victor Zverovich
f5e54359df
Update version
2023-08-26 08:20:41 -07:00
Victor Zverovich
e57ca2e368
Update version
2023-08-12 07:18:59 -07:00
Victor Zverovich
744ff55549
Fix docs
2023-08-07 08:40:41 -07:00
Martin Jeřábek
503d49286d
expose detail::throw_format_error ( #3551 )
...
This enables to only #include <fmt/core.h> when defining formatters.
2023-07-26 13:21:38 -07:00
Victor Zverovich
95e1ea5737
Clarify requirement on compiled formatter
2023-07-20 10:24:02 -07:00
Victor Zverovich
8e87d3a8be
Fix include
2023-07-15 09:02:19 -07:00
Victor Zverovich
8732ad8773
Update docs
2023-06-13 19:24:18 +03:00
Victor Zverovich
5afb1821a9
Update docs
2023-06-13 18:58:15 +03:00
Victor Zverovich
a81135f2c8
Fix a link
2023-06-13 18:39:00 +03:00
Victor Zverovich
dfc34821ad
Update docs
2023-06-13 18:33:36 +03:00
Victor Zverovich
0765e7284c
Update docs
2023-06-13 18:12:27 +03:00
Victor Zverovich
abdb7fdf88
Update api.rst
2023-05-24 06:30:48 -07:00
rlalik
8b09fe2a0a
Fix example for user-defined types in documentation for 10.0.0 ( #3461 )
...
* Fix example for user-defined types in documentation for 10.0.0
* Fix the fix
2023-05-24 06:25:51 -07:00
Victor Zverovich
e077396f5a
Update docs
2023-05-12 16:10:38 -07:00
Victor Zverovich
861facad0a
Fix a typo
2023-05-12 16:08:55 -07:00
Victor Zverovich
75bfe57614
Improve docs
2023-05-12 12:57:01 -07:00
Victor Zverovich
a0b8a92e3d
Update version
2023-05-09 15:55:39 -07:00
tom-huntington
5b8302079d
Add optional support ( #3303 )
2023-02-25 06:45:56 -08:00
Victor Zverovich
32190859ec
Fix handling of char
2022-12-30 09:11:42 -08:00
Victor Zverovich
9e60304869
Clarify that unused args are allowed
2022-12-28 06:58:04 -08:00
Victor Zverovich
d907786f04
Move anchor to where it belongs
2022-12-25 10:58:54 -08:00
Victor Zverovich
f2355bbe5e
Fix docs
2022-12-25 10:25:35 -08:00
Victor Zverovich
f398c94761
Fix docs
2022-12-25 10:24:36 -08:00
Victor Zverovich
dfb857ebef
Refactor format spec parsing
2022-12-25 07:25:32 -08:00
Cleroth
040dc2a5d4
small typo in syntax.rst
...
0x1e was misread as 0x13, it looks like
2022-12-23 10:29:14 -08:00
Victor Zverovich
f1733afd49
Pin godbolt example to specific version
2022-12-10 09:35:55 -08:00
Victor Zverovich
d2e89c8b08
Document more chrono specs
2022-11-08 19:35:34 -10:00
Victor Zverovich
bd19593204
Document more chrono specs
2022-11-08 16:22:23 -10:00
Victor Zverovich
fd0d0ec8df
Document more chrono specs
2022-11-08 14:57:57 -10:00
Victor Zverovich
4c4f99a583
Update a godbolt link
2022-09-21 12:05:57 -07:00
Victor Zverovich
3272a7a3ce
Update an example
2022-09-21 12:03:18 -07:00
Victor Zverovich
a48e3355a6
Improve docs
2022-09-18 08:44:04 -07:00
Victor Zverovich
afcf424294
Update docs
2022-09-16 15:27:18 -07:00
Victor Zverovich
3178bb9a26
Update docs
2022-09-16 10:29:53 -07:00
Victor Zverovich
cf58f64c54
Update docs
2022-09-16 10:28:00 -07:00
Victor Zverovich
e4e0ae3918
Use fmt/core.h in examples
2022-09-15 20:41:32 -07:00
Victor Zverovich
d65acc4e6c
Improve docs
2022-09-14 10:59:50 -07:00
Victor Zverovich
c9f790b061
Update docs
2022-09-14 10:58:52 -07:00
Victor Zverovich
6b8144a5ac
Update locale docs
2022-09-14 06:38:29 -07:00
Victor Zverovich
76705fc2ee
Update doc
2022-09-10 15:06:09 -07:00
Victor Zverovich
a33701196a
Update version
2022-08-27 08:57:10 -07:00
Victor Zverovich
c7635288f7
Fix docs, take 2
2022-08-27 08:28:07 -07:00
Victor Zverovich
c8ed78e315
Fix docs
2022-08-27 08:01:47 -07:00
Haowei Hsu
36c23bd5fd
Prepare for deprecating FindPythonInterp module. ( #3040 )
...
* Prepare for deprecating FindPythonInterp module.
Since FindPythonInterp module is deprecated after CMake 3.12, it is better to start using the new FindPython module.
* Add the proper punctuation in comments.
2022-08-17 14:18:39 -07:00
Rémi Burtin
9ff0f3a7d6
Fix docs
2022-08-16 11:31:11 -07:00
Victor Zverovich
df56fdf883
Clarify docs for compile-time checks
2022-08-05 07:00:34 -07:00
Jean-Michaël Celerier
258000064d
Add fmt:: namespace to doc ( #3009 )
...
Otherwise as-is the example does not compile on Visual Studio due to the conflict with std::format_to:
https://gcc.godbolt.org/z/qe4jEvvqY
2022-07-29 13:10:09 -07:00
Haowei Hsu
c48be439f1
Add additional search paths for doxygen on Windows
...
`find_program(DOXYGEN doxygen)` didn't find the executable automatically even if I installed Doxygen on Windows. Therefore, I added some additional search paths.
2022-07-19 08:59:18 -07:00
Victor Zverovich
c4ee726532
Update version
2022-07-04 09:50:06 -07:00
Victor Zverovich
1010b7f148
Update docs
2022-07-04 08:18:44 -07:00
Victor Zverovich
e29c2bc60e
Update docs
2022-06-30 08:13:34 -07:00
jehelset
6a775e9560
Add support for 'std::variant' in C++17 ( #2941 )
...
Add support for 'std::variant' in C++17.
For C++17, if all the alternatives of a variant are formattable
the variant is now also formattable. In addition 'std::monostate'
is now formattable.
Moves implementation into 'std.h', and tests into 'std-test.cc'.
Avoid fold-expression since MSVC was crashing.
Add section for 'fmt/std.h' in API-docs.
2022-06-26 07:28:01 -07:00
Victor Zverovich
51535866d0
Update docs
2022-06-25 09:13:29 -07:00
Victor Zverovich
3ef5caa9fe
Update docs
2022-06-25 09:11:10 -07:00
Victor Zverovich
dccd3e6742
Fix docs
2022-06-25 09:04:31 -07:00
Victor Zverovich
9cb02aaaad
Fix UDLs
2022-06-25 08:52:10 -07:00
Victor Zverovich
e6d478f8e8
Update changelog and docs
2022-06-25 08:33:57 -07:00
Alex
8644654190
Docs: add comment about empty format context range
2022-06-02 08:40:29 -07:00
Victor Zverovich
fe6eb792d5
Cleanup check_format_string
2022-05-29 19:01:06 -07:00
Victor Zverovich
5ab9d39253
Namespace-qualify format_to to avoid conflict with std::format_to
2022-05-15 09:51:20 -07:00
Vladislav Shchapov
1c83eaf75e
Fix incompatible between Jinja2 >= 3.1 and sphinx 3.3.0
2022-03-26 07:30:17 -07:00
Victor Zverovich
7ffe87c0bc
Fix docs
2022-03-22 19:13:01 -07:00
Victor Zverovich
36d95c9fcc
Fix docs
2022-03-22 17:31:31 -07:00
Victor Zverovich
44abd1f483
Update signatures in docs and ostream.h
2022-03-22 16:05:30 -07:00
Victor Zverovich
1f3d44b859
Update std::tm/chrono docs
2022-03-15 16:53:51 -07:00
Riccardo Brugo
32d477e5f1
Add styled
in documentation ( #2805 )
2022-03-10 12:24:47 -08:00
Victor Zverovich
c10fffecdc
Make _cf visible in the doc build
2022-03-08 11:00:04 -08:00
Victor Zverovich
8d4f3e91b2
Update docs
2022-03-06 10:12:40 -08:00
Victor Zverovich
21785040c7
Fix markup
2022-02-15 13:28:53 -08:00
Vladislav Shchapov
10e3b83a75
Replace `make_args_checked
with
make_format_args
` ( #2760 )
...
* Replace make_args_checked to make_format_args
* Deprecate legacy make_args_checked
2022-02-13 20:13:35 -08:00
Victor Zverovich
c48353cb75
Update docs
2022-02-13 07:41:15 -08:00
Victor Zverovich
ecd6022c24
Update docs
2022-02-08 06:28:22 -08:00
Victor Zverovich
a5a7e3a261
Update docs
2022-02-04 15:42:22 -08:00
Victor Zverovich
09fde7f4b8
Add fmt::underlying for enum classes
2022-01-22 08:06:22 -08:00
Victor Zverovich
58fb782396
Improve docs
2022-01-13 14:57:17 -08:00
Pokechu22
c056a009de
Docs: Fix link to "Compile-time Format String Checks" section ( #2712 )
2022-01-12 16:07:56 -08:00
Barry Revzin
c06bef7273
Adding comments for range formatting. ( #2706 )
...
* Adding comments for range formatting.
* Adding missing quotes
2022-01-08 16:37:21 -08:00
Victor Zverovich
b6f4ceaed0
Update version
2022-01-06 14:35:15 -08:00
Victor Zverovich
7081a6aa34
Update version
2022-01-02 09:01:32 -08:00
Victor Zverovich
3014b3d770
Clarify that C strings must be null-terminated
2021-12-26 07:23:43 -08:00
Lounarok
ec3b097cb9
[doc] FMT_STRING supports C++14 and no-op in C++11 ( #2620 )
...
* FMT_STRING supports C++14 and no-op in C++11
* Move requirement to the end. Modify description.
2021-11-28 07:02:15 -08:00
Vladislav Shchapov
6eaceb5f73
Fix incompatible between docutils 1.18.0 and sphinx 3.3.0 ( #2575 )
2021-10-30 09:12:36 -07:00
zhsj
e6d5059cbb
Simplify js tag in basic-bootstrap theme ( #2562 )
...
When build the docs for debian package, it uses a sphinx building
helper, which does a sanity check for the output.
The sanity check complains missing data-url_root attribute in the
js tag. So this patch changes the js tag to use the same function like
the origin basic theme, which adds additional information like
data-url_root.
Ref: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=997437
2021-10-24 06:36:10 -07:00
Victor Zverovich
f5371a75f4
locale.h -> format.h
2021-10-14 15:57:10 -07:00
Victor Zverovich
1e865b3539
Fix docs
2021-10-03 07:05:31 -07:00
Victor Zverovich
134aec40f0
Fix search in docs
2021-10-02 07:58:08 -07:00
Victor Zverovich
48a476ae0f
Update example ( #2522 )
2021-10-02 07:33:33 -07:00
Victor Zverovich
5092b198bc
Document group_digits
2021-09-18 10:50:30 -07:00
Victor Zverovich
25af02f21a
positive -> nonnegative ( #2493 )
2021-09-10 08:52:54 -07:00
Victor Zverovich
cb0f177c35
Improve docs
2021-08-29 11:30:35 -07:00
Victor Zverovich
71677e5204
Improve docs
2021-08-29 11:21:38 -07:00
Victor Zverovich
dc7f3ef2bb
Fix header name
2021-08-28 20:34:45 -07:00
Victor Zverovich
419ba86a91
Improve docs
2021-08-28 16:54:58 -07:00
Victor Zverovich
2599163b8a
Document format_string
2021-08-28 15:20:56 -07:00
Victor Zverovich
8ef22f7740
Update docs
2021-08-28 12:05:30 -07:00
Victor Zverovich
c0c4d1adab
Update docs
2021-08-28 11:52:13 -07:00
Victor Zverovich
e41ac1f875
Don't use deprecated API in docs
2021-07-10 13:42:51 -07:00
Victor Zverovich
d141cdbeb0
Update version
2021-07-02 16:14:33 -07:00
Victor Zverovich
c6b1f181aa
Fix docs
2021-06-27 09:06:21 -07:00
Victor Zverovich
3156fcf5f4
Switch to older breathe version
2021-06-27 08:10:37 -07:00
Victor Zverovich
0bc3d664e3
Fix docs
2021-06-27 06:41:54 -07:00
Victor Zverovich
e5c46e13e8
Fix docs: breathe 18 and earlier corrupts trailing return type
2021-06-26 09:55:27 -07:00
Victor Zverovich
9e8b86fd2d
Update version
2021-06-21 05:59:17 -07:00
Victor Zverovich
7a39837d96
Use a working breathe version
2021-06-19 07:35:09 -07:00
Victor Zverovich
55b6e92db5
Fix docs
2021-06-19 06:31:19 -07:00
Victor Zverovich
69dc3a8535
Fix docs
2021-06-18 12:51:48 -07:00
Victor Zverovich
36c2948225
Update docs
2021-06-08 08:25:50 -07:00
Victor Zverovich
ef826b86cb
Fix docs
2021-06-04 20:34:58 -07:00
Victor Zverovich
e27b1ce50c
Fix docs
2021-06-03 09:32:12 -07:00
Victor Zverovich
9f8b6daca2
Fix wheel installation
2021-06-03 09:10:07 -07:00
Victor Zverovich
1085cc2178
Fix docs
2021-06-03 08:28:02 -07:00
Victor Zverovich
11addaa16e
Update docs
2021-06-03 06:24:17 -07:00
Victor Zverovich
760ca5ccc0
Update docs
2021-06-02 19:45:42 -07:00
Victor Zverovich
aa09e0f5dd
Update docs
2021-06-02 16:25:21 -07:00
Victor Zverovich
7b9d69b827
Add xchar.h to docs
2021-06-02 08:19:54 -07:00
Victor Zverovich
cbd861f188
Update docs
2021-06-02 08:06:52 -07:00
Victor Zverovich
faf972f039
Update docs
2021-06-02 07:46:26 -07:00
Mark de Wever
1f308a3cea
Update integer presentation types documentation.
...
Documents that the 'c' type is a valid type for integer types. Since
boolean uses the same types as integer its documentation is
automatically updated.
2021-05-24 10:55:08 -07:00
Victor Zverovich
56f518a98f
Update signatures
2021-05-19 09:45:33 -07:00
Victor Zverovich
b7f2933744
Update signatures
2021-05-19 09:39:32 -07:00
Victor Zverovich
7483dfc652
Update signatures
2021-05-19 09:36:12 -07:00
Victor Zverovich
8f0fadfaaa
Cleanup docs
2021-05-11 20:20:03 -07:00
Victor Zverovich
00f3d16b12
Update docs
2021-04-10 08:07:16 -07:00
Victor Zverovich
d28101878a
Document ostream support limitation
2021-03-12 15:49:22 -08:00
Mike Crowe
e6ef927e6b
fmt::ptr: Support function pointers ( #2131 )
...
Passing a function pointer to fmt::ptr results in:
In file included from /home/mac/git/fmt/test/gmock/gmock.h:238,
from /home/mac/git/fmt/test/format-test.cc:31:
.../fmt/test/format-test.cc: In member function ‘virtual void FormatterTest_FormatPointer_Test::TestBody()’:
.../fmt/test/format-test.cc:1486:56: error: no matching function for call to ‘ptr(void (&)(int, double, std::__cxx11::string))’
format("{}", fmt::ptr(function_pointer_test)));
with GCC and Clang. Let's add an overload to support that usage.
Unfortunately, MSVC would
consider the overload to be ambiguous for unknown reasons:
D:\a\fmt\fmt\test\format-test.cc(1485,1): error C2668: 'fmt::v7::ptr': ambiguous call to overloaded function [D:\a\fmt\build\test\format-test.vcxproj]
D:\a\fmt\fmt\include\fmt/format.h(3742,60): message : could be 'const void *fmt::v7::ptr<void,int,double,std::string>(T (__cdecl *)(int,double,std::string))' [D:\a\fmt\build\test\format-test.vcxproj]
with
[
T=void
]
D:\a\fmt\fmt\include\fmt/format.h(3735,42): message : or 'const void *fmt::v7::ptr<void(int,double,std::string)>(T (__cdecl *))' [D:\a\fmt\build\test\format-test.vcxproj]
with
[
T=void (int,double,std::string)
]
D:\a\fmt\fmt\test\format-test.cc(1486,1): message : while trying to match the argument list '(overloaded-function)' [D:\a\fmt\build\test\format-test.vcxproj]
but luckily this means that the overload is unnecessary in that case
anyway, so we can just make it conditional.
2021-02-09 07:35:16 -08:00
Victor Zverovich
373262f9fb
Update docs
2021-01-24 09:11:44 -08:00
Victor Zverovich
b4b8917caf
Update docs
2021-01-17 09:36:06 -08:00
Victor Zverovich
061e364b25
Document output_file
2021-01-09 07:18:56 -08:00
AlιAѕѕaѕѕιN
018688da2a
Correct a typo on syntax.rst (documentation) ( #2081 )
2020-12-31 16:23:42 -08:00
Victor Zverovich
a750bf3ac6
Update api.rst
2020-12-24 07:09:49 -08:00
Walter Gray
4fa4c9248f
Add tests for FMT_ENFORCE_COMPILE_STRING, fix several errors ( #2038 )
2020-12-24 06:40:46 -08:00