From 5b5dea64877249fe5a8ff4a6bba610d388fbfe5e Mon Sep 17 00:00:00 2001 From: vuillaut <thomas.vuillaume@gmail.com> Date: Tue, 28 Sep 2021 20:15:17 +0200 Subject: [PATCH] running notebooks when building doc --- docs/conf.py | 5 ++++- docs/doc_requirements.txt | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index ac3ef95f..79bb073b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -82,4 +82,7 @@ html_theme = 'sphinx_rtd_theme' # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = ['_static'] \ No newline at end of file +html_static_path = ['_static'] + +# nbsphinx +nbsphinx_allow_errors = True \ No newline at end of file diff --git a/docs/doc_requirements.txt b/docs/doc_requirements.txt index 9193726b..db18f4e3 100644 --- a/docs/doc_requirements.txt +++ b/docs/doc_requirements.txt @@ -1,4 +1,5 @@ sphinx>=3 nbsphinx sphinx_rtd_theme -myst-parser \ No newline at end of file +myst-parser +ipykernel \ No newline at end of file -- GitLab