diff --git a/lectures/_config.yml b/lectures/_config.yml index 43ef4b1a..e2adab46 100644 --- a/lectures/_config.yml +++ b/lectures/_config.yml @@ -39,8 +39,10 @@ sphinx: config: bibtex_reference_style: author_year # false-positive links - linkcheck_ignore: ['https://doi.org/https://doi.org/10.2307/1235116', 'https://unctad.org/publication/commodities-and-development-report-2019', - 'https://math.stackexchange.com/*', 'https://stackoverflow.com/*'] + linkcheck_ignore: [ + 'https://doi.org/https://doi.org/10.2307/1235116', + 'https://unctad.org/publication/commodities-and-development-report-2019', + 'https://math.stackexchange.com/*', 'https://stackoverflow.com/*', 'https://baike.baidu.com/*'] # myst-nb config nb_render_image_options: width: 80% @@ -126,4 +128,9 @@ sphinx: language: python3 name: python3 file_extension: ".py" - tojupyter_images_markdown: true \ No newline at end of file + tojupyter_images_markdown: true + nb_mime_priority_overrides: [ + # Link Checker + ['linkcheck', 'text/plain', 10], + ['linkcheck', 'text/html', 20], + ] \ No newline at end of file