mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-01 03:14:29 +02:00
docs: Broken links in the documentation fixed
This commit is contained in:
@@ -63,6 +63,11 @@ Concepts
|
||||
A concept matching all quantity-like types other than specialization of :class:`quantity`. Satisfied by
|
||||
all types for which a correct specialization of :class:`quantity_like_traits` type trait is provided.
|
||||
|
||||
.. concept:: template<typename T> QuantityPointLike
|
||||
|
||||
A concept matching all quantity-point-like types other than specialization of :class:`quantity_point`.
|
||||
Satisfied by all types for which a correct specialization of :class:`quantity_point_like_traits` type trait is provided.
|
||||
|
||||
.. concept:: template<typename T> WrappedQuantity
|
||||
|
||||
A concept matching types that wrap quantity objects. Satisfied by all wrapper types that
|
||||
|
@@ -408,7 +408,7 @@ In case you would like to build all the source code (with unit tests and example
|
||||
you should:
|
||||
|
||||
1. Use the *CMakeLists.txt* from the top-level directory.
|
||||
2. Run Conan with `CONAN_RUN_TESTS`_ = ``True``
|
||||
2. Run Conan with `build_all`_ = ``True``
|
||||
(use ``-o build_docs=False`` if you want to skip the documentation generation).
|
||||
|
||||
.. code-block:: shell
|
||||
@@ -437,7 +437,7 @@ In case you would like to build the project's documentation, you should:
|
||||
|
||||
1. Use the *CMakeLists.txt* from the top-level directory.
|
||||
2. Obtain Python dependencies.
|
||||
3. Run Conan with `CONAN_RUN_TESTS`_ = ``True``.
|
||||
3. Run Conan with `build_all`_ = ``True``.
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
|
@@ -59,7 +59,7 @@ It works just like `quantity_like_traits`, except that
|
||||
``number(T)`` is replaced with ``relative(T)`` that returns the `QuantityLike` value
|
||||
and ``dimension`` is replaced with ``origin``.
|
||||
|
||||
Similar to `quantity` and `quantity_kind`, `quantity_point` and `quantity_kind_point`
|
||||
Similar to `quantity` and `quantity_kind`, `quantity_point` and `quantity_point_kind`
|
||||
provide a deduction guide from `QuantityPointLike`::
|
||||
|
||||
using namespace std::chrono_literals;
|
||||
|
Reference in New Issue
Block a user