Skip to content

Commit 54d2286

Browse files
committed
UPD: update quantecon-book-theme to v0.20.2 and enable language switcher for zh-cn
1 parent 1a00e21 commit 54d2286

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

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.4post1
10-
- quantecon-book-theme==0.20.0
10+
- quantecon-book-theme==0.20.2
1111
- sphinx-tojupyter==0.6.0
1212
- sphinxext-rediraffe==0.3.0
1313
- sphinx-exercise==1.2.1

lectures/_config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,14 @@ sphinx:
9797
repository_url: https://github.com/QuantEcon/lecture-python-intro
9898
nb_repository_url: https://github.com/QuantEcon/lecture-python-intro.notebooks
9999
path_to_docs: lectures
100+
languages:
101+
- code: en
102+
name: English
103+
url: https://intro.quantecon.org
104+
- code: zh-cn
105+
name: 中文
106+
url: https://quantecon.github.io/lecture-intro.zh-cn
107+
current_language: en
100108
twitter: quantecon
101109
twitter_logo_url: https://assets.quantecon.org/img/qe-twitter-logo.png
102110
og_logo_url: https://assets.quantecon.org/img/qe-og-logo.png

0 commit comments

Comments
 (0)