mirror of
https://github.com/mpusz/mp-units.git
synced 2025-07-30 10:27:16 +02:00
fix: broken links in the docs fixed
This commit is contained in:
@ -29,7 +29,7 @@ C++ feature:
|
|||||||
|
|
||||||
## `std::format`
|
## `std::format`
|
||||||
|
|
||||||
- Provides [powerful text formatting capabilities](../users_guide/framework_basics/text_output.md#stdformat)
|
- Provides [powerful text formatting capabilities](../users_guide/framework_basics/text_output.md#text-formatting)
|
||||||
for C++.
|
for C++.
|
||||||
- An alternative [fmtlib](https://github.com/fmtlib/fmt) library can be used instead if
|
- An alternative [fmtlib](https://github.com/fmtlib/fmt) library can be used instead if
|
||||||
- the C++ language feature is not supported,
|
- the C++ language feature is not supported,
|
||||||
|
@ -176,7 +176,7 @@ we have to obey the rules and be consistent with ISO specifications.
|
|||||||
!!! note
|
!!! note
|
||||||
|
|
||||||
We do understand engineering reality and the constraints of some environments. This is why the library
|
We do understand engineering reality and the constraints of some environments. This is why the library
|
||||||
has the option of [ASCII-only Quantity Symbols](../users_guide/framework_basics/text_output.md#unit-symbol-formatting).
|
has the option of [ASCII-only Quantity Symbols](../users_guide/framework_basics/text_output.md#unit_symbol_formatting).
|
||||||
|
|
||||||
|
|
||||||
## Why don't we have CMake options to disable the building of tests and examples?
|
## Why don't we have CMake options to disable the building of tests and examples?
|
||||||
|
@ -56,7 +56,7 @@ projects:
|
|||||||
handle the dependencies.
|
handle the dependencies.
|
||||||
|
|
||||||
To learn more about the rationale, please check our
|
To learn more about the rationale, please check our
|
||||||
[FAQ](faq.md#why-dont-we-have-cmake-options-to-disable-building-of-tests-and-examples).
|
[FAQ](faq.md#why-dont-we-have-cmake-options-to-disable-the-building-of-tests-and-examples).
|
||||||
|
|
||||||
### Modules
|
### Modules
|
||||||
|
|
||||||
@ -276,7 +276,7 @@ tools.build:compiler_executables={"c": "gcc-12", "cpp": "g++-12"}
|
|||||||
: [:octicons-tag-24: 2.2.0][conan build all support] · :octicons-milestone-24: `True`/`False` (Default: `False`)
|
: [:octicons-tag-24: 2.2.0][conan build all support] · :octicons-milestone-24: `True`/`False` (Default: `False`)
|
||||||
|
|
||||||
Enables compilation of all the source code, including tests and examples. To support this, it requires some additional Conan build dependencies described in
|
Enables compilation of all the source code, including tests and examples. To support this, it requires some additional Conan build dependencies described in
|
||||||
[Repository Structure and Dependencies](#repository-structure-and-dependencies).
|
[Repository directory tree and dependencies](#repository-directory-tree-and-dependencies).
|
||||||
It also runs unit tests during Conan build (unless
|
It also runs unit tests during Conan build (unless
|
||||||
[`tools.build:skip_test`](https://docs.conan.io/2/reference/commands/config.html?highlight=tools.build:skip_test#conan-config-list)
|
[`tools.build:skip_test`](https://docs.conan.io/2/reference/commands/config.html?highlight=tools.build:skip_test#conan-config-list)
|
||||||
configuration property is set to `True`).
|
configuration property is set to `True`).
|
||||||
|
@ -80,6 +80,6 @@ To achieve this goal, several techniques are applied:
|
|||||||
[Highly adjustable text-output formatting]: ../users_guide/framework_basics/text_output.md
|
[Highly adjustable text-output formatting]: ../users_guide/framework_basics/text_output.md
|
||||||
|
|
||||||
[Each entity can be defined with a single line of code]: ../users_guide/framework_basics/interface_introduction.md#new-style-of-definitions
|
[Each entity can be defined with a single line of code]: ../users_guide/framework_basics/interface_introduction.md#new-style-of-definitions
|
||||||
[User can easily extend the systems with custom dimensions, quantities, and units]: ../users_guide/use_cases/extending_the_library.md#new-style-of-definitions
|
[User can easily extend the systems with custom dimensions, quantities, and units]: ../users_guide/use_cases/extending_the_library.md
|
||||||
|
|
||||||
[freestanding]: https://en.cppreference.com/w/cpp/freestanding
|
[freestanding]: https://en.cppreference.com/w/cpp/freestanding
|
||||||
|
@ -95,7 +95,7 @@ and when `T` is implicitly convertible to `V`.
|
|||||||
and is satisfied by:
|
and is satisfied by:
|
||||||
|
|
||||||
- All units derived from a `named_unit` class template instantiated with a unique symbol identifier
|
- All units derived from a `named_unit` class template instantiated with a unique symbol identifier
|
||||||
and a [`QuantitySpec`](#quantityspec) of a [quantity kind](../../appendix/glossary.md#kind).
|
and a [`QuantitySpec`](#QuantitySpec) of a [quantity kind](../../appendix/glossary.md#kind).
|
||||||
- All units being a result of [unit equations](../../appendix/glossary.md#unit-equation) on other
|
- All units being a result of [unit equations](../../appendix/glossary.md#unit-equation) on other
|
||||||
associated units.
|
associated units.
|
||||||
|
|
||||||
|
@ -241,7 +241,7 @@ static_assert(unit_symbol<{.solidus = unit_symbol_solidus::never,
|
|||||||
|
|
||||||
`std::string_view` is returned only when C++23 is available. Otherwise, an instance of a
|
`std::string_view` is returned only when C++23 is available. Otherwise, an instance of a
|
||||||
`basic_fixed_string` is being returned. See more in the
|
`basic_fixed_string` is being returned. See more in the
|
||||||
[C++ compiler support](../../getting_started/installation_and_usage.md#static-constexpr-variables-in-constexpr-functions)
|
[C++ compiler support](../../getting_started/cpp_compiler_support.md#static-constexpr-variables-in-constexpr-functions)
|
||||||
chapter.
|
chapter.
|
||||||
|
|
||||||
#### `unit_symbol_to()`
|
#### `unit_symbol_to()`
|
||||||
|
@ -219,7 +219,7 @@ the origin and the _displacement vector_ measured from it to the point we create
|
|||||||
[Why can't I create a quantity by passing a number to a constructor?](../../getting_started/faq.md#why-cant-i-create-a-quantity-by-passing-a-number-to-a-constructor)
|
[Why can't I create a quantity by passing a number to a constructor?](../../getting_started/faq.md#why-cant-i-create-a-quantity-by-passing-a-number-to-a-constructor)
|
||||||
chapter.
|
chapter.
|
||||||
|
|
||||||
Similarly to [creation of a quantity](../../getting_started/quick_start.md#creating-a-quantity),
|
Similarly to [creation of a quantity](../../getting_started/quick_start.md#quantities),
|
||||||
if someone does not like the operator-based syntax to create a `quantity_point`, the same results
|
if someone does not like the operator-based syntax to create a `quantity_point`, the same results
|
||||||
can be achieved with a two-parameter constructor:
|
can be achieved with a two-parameter constructor:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user