Skip to content

Commit 87ddfa2

Browse files
committed
Merge branch 'update_geom_series' of https://github.com/QuantEcon/lecture-python-intro into update_geom_series
2 parents 8430391 + fc61b03 commit 87ddfa2

32 files changed

+697
-1698
lines changed

.github/workflows/collab.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Install Build Software
3131
shell: bash -l {0}
3232
run: |
33-
pip install jupyter-book==0.15.1 docutils==0.17.1 quantecon-book-theme==0.7.1 sphinx-tojupyter==0.3.0 sphinxext-rediraffe==0.2.7 sphinx-exercise==0.4.1 sphinxcontrib-youtube==1.1.0 sphinx-togglebutton==0.3.1 arviz==0.13.0 sphinx_proof==0.1.3
33+
pip install jupyter-book==0.15.1 docutils==0.17.1 quantecon-book-theme==0.7.2 sphinx-tojupyter==0.3.0 sphinxext-rediraffe==0.2.7 sphinx-exercise==0.4.1 sphinxcontrib-youtube==1.1.0 sphinx-togglebutton==0.3.1 arviz==0.13.0 sphinx_proof==0.2.0 sphinx_reredirects==0.1.3
3434
# Build of HTML (Execution Testing)
3535
- name: Build HTML
3636
shell: bash -l {0}

environment.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,20 @@ channels:
44
- conda-forge
55
dependencies:
66
- python=3.11
7-
- anaconda=2024.02
7+
- anaconda=2024.06
88
- pip
99
- pip:
1010
- jupyter-book==0.15.1
1111
- docutils==0.17.1
12-
- quantecon-book-theme==0.7.1
12+
- quantecon-book-theme==0.7.2
1313
- sphinx-tojupyter==0.3.0
1414
- sphinxext-rediraffe==0.2.7
1515
- sphinx-exercise==0.4.1
16-
- sphinx-proof==0.1.3
16+
- sphinx-proof==0.2.0
1717
- ghp-import==1.1.0
1818
- sphinxcontrib-youtube==1.1.0
1919
- sphinx-togglebutton==0.3.1
20+
- sphinx_reredirects==0.1.3
2021
# Sandpit Requirements
2122
# - PuLP
2223
# - cvxpy

lectures/_config.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ latex:
3535
targetname: quantecon-python-intro.tex
3636

3737
sphinx:
38-
extra_extensions: [sphinx_multitoc_numbering, sphinxext.rediraffe, sphinx_exercise, sphinx_togglebutton, sphinx.ext.intersphinx, sphinx_proof, sphinx_tojupyter]
38+
extra_extensions: [sphinx_multitoc_numbering, sphinxext.rediraffe, sphinx_exercise, sphinx_togglebutton, sphinx.ext.intersphinx, sphinx_proof, sphinx_tojupyter, sphinx_reredirects]
3939
config:
4040
bibtex_reference_style: author_year
4141
# false-positive links
@@ -45,6 +45,7 @@ sphinx:
4545
width: 80%
4646
nb_code_prompt_show: "Show {type}"
4747
suppress_warnings: [mystnb.unknown_mime_type, myst.domains]
48+
proof_minimal_theme: true
4849
# -------------
4950
html_js_files:
5051
- https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js
@@ -70,8 +71,6 @@ sphinx:
7071
analytics:
7172
google_analytics_id: G-QDS1YRJNGM
7273
launch_buttons:
73-
notebook_interface : classic # The interface interactive links will activate ["classic", "jupyterlab"]
74-
binderhub_url : https://mybinder.org # The URL of the BinderHub (e.g., https://mybinder.org)
7574
colab_url : https://colab.research.google.com
7675
thebe : false # Add a thebe button to pages (requires the repository to run on Binder)
7776
intersphinx_mapping:
@@ -110,6 +109,9 @@ sphinx:
110109
mathjax_path: https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
111110
rediraffe_redirects:
112111
index_toc.md: intro.md
112+
# Remote Redirects
113+
redirects:
114+
ak2: https://python.quantecon.org/ak2.html
113115
tojupyter_static_file_path: ["_static"]
114116
tojupyter_target_html: true
115117
tojupyter_urlpath: "https://intro.quantecon.org/"
Loading

lectures/_static/quant-econ.bib

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,25 @@
33
Note: Extended Information (like abstracts, doi, url's etc.) can be found in quant-econ-extendedinfo.bib file in _static/
44
###
55
6+
7+
@book{russell2004history,
8+
title={History of western philosophy},
9+
author={Russell, Bertrand},
10+
year={2004},
11+
publisher={Routledge}
12+
}
13+
14+
@article{north1989,
15+
title={Constitutions and commitment: the evolution of institutions governing public choice in seventeenth-century England},
16+
author={North, Douglass C and Weingast, Barry R},
17+
journal={The journal of economic history},
18+
volume={49},
19+
number={4},
20+
pages={803--832},
21+
year={1989},
22+
publisher={Cambridge University Press}
23+
}
24+
625
@incollection{keynes1940pay,
726
title={How to Pay for the War},
827
author={Keynes, John Maynard},

lectures/_toc.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ parts:
5656
- file: unpleasant
5757
- file: money_inflation_nonlinear
5858
- file: laffer_adaptive
59-
- file: ak2
6059
- caption: Stochastic Dynamics
6160
numbered: true
6261
chapters:

0 commit comments

Comments
 (0)