diff --git a/docs/reference/core/concepts.rst b/docs/reference/core/concepts.rst index 99f38ce9..2fd5e130 100644 --- a/docs/reference/core/concepts.rst +++ b/docs/reference/core/concepts.rst @@ -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 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 WrappedQuantity A concept matching types that wrap quantity objects. Satisfied by all wrapper types that diff --git a/docs/usage.rst b/docs/usage.rst index a73e88a8..c8a22e3b 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -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 diff --git a/docs/use_cases/interoperability.rst b/docs/use_cases/interoperability.rst index a229b018..40f58501 100644 --- a/docs/use_cases/interoperability.rst +++ b/docs/use_cases/interoperability.rst @@ -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;