@@ -44,8 +44,43 @@ sphinx:
4444 nb_render_image_options :
4545 width : 80%
4646 nb_code_prompt_show : " Show {type}"
47+ nb_merge_streams : true
48+ nb_mime_priority_overrides : [
49+ # HTML
50+ ['html', 'application/vnd.jupyter.widget-view+json', 10],
51+ ['html', 'application/javascript', 20],
52+ ['html', 'text/html', 30],
53+ ['html', 'text/latex', 40],
54+ ['html', 'image/svg+xml', 50],
55+ ['html', 'image/png', 60],
56+ ['html', 'image/jpeg', 70],
57+ ['html', 'text/markdown', 80],
58+ ['html', 'text/plain', 90],
59+ # Jupyter Notebooks
60+ ['jupyter', 'application/vnd.jupyter.widget-view+json', 10],
61+ ['jupyter', 'application/javascript', 20],
62+ ['jupyter', 'text/html', 30],
63+ ['jupyter', 'text/latex', 40],
64+ ['jupyter', 'image/svg+xml', 50],
65+ ['jupyter', 'image/png', 60],
66+ ['jupyter', 'image/jpeg', 70],
67+ ['jupyter', 'text/markdown', 80],
68+ ['jupyter', 'text/plain', 90],
69+ # LaTeX
70+ ['latex', 'text/latex', 10],
71+ ['latex', 'application/pdf', 20],
72+ ['latex', 'image/png', 30],
73+ ['latex', 'image/jpeg', 40],
74+ ['latex', 'text/markdown', 50],
75+ ['latex', 'text/plain', 60],
76+ # Link Checker
77+ ['linkcheck', 'text/plain', 10],
78+ ]
4779 suppress_warnings : [mystnb.unknown_mime_type, myst.domains]
80+ # sphinx-proof
4881 proof_minimal_theme : true
82+ # sphinx-exercise
83+ exercise_style : " solution_follow_exercise"
4984 # -------------
5085 html_js_files :
5186 - https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js
@@ -63,6 +98,7 @@ sphinx:
6398 header_organisation : QuantEcon
6499 repository_url : https://github.com/QuantEcon/lecture-python-intro
65100 nb_repository_url : https://github.com/QuantEcon/lecture-python-intro.notebooks
101+ path_to_docs : lectures
66102 twitter : quantecon
67103 twitter_logo_url : https://assets.quantecon.org/img/qe-twitter-logo.png
68104 og_logo_url : https://assets.quantecon.org/img/qe-og-logo.png
0 commit comments