Skip to content

Commit 8cc6449

Browse files
committed
Fix header capitalization and anchor resolution
1 parent 8b31a16 commit 8cc6449

File tree

11 files changed

+18
-23
lines changed

11 files changed

+18
-23
lines changed

doc/modules/ROOT/nav.adoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@
3535
* xref:cstdlib.adoc[]
3636
* xref:charconv.adoc[]
3737
* xref:format.adoc[]
38-
** xref:format.adoc#std_format[`<format>`]
39-
** xref:format.adoc#fmt_format[`<fmt/format.h>`]
4038
* xref:cfenv.adoc[]
4139
* xref:cfloat.adoc[]
4240
* xref:cstdio.adoc[]

doc/modules/ROOT/pages/cfenv.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ https://www.boost.org/LICENSE_1_0.txt
55
////
66

77
[#cfenv]
8-
= `<cfenv>` support
8+
= `<cfenv>` Support
99
:idprefix: cfenv_
1010

1111
WARNING: This is an expert feature.

doc/modules/ROOT/pages/cfloat.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ https://www.boost.org/LICENSE_1_0.txt
55
////
66

77
[#cfloat]
8-
= `<cfloat>` support
8+
= `<cfloat>` Support
99
:idprefix: cfloat_
1010

1111
Macros analogous to those from https://en.cppreference.com/w/cpp/header/cfloat.html[`<cfloat>`] are provided by the library.

doc/modules/ROOT/pages/charconv.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ https://www.boost.org/LICENSE_1_0.txt
55
////
66

77
[#charconv]
8-
= `<charconv>` support
8+
= `<charconv>` Support
99
:idprefix: charconv_
1010

1111
== <charconv>

doc/modules/ROOT/pages/cmath.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ https://www.boost.org/LICENSE_1_0.txt
55
////
66

77
[#cmath]
8-
= `<cmath>` support
8+
= `<cmath>` Support
99
:idprefix: cmath_
1010

1111
Decimal contains overloads for all functions from `<cmath>`, and they have the same handling as built-in floating point types.

doc/modules/ROOT/pages/cstdio.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ https://www.boost.org/LICENSE_1_0.txt
55
////
66

77
[#cstdio]
8-
= `<cstdio>` support
8+
= `<cstdio>` Support
99
:idprefix: cstdio_
1010

1111
The following functions analogous to those from `<cstdio>` are provided:

doc/modules/ROOT/pages/cstdlib.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ https://www.boost.org/LICENSE_1_0.txt
55
////
66

77
[#cstdlib]
8-
= `<cstdlib>` support
8+
= `<cstdlib>` Support
99
:idprefix: cstdlib_
1010

1111
The following functions analogous to those from https://en.cppreference.com/w/cpp/string/byte/strtof.html[`<cstdlib>`] are provided:

doc/modules/ROOT/pages/format.adoc

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,14 @@ https://www.boost.org/LICENSE_1_0.txt
55
////
66

77
[#format]
8-
= Formatting support
8+
= Formatting Support
99
:idprefix: format_
1010

1111
Boost.Decimal supports formatting with both `<format>` (when C++20 and header are both available), and `<fmt/format.h>` with all language standards.
1212

13-
[#std_format]
14-
== `<format>`
15-
1613
Format is supported when using C++20 and a compiler with appropriate support: GCC >= 13, Clang >= 18, MSVC >= 19.40
1714

18-
=== Locale Modifier
15+
== Locale Modifier
1916

2017
If a format string begins with "L" the current global locale will be applied.
2118
This can be set as so:
@@ -28,7 +25,7 @@ const std::locale a(locale);
2825
std::locale::global(a);
2926
----
3027

31-
=== Sign Modifier
28+
== Sign Modifier
3229

3330
|===
3431
| Modifier | Format
@@ -38,7 +35,7 @@ std::locale::global(a);
3835
Negative have a minus sign
3936
|===
4037

41-
=== Type Modifiers
38+
== Type Modifiers
4239

4340
The following type modifiers are the same as those used by built-in floating point values:
4441

@@ -55,12 +52,12 @@ Example usage for scientific format would be: `{:e}`
5552

5653
NOTE: The uppercase format will return with all applicable values in uppercase (e.g. 3.14E+02 vs 3.14e+02)
5754

58-
=== Precision Modifiers
55+
== Precision Modifiers
5956

6057
Precision can be specified in the same way as built-in floating point values.
6158
For example a scientific format with 3 digits or precision would be: `{:.3e}`
6259

63-
=== Padding Modifiers
60+
== Padding Modifiers
6461

6562
If you want all values to be printed with a fixed width padding is allowed before the precision modifier.
6663
For example with `{:10.3e}`:
@@ -70,7 +67,7 @@ For example with `{:10.3e}`:
7067

7168
Note the space at the front of these string to keep with width at 10 characters
7269

73-
=== String Literal Support
70+
== String Literal Support
7471

7572
If you want the result to be a different string width than `char` you can specify this with the format string.
7673
For example if you want the result to be `wchar_t` you can use `L"{}"`.
@@ -79,13 +76,13 @@ For example if you want the result to be `wchar_t` you can use `L"{}"`.
7976

8077
IMPORTANT: `std::format` only supports `char` and `wchar_t` types per the pass:[C++] specification.
8178

82-
=== Putting it All Together
79+
== Putting it All Together
8380

8481
The appropriate order for the full format specifier is:
8582

8683
String literal pass:["{Sign, Padding, Precision, Type, Locale}"]
8784

88-
=== Examples
85+
== Examples
8986

9087
This example can be found in the examples/ folder as https://github.com/cppalliance/decimal/blob/develop/examples/fmt_format.cpp[fmt_format.cpp]
9188

doc/modules/ROOT/pages/functional.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ https://www.boost.org/LICENSE_1_0.txt
55
////
66

77
[#functional]
8-
= `<functional>` support
8+
= `<functional>` Support
99
:idprefix: functional_
1010

1111
The following functions from https://en.cppreference.com/w/cpp/utility/hash.html[`<functional>`] are overloaded:

doc/modules/ROOT/pages/limits.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ https://www.boost.org/LICENSE_1_0.txt
55
////
66

77
[#limits]
8-
= `<limits>` support
8+
= `<limits>` Support
99
:idprefix: limits_
1010

1111
The following from `<limits>` are overloaded for each type with associated values for reference:

0 commit comments

Comments
 (0)