From aff90617654aa0b010fc68c6a2eea3e0df6edf77 Mon Sep 17 00:00:00 2001 From: John ZuHone Date: Thu, 14 Jul 2022 13:34:14 -0400 Subject: [PATCH] Missed some of these --- HISTORY.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index d1645da2..b3b63ac5 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -314,7 +314,7 @@ you run into issues please let us know by `opening an issue on GitHub ``unyt`` namespace as well as when a unit name is passed as a string to ``unyt``. For example: - .. doctest:: + .. code-block:: >>> from unyt import meter, second >>> data = 1000.0 * meter / second @@ -343,7 +343,7 @@ you run into issues please let us know by `opening an issue on GitHub system so that conversions to "base" units will end up in that non-MKS system. For example: - .. doctest:: + .. code-block:: >>> from unyt import UnitRegistry, unyt_quantity >>> ureg = UnitRegistry(unit_system="cgs") @@ -358,7 +358,7 @@ you run into issues please let us know by `opening an issue on GitHub populated. For example, the author of a library making use of ``unyt`` could create an object that users can use to access unit data like this: - .. doctest:: + .. code-block:: >>> from unyt.unit_systems import add_symbols >>> from unyt.unit_registry import UnitRegistry