diff --git a/.github/PULL_REQUEST_TEMPLATE/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE/PULL_REQUEST_TEMPLATE.md index 94cc6cac..4c57041e 100644 --- a/.github/PULL_REQUEST_TEMPLATE/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE/PULL_REQUEST_TEMPLATE.md @@ -3,3 +3,4 @@ Thank you for send a Pull Request to our code gallery! When adding or updating a - \[ \] The notebook has all the dependencies required to run in the IOOS env, if not please update the environment file. - \[ \] You added a title, description, and a line with `Created: YYYY-MM-DD` in the first cell. - \[ \] If you are updating a notebook add a line with `Updated: YYYY-MM-DD` below the created date. +- \[ \] Update the gallery entry to show your notebook thumbnail and description. diff --git a/jupyterbook/content/make_gallery.py b/jupyterbook/content/make_gallery.py index 8b8fbbad..90d91526 100644 --- a/jupyterbook/content/make_gallery.py +++ b/jupyterbook/content/make_gallery.py @@ -47,8 +47,8 @@ def make_gallery_entry(nb_path): :text-align: center :shadow: md - {{bdg-primary}}`{nb_path.split("/")[1].replace("_", " ").title().strip("Notebooks").strip()}` - {{bdg-secondary}}`ERDDAP` + {{bdg-primary}}`DATA SERVICE` + {{bdg-secondary}}`TOPICAL KEYWORD` {{bdg-info}}`{nb["metadata"]["language_info"]["name"]}` ^^^