From d67eabf310f32990fe165905c133da7cbe72d184 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Tue, 10 Mar 2020 20:46:52 +0100 Subject: [PATCH] Forcing highlighting in Sphinx disabled --- docs/examples/avg_speed.rst | 1 - docs/framework/units.rst | 10 ++-------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/docs/examples/avg_speed.rst b/docs/examples/avg_speed.rst index 26938826..d4a18de5 100644 --- a/docs/examples/avg_speed.rst +++ b/docs/examples/avg_speed.rst @@ -5,4 +5,3 @@ avg_speed :caption: avg_speed.cpp :start-at: #include :linenos: - :force: diff --git a/docs/framework/units.rst b/docs/framework/units.rst index 125b15c7..714b29bf 100644 --- a/docs/framework/units.rst +++ b/docs/framework/units.rst @@ -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 the third additional argument that defines the exponent of the ratio. Thanks to it we can address nearly infinite scaling factors between units -and define units like: - -.. code-block:: - :force: +and define units like:: struct electronvolt : named_scaled_unit, 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 -domain: - -.. code-block:: - :force: +domain:: namespace data {