From 2a733764ed75a50aa0c3f1e7dd91e3a718a3ad5b Mon Sep 17 00:00:00 2001 From: Brian Rose Date: Mon, 19 Jun 2023 19:46:17 -0600 Subject: [PATCH] update to latest template --- README.md | 6 +++--- _config.yml | 6 ++++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 568d17d..ffc09c2 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ # (Replace_with_your_title) Cookbook [![nightly-build](https://github.com/ProjectPythia/cookbook-template/actions/workflows/nightly-build.yaml/badge.svg)](https://github.com/ProjectPythia/cookbook-template/actions/workflows/nightly-build.yaml) -[![Binder](http://binder.mypythia.org/badge_logo.svg)](http://binder.mypythia.org/v2/gh/ProjectPythia/cookbook-template/main?labpath=notebooks) +[![Binder](https://binder.projectpythia.org/badge_logo.svg)](https://binder.projectpythia.org/v2/gh/ProjectPythia/cookbook-template/main?labpath=notebooks) This Project Pythia Cookbook covers ... (replace `...` with the main subject of your cookbook ... e.g., *working with radar data in Python*) @@ -31,12 +31,12 @@ This Project Pythia Cookbook covers ... (replace `...` with the main subject of (Add content for this section, e.g., "Example workflows include ... ") ## Running the Notebooks -You can either run the notebook using [Binder](https://mybinder.org/) or on your local machine. +You can either run the notebook using [Binder](https://binder.projectpythia.org/) or on your local machine. ### Running on Binder The simplest way to interact with a Jupyter Notebook is through -[Binder](https://mybinder.org/), which enables the execution of a +[Binder](https://binder.projectpythia.org/), which enables the execution of a [Jupyter Book](https://jupyterbook.org) in the cloud. The details of how this works are not important for now. All you need to know is how to launch a Pythia Cookbooks chapter via Binder. Simply navigate your mouse to diff --git a/_config.yml b/_config.yml index ca19144..ac7619e 100644 --- a/_config.yml +++ b/_config.yml @@ -36,7 +36,9 @@ parse: sphinx: config: - html_favicon: images/icons/favicon.ico + linkcheck_ignore: ["https://doi.org/*"] # don't run link checker on DOI links since they are immutable + nb_execution_raise_on_error: true # raise exception in build if there are notebook errors (this flag is ignored if building on binder) + html_favicon: notebooks/images/icons/favicon.ico html_last_updated_fmt: '%-d %B %Y' html_theme: sphinx_pythia_theme html_permalinks_icon: '' @@ -56,7 +58,7 @@ sphinx: icon: fab fa-youtube-square type: fontawesome launch_buttons: - binderhub_url: http://binder.mypythia.org + binderhub_url: https://binder.projectpythia.org notebook_interface: jupyterlab extra_navbar: | Theme by Project Pythia.