Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 1.19 KB

README.md

File metadata and controls

30 lines (18 loc) · 1.19 KB

quantecon-example

A demonstration of Jupyter Book functionality using QuantEcon Python programming source material.

How to create your own Jupyter Book

For the purposes of this project, we are replicating the content under Python Programming for Quantitative Economics. To demonstrate at a high level what has been done, we first convert each source file from rST to MyST-syntax markdown, then build the book by following the instructions in the Books with Jupyter documentation.

Creating an environment

  1. conda env create -f environment.yml
  2. conda activate ebp

Building a Jupyter Book

Run the following command in your terminal: jb build book/. If you would like to work with a clean build, you can empty the build folder by running jb clean book/. If the jupyter execution is cached, this command will not delete the cached folder. To remove the build folder, you can run jb clean --all book/.

Publishing this Jupyter Book

Run ghp-import -n -p -f book/_build/html

If you are working on improving the quantecon-example, the publishing of your work is taken care by Github workflows.