Forcing highlighting in Sphinx disabled

This commit is contained in:
Mateusz Pusz
2020-03-10 20:46:52 +01:00
parent c1c07b697a
commit d67eabf310
2 changed files with 2 additions and 9 deletions

View File

@@ -5,4 +5,3 @@ avg_speed
:caption: avg_speed.cpp :caption: avg_speed.cpp
:start-at: #include :start-at: #include
:linenos: :linenos:
:force:

View File

@@ -196,10 +196,7 @@ reference ("kilohours" does not have much sense, right?). The `ratio` type
used in the definition is really similar to ``std::ratio`` but it takes used in the definition is really similar to ``std::ratio`` but it takes
the third additional argument that defines the exponent of the ratio. the third additional argument that defines the exponent of the ratio.
Thanks to it we can address nearly infinite scaling factors between units Thanks to it we can address nearly infinite scaling factors between units
and define units like: and define units like::
.. code-block::
:force:
struct electronvolt : named_scaled_unit<electronvolt, "eV", prefix, struct electronvolt : named_scaled_unit<electronvolt, "eV", prefix,
ratio<1'602'176'634, 1'000'000'000, -19>, joule> {}; ratio<1'602'176'634, 1'000'000'000, -19>, joule> {};
@@ -248,10 +245,7 @@ complete list of all the :term:`SI` prefixes supported by the library::
} }
Alternative hierarchy of prefixes is the one used in data information Alternative hierarchy of prefixes is the one used in data information
domain: domain::
.. code-block::
:force:
namespace data { namespace data {