Skip to content

Commit a3720fd

Browse files
committed
test: switch to new quantecon-sphinx-theme
Replace quantecon-book-theme with quantecon-sphinx-theme from https://github.com/QuantEcon/quantecon-sphinx-theme Changes: - environment.yml: Replace quantecon-book-theme==0.15.1 with quantecon-sphinx-theme installed from git main branch - _config.yml: Update html_theme to quantecon_sphinx_theme and adapt theme options to match the new theme's configuration schema This is a TEST PR to evaluate the new theme. DO NOT MERGE.
1 parent 3e4f703 commit a3720fd

File tree

2 files changed

+10
-19
lines changed

2 files changed

+10
-19
lines changed

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,<2.0
10-
- quantecon-book-theme==0.15.1
10+
- quantecon-sphinx-theme @ git+https://github.com/QuantEcon/quantecon-sphinx-theme.git@main
1111
- sphinx-tojupyter==0.6.0
1212
- sphinxext-rediraffe==0.3.0
1313
- sphinx-exercise==1.2.1

lectures/_config.yml

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -31,31 +31,22 @@ sphinx:
3131
# sphinx-exercise
3232
exercise_style: "solution_follow_exercise"
3333
html_favicon: _static/lectures-favicon.ico
34-
html_theme: quantecon_book_theme
34+
html_theme: quantecon_sphinx_theme
3535
html_static_path: ['_static']
3636
html_theme_options:
37-
authors:
38-
- name: Thomas J. Sargent
39-
url: http://www.tomsargent.com/
40-
- name: John Stachurski
41-
url: https://johnstachurski.net/
37+
color_scheme: default
38+
dark_mode: auto
39+
toc_sticky: true
40+
toc_autoexpand: true
4241
dark_logo: quantecon-logo-transparent.png
43-
header_organisation_url: https://quantecon.org
44-
header_organisation: QuantEcon
4542
repository_url: https://github.com/QuantEcon/lecture-python-programming.myst
46-
nb_repository_url: https://github.com/QuantEcon/lecture-python-programming.notebooks
43+
repository_branch: main
4744
path_to_docs: lectures
48-
twitter: quantecon
49-
twitter_logo_url: https://assets.quantecon.org/img/qe-twitter-logo.png
50-
og_logo_url: https://assets.quantecon.org/img/qe-og-logo.png
45+
use_repository_button: true
5146
description: This website presents a set of lectures on python programming for economics, designed and written by Thomas J. Sargent and John Stachurski.
5247
keywords: Python, QuantEcon, Quantitative Economics, Economics, Sloan, Alfred P. Sloan Foundation, Tom J. Sargent, John Stachurski
53-
analytics:
54-
google_analytics_id: G-X7DH1M2DPY
55-
launch_buttons:
56-
notebook_interface : classic # The interface interactive links will activate ["classic", "jupyterlab"]
57-
colab_url : https://colab.research.google.com
58-
thebe : false # Add a thebe button to pages (requires the repository to run on Binder)
48+
og_image: https://assets.quantecon.org/img/qe-og-logo.png
49+
twitter_handle: quantecon
5950
intersphinx_mapping:
6051
jax:
6152
- "https://jax.quantecon.org/"

0 commit comments

Comments
 (0)