Commit Graph

603 Commits

Author SHA1 Message Date
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