Skip to content

Commit 71c98f5

Browse files
authored
MAINT: review config for lecture builds (#161)
* MAINT: review config * update environment for new version of quantecon-book-theme * add github pages hosting locations * fix link in _config.yml
1 parent 328a117 commit 71c98f5

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

environment-cn.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ dependencies:
88
- pip
99
- pip:
1010
- jupyter-book==1.0.3
11-
- quantecon-book-theme==0.7.6
11+
- quantecon-book-theme==0.8.2
1212
- sphinx-tojupyter==0.3.0
1313
- sphinxext-rediraffe==0.2.7
1414
- sphinx_reredirects==0.1.4

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dependencies:
77
- pip
88
- pip:
99
- jupyter-book==1.0.3
10-
- quantecon-book-theme==0.7.6
10+
- quantecon-book-theme==0.8.2
1111
- sphinx-tojupyter==0.3.0
1212
- sphinxext-rediraffe==0.2.7
1313
- sphinx-reredirects==0.1.4

lectures/_config.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ execute:
2525
- '_static/*'
2626

2727
html:
28-
baseurl: https://intro-cn.quantecon.org/
28+
baseurl: https://quantecon.github.io/lecture-intro.zh-cn
2929

3030
bibtex_bibfiles:
3131
- _static/quant-econ.bib
@@ -63,15 +63,16 @@ sphinx:
6363
dark_logo: quantecon-logo-transparent.png
6464
header_organisation_url: https://quantecon.org
6565
header_organisation: QuantEcon
66-
repository_url: https://github.com/QuantEcon/lecture-python-intro
67-
nb_repository_url: https://github.com/QuantEcon/lecture-python-intro.notebooks
66+
repository_url: https://github.com/QuantEcon/lecture-intro.zh-cn
67+
nb_repository_url: https://github.com/QuantEcon/lecture-intro.zh-cn.notebooks
68+
download_nb_path: https://quantecon.github.io/lecture-intro.zh-cn
6869
twitter: quantecon
6970
twitter_logo_url: https://assets.quantecon.org/img/qe-twitter-logo.png
7071
og_logo_url: https://assets.quantecon.org/img/qe-og-logo.png
7172
description: 本课程是由托马斯·萨金特(Thomas J. Sargent)和约翰·斯塔胡斯基(John Stachurski)设计和撰写的计算经济学入门讲座。
7273
keywords: Python, QuantEcon, Quantitative Economics, Economics, Sloan, Alfred P. Sloan Foundation, Tom J. Sargent, John Stachurski
73-
analytics:
74-
google_analytics_id: G-QDS1YRJNGM
74+
# analytics:
75+
# google_analytics_id: G-QDS1YRJNGM
7576
launch_buttons:
7677
notebook_interface : classic # The interface interactive links will activate ["classic", "jupyterlab"]
7778
binderhub_url : https://mybinder.org # The URL of the BinderHub (e.g., https://mybinder.org)
@@ -118,8 +119,8 @@ sphinx:
118119
ak2: https://python.quantecon.org/ak2.html
119120
tojupyter_static_file_path: ["_static"]
120121
tojupyter_target_html: true
121-
tojupyter_urlpath: "https://intro.quantecon.org/"
122-
tojupyter_image_urlpath: "https://intro.quantecon.org/_static/"
122+
tojupyter_urlpath: "https://quantecon.github.io/lecture-intro.zh-cn/"
123+
tojupyter_image_urlpath: "https://quantecon.github.io/lecture-intro.zh-cn/_static/"
123124
tojupyter_lang_synonyms: ["ipython", "ipython3", "python"]
124125
tojupyter_kernels:
125126
python3:

0 commit comments

Comments
 (0)