Skip to content

Commit 605e886

Browse files
Merge pull request #167 from festim-dev/announcement
Announcement
2 parents 4ae9c87 + b43e0c2 commit 605e886

4 files changed

Lines changed: 10 additions & 4 deletions

File tree

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ conda:
2020
sphinx:
2121
builder: html
2222
fail_on_warning: true
23-
configuration: book/_config.yml
23+
configuration: book/conf.py

book/_config.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,20 @@ html:
2929
use_repository_button: true
3030
use_edit_page_button: true
3131
logo: true
32+
announcement: ' 📢 Register now for the <a href="https://mit.zoom.us/meeting/register/PElrepT-Tpivqzu9Jepr_g#/registration" target="_blank">FESTIM 2.0 webinar on 15th May, 9:00 am EST'
3233
analytics:
3334
google_analytics_id: G-B9MJGSTP5V
3435

3536
execute:
3637
# Force re-execution of notebooks on each build.
37-
# See https://jupyterbook.org/content/execute.html
38+
# See https://jupyter-book.readthedocs.io/v1/content/execute.html
3839
execute_notebooks: force
3940
timeout: -1 # Disable timeouts for executing notebooks cells
4041
# allow_errors: true # Allow errors in notebook cells
4142

4243
sphinx:
4344
config:
44-
html_static_path: ["images"]
45+
html_static_path: ["images", "_static"]
4546
html_last_updated_fmt: "%b %d, %Y"
4647
suppress_warnings:
4748
- "mystnb.unknown_mime_type"
@@ -64,8 +65,9 @@ sphinx:
6465
pyvista: ["https://docs.pyvista.org/", null]
6566
packaging: ["https://packaging.pypa.io/en/stable/", null]
6667
matplotlib: ["https://matplotlib.org/stable/", null]
67-
festim: ["https://festim.readthedocs.io/en/stable/", null]
68+
festim: ["https://festim.readthedocs.io/en/latest/", null]
6869
html_favicon: "images/festim logo symbol.png"
70+
nb_execution_show_tb: True
6971

7072
extra_extensions:
7173
- "sphinx.ext.autodoc"

book/_static/style.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
html[data-theme="light"] .bd-header-announcement a {
2+
color: #ade0e9
3+
}

book/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Dummy conf.py to satisfy ReadTheDocs validation before pre_build step

0 commit comments

Comments
 (0)