Skip to content

Commit d1c1d6c

Browse files
committed
update configuration for download notebooks
1 parent 83572db commit d1c1d6c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

lectures/_config.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ html:
1212
baseurl: https://python.quantecon.org/
1313

1414
sphinx:
15-
extra_extensions: [sphinx_multitoc_numbering, sphinx_exercise, sphinxext.rediraffe]
15+
extra_extensions: [sphinx_multitoc_numbering, sphinx_exercise, sphinxext.rediraffe, sphinx_tojupyter]
1616
config:
1717
html_favicon: _static/lectures-favicon.ico
1818
html_theme: quantecon_book_theme
@@ -29,3 +29,9 @@ sphinx:
2929
google_analytics_id: UA-54984338-9
3030
rediraffe_redirects:
3131
index_toc.md: intro.md
32+
tojupyter_static_file_path: ["source/_static", "_static"]
33+
tojupyter_target_html: true
34+
tojupyter_urlpath: "https://python-programming.quantecon.org/"
35+
tojupyter_image_urlpath: "https://python-programming.quantecon.org/_static/"
36+
tojupyter_lang_synonyms: ["ipython", "ipython3", "python"]
37+
tojupyter_allow_html_only: true

0 commit comments

Comments
 (0)