Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dependencies:
- pip
- pip:
- jupyter-book==1.0.4post1
- quantecon-book-theme==0.15.0
- quantecon-book-theme==0.15.1
- sphinx-tojupyter==0.3.1
- sphinxext-rediraffe==0.3.0
- sphinx-exercise==1.0.1
Expand Down
34 changes: 34 additions & 0 deletions lectures/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,40 @@ sphinx:
nb_render_image_options:
width: 80%
nb_code_prompt_show: "Show {type}"
nb_merge_streams: true
nb_mime_priority_overrides: [
# HTML
['html', 'application/vnd.jupyter.widget-view+json', 10],
['html', 'application/javascript', 20],
['html', 'text/html', 30],
['html', 'text/latex', 40],
['html', 'image/svg+xml', 50],
['html', 'image/png', 60],
['html', 'image/jpeg', 70],
['html', 'text/markdown', 80],
['html', 'text/plain', 90],
# Jupyter Notebooks
['jupyter', 'application/vnd.jupyter.widget-view+json', 10],
['jupyter', 'application/javascript', 20],
['jupyter', 'text/html', 30],
['jupyter', 'text/latex', 40],
['jupyter', 'image/svg+xml', 50],
['jupyter', 'image/png', 60],
['jupyter', 'image/jpeg', 70],
['jupyter', 'text/markdown', 80],
['jupyter', 'text/plain', 90],
# LaTeX
['latex', 'text/latex', 10],
['latex', 'application/pdf', 20],
['latex', 'image/png', 30],
['latex', 'image/jpeg', 40],
['latex', 'text/markdown', 50],
['latex', 'text/plain', 60],
# Link Checker
['linkcheck', 'text/plain', 10],
]
suppress_warnings: [mystnb.unknown_mime_type, myst.domains]
# sphinx-proof
proof_minimal_theme: true
# -------------
html_js_files:
Expand All @@ -63,6 +96,7 @@ sphinx:
header_organisation: QuantEcon
repository_url: https://github.com/QuantEcon/lecture-python-intro
nb_repository_url: https://github.com/QuantEcon/lecture-python-intro.notebooks
path_to_docs: lectures
twitter: quantecon
twitter_logo_url: https://assets.quantecon.org/img/qe-twitter-logo.png
og_logo_url: https://assets.quantecon.org/img/qe-og-logo.png
Expand Down
Loading