diff --git a/.readthedocs.yml b/.readthedocs.yml index 1b0f323..b763743 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -20,4 +20,4 @@ conda: sphinx: builder: html fail_on_warning: true - configuration: book/_config.yml \ No newline at end of file + configuration: book/conf.py \ No newline at end of file diff --git a/book/_config.yml b/book/_config.yml index 106c7c3..f35a075 100644 --- a/book/_config.yml +++ b/book/_config.yml @@ -29,19 +29,20 @@ html: use_repository_button: true use_edit_page_button: true logo: true + announcement: ' 📢 Register now for the FESTIM 2.0 webinar on 15th May, 9:00 am EST' analytics: google_analytics_id: G-B9MJGSTP5V execute: # Force re-execution of notebooks on each build. - # See https://jupyterbook.org/content/execute.html + # See https://jupyter-book.readthedocs.io/v1/content/execute.html execute_notebooks: force timeout: -1 # Disable timeouts for executing notebooks cells # allow_errors: true # Allow errors in notebook cells sphinx: config: - html_static_path: ["images"] + html_static_path: ["images", "_static"] html_last_updated_fmt: "%b %d, %Y" suppress_warnings: - "mystnb.unknown_mime_type" @@ -64,8 +65,9 @@ sphinx: pyvista: ["https://docs.pyvista.org/", null] packaging: ["https://packaging.pypa.io/en/stable/", null] matplotlib: ["https://matplotlib.org/stable/", null] - festim: ["https://festim.readthedocs.io/en/stable/", null] + festim: ["https://festim.readthedocs.io/en/latest/", null] html_favicon: "images/festim logo symbol.png" + nb_execution_show_tb: True extra_extensions: - "sphinx.ext.autodoc" diff --git a/book/_static/style.css b/book/_static/style.css new file mode 100644 index 0000000..b1410e1 --- /dev/null +++ b/book/_static/style.css @@ -0,0 +1,3 @@ +html[data-theme="light"] .bd-header-announcement a { + color: #ade0e9 +} \ No newline at end of file diff --git a/book/conf.py b/book/conf.py new file mode 100644 index 0000000..34ec76d --- /dev/null +++ b/book/conf.py @@ -0,0 +1 @@ +# Dummy conf.py to satisfy ReadTheDocs validation before pre_build step