From 0368955b68b7728f8d671b7f0e3e100c09d5db99 Mon Sep 17 00:00:00 2001 From: mmcky Date: Fri, 18 Sep 2020 15:20:28 +1000 Subject: [PATCH 1/3] fix spacing so RST doesn't insert blockquote --- source/rst/getting_started.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/rst/getting_started.rst b/source/rst/getting_started.rst index 9aee023..090d600 100644 --- a/source/rst/getting_started.rst +++ b/source/rst/getting_started.rst @@ -429,25 +429,25 @@ One library we'll be using is `QuantEcon.py ` You can install `QuantEcon.py `__ by starting Jupyter and typing - ``!conda install quantecon`` +``!conda install quantecon`` into a cell. Alternatively, you can type the following into a terminal - ``conda install quantecon`` +``conda install quantecon`` More instructions can be found on the `library page `__. To upgrade to the latest version, which you should do regularly, use - ``conda upgrade quantecon`` +``conda upgrade quantecon`` Another library we will be using is `interpolation.py `__. This can be installed by typing in Jupyter - ``!conda install -c conda-forge interpolation`` +``!conda install -c conda-forge interpolation`` From 33189adc689ee6fe578faf4d3ce8e83e1bdbe73b Mon Sep 17 00:00:00 2001 From: mmcky Date: Mon, 21 Sep 2020 19:42:32 +1000 Subject: [PATCH 2/3] adjust to use syntax highlighted code-blocks --- source/rst/getting_started.rst | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/source/rst/getting_started.rst b/source/rst/getting_started.rst index 090d600..e7d66a5 100644 --- a/source/rst/getting_started.rst +++ b/source/rst/getting_started.rst @@ -429,25 +429,33 @@ One library we'll be using is `QuantEcon.py ` You can install `QuantEcon.py `__ by starting Jupyter and typing -``!conda install quantecon`` +.. code-block:: ipython3 + + !conda install quantecon into a cell. Alternatively, you can type the following into a terminal -``conda install quantecon`` +.. code-block:: bash + + conda install quantecon More instructions can be found on the `library page `__. To upgrade to the latest version, which you should do regularly, use -``conda upgrade quantecon`` +.. code-block:: bash + + conda upgrade quantecon Another library we will be using is `interpolation.py `__. This can be installed by typing in Jupyter -``!conda install -c conda-forge interpolation`` +.. code-block:: ipython3 + + !conda install -c conda-forge interpolation From 16a24dfa7018d18478f2b79044677d21e76df2a6 Mon Sep 17 00:00:00 2001 From: mmcky Date: Mon, 21 Sep 2020 19:53:22 +1000 Subject: [PATCH 3/3] add no-execute --- source/rst/getting_started.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/rst/getting_started.rst b/source/rst/getting_started.rst index e7d66a5..bd4d0de 100644 --- a/source/rst/getting_started.rst +++ b/source/rst/getting_started.rst @@ -430,6 +430,7 @@ You can install `QuantEcon.py `__ by starting Jupyter and typing .. code-block:: ipython3 + :class: no-execute !conda install quantecon @@ -438,6 +439,7 @@ into a cell. Alternatively, you can type the following into a terminal .. code-block:: bash + :class: no-execute conda install quantecon @@ -446,6 +448,7 @@ More instructions can be found on the `library page