Skip to content

Commit cd74f54

Browse files
authored
Merge pull request #86 from QuantEcon/fix-sphinx-tojupyter-config
FIX: update sphinx tojupyter config for julia context
2 parents 0248ade + 2fb4957 commit cd74f54

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

lectures/_config.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ sphinx:
4141
- "image/jpeg"
4242
- "text/markdown"
4343
- "text/plain"
44+
highlight_language: julia
4445
html_favicon: _static/lectures-favicon.ico
4546
html_theme: quantecon_book_theme
4647
html_static_path: ['_static']
@@ -63,15 +64,16 @@ sphinx:
6364
mathjax_path: https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-svg.js
6465
rediraffe_redirects:
6566
index_toc.md: intro.md
67+
tojupyter_default_lang: julia
68+
tojupyter_lang_synonyms: ['julia-1.6']
6669
tojupyter_static_file_path: ["source/_static", "_static"]
6770
tojupyter_target_html: true
6871
tojupyter_urlpath: "https://julia.quantecon.org/"
6972
tojupyter_image_urlpath: "https://julia.quantecon.org/_static/"
7073
tojupyter_kernels:
71-
python3:
74+
julia:
7275
kernelspec:
73-
display_name: "Julia"
76+
display_name: Julia
7477
language: julia
75-
name: julia
76-
file_extension: ".jl"
78+
name: julia-1.6
7779
tojupyter_images_markdown: true

0 commit comments

Comments
 (0)