From 710dc4c120206d85caae4d2c923fc5a2dec48022 Mon Sep 17 00:00:00 2001 From: mmcky Date: Tue, 13 Feb 2024 14:27:20 +1100 Subject: [PATCH 1/2] ENH: update show code cell prompt to be more concise --- lectures/_config.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lectures/_config.yml b/lectures/_config.yml index 6b99e06b..44e6b69a 100644 --- a/lectures/_config.yml +++ b/lectures/_config.yml @@ -34,6 +34,9 @@ latex: latex_documents: targetname: quantecon-python-intro.tex +mystnb: + nb_code_prompt_show: "Show {type}" + sphinx: extra_extensions: [sphinx_multitoc_numbering, sphinxext.rediraffe, sphinx_exercise, sphinx_togglebutton, sphinx.ext.intersphinx, sphinx_proof, sphinx_tojupyter] config: From 4cf22c1d62aab590d336f5a47f2d37ff8647e0f6 Mon Sep 17 00:00:00 2001 From: mmcky Date: Tue, 13 Feb 2024 14:42:24 +1100 Subject: [PATCH 2/2] move to correct location in config --- lectures/_config.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lectures/_config.yml b/lectures/_config.yml index 44e6b69a..ad95918c 100644 --- a/lectures/_config.yml +++ b/lectures/_config.yml @@ -34,9 +34,6 @@ latex: latex_documents: targetname: quantecon-python-intro.tex -mystnb: - nb_code_prompt_show: "Show {type}" - sphinx: extra_extensions: [sphinx_multitoc_numbering, sphinxext.rediraffe, sphinx_exercise, sphinx_togglebutton, sphinx.ext.intersphinx, sphinx_proof, sphinx_tojupyter] config: @@ -45,6 +42,8 @@ sphinx: # myst-nb config nb_render_image_options: width: 80% + nb_code_prompt_show: "Show {type}" + # ------------- html_favicon: _static/lectures-favicon.ico html_theme: quantecon_book_theme html_static_path: ['_static']