mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-12-16 03:08:52 +08:00
doc: fix broken internal links
This commit is contained in:
@@ -84,7 +84,7 @@ Creates a new `error_info`.
|
||||
|
||||
Must be followed by a `msg` related to `source_location` or `basic_value`.
|
||||
|
||||
Overloads are added in [`value.hpp`](docs/reference/value#tomlmake_error_info) when passing `toml::basic_value` instead of `source_location`.
|
||||
Overloads are added in [`value.hpp`]({{< ref "docs/reference/value#tomlmake_error_info" >}}) when passing `toml::basic_value` instead of `source_location`.
|
||||
|
||||
Possible to pass `suffix` at the end.
|
||||
|
||||
@@ -128,7 +128,7 @@ std::string format_error(std::string title,
|
||||
|
||||
Returns a formatted string using `format_error` for `error_info` created with `make_error_info`.
|
||||
|
||||
Overloads are added in [`value.hpp`](docs/reference/value#tomlformat_error) when passing `toml::basic_value` instead of `source_location`.
|
||||
Overloads are added in [`value.hpp`]({{< ref "docs/reference/value#tomlformat_error" >}}) when passing `toml::basic_value` instead of `source_location`.
|
||||
|
||||
### Stream Operator
|
||||
|
||||
@@ -140,6 +140,6 @@ Calls `format_error(e)` and outputs it.
|
||||
|
||||
# Related
|
||||
|
||||
- [color.hpp](color.md)
|
||||
- [parser.hpp](parser.md)
|
||||
- [source_location.hpp](source_location.md)
|
||||
- [color.hpp]({{< ref "color.md" >}})
|
||||
- [parser.hpp]({{< ref "parser.md" >}})
|
||||
- [source_location.hpp]({{< ref "source_location.md" >}})
|
||||
|
||||
@@ -101,7 +101,7 @@ Irregular widths are not allowed.
|
||||
|
||||
Stores the suffix when `spec::ext_num_suffix` of toml11 extension is `true`.
|
||||
|
||||
cf. [spec.hpp](spec.md)
|
||||
cf. [spec.hpp]({{< ref "spec.md" >}})
|
||||
|
||||
# `floating_format`
|
||||
|
||||
@@ -122,7 +122,7 @@ Corresponds to `std::defaultfloat`, `std::fixed`, `std::scientific`, `std::hexfl
|
||||
|
||||
`hexfloat` is available only if `toml::spec::ext_hex_float` is `true`.
|
||||
|
||||
cf. [spec.hpp](spec.md)
|
||||
cf. [spec.hpp]({{< ref "spec.md" >}})
|
||||
|
||||
# `floating_format_info`
|
||||
|
||||
@@ -152,7 +152,7 @@ Specifies the precision after the decimal point.
|
||||
|
||||
Stores the suffix when `spec::ext_num_suffix` of toml11 extension is `true`.
|
||||
|
||||
cf. [spec.hpp](spec.md)
|
||||
cf. [spec.hpp]({{< ref "spec.md" >}})
|
||||
|
||||
# `string_format`
|
||||
|
||||
@@ -384,7 +384,7 @@ std::string to_string(const table_format);
|
||||
- Formats in the form of `a.b.c = "d"`.
|
||||
- `multiline_oneline`
|
||||
- Formats as a multiline inline table with line breaks. Available from TOML v1.1.0 onwards.
|
||||
- cf. [spec.hpp](spec.md)
|
||||
- cf. [spec.hpp]({{< ref "spec.md" >}})
|
||||
- `implicit`
|
||||
- Skips implicit definitions like `[x.y.z.w]`, leaving `[x]`, `[x.y]`, `[x.y.z]` as implicit.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user