From 2b1fbb385f6827128ea3a7120670a19199507ef5 Mon Sep 17 00:00:00 2001 From: Paul Ivanov Date: Fri, 21 May 2021 00:06:36 -0700 Subject: [PATCH 1/2] add Python Programming and Numerical Methods --- docs/gallery.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/gallery.yml b/docs/gallery.yml index 4ae15e3..d138b86 100644 --- a/docs/gallery.yml +++ b/docs/gallery.yml @@ -161,3 +161,7 @@ repository: https://github.com/bvanderlei/jupyter-guide-to-linear-algebra image: https://bvanderlei.github.io/jupyter-guide-to-linear-algebra/_static/reflection_logo.png website: https://bvanderlei.github.io/jupyter-guide-to-linear-algebra/ +- name: "Python Programming And Numerical Methods: A Guide For Engineers And Scientists" + image: https://pythonnumericalmethods.berkeley.edu/_static/book_cover.jpg + website: https://pythonnumericalmethods.berkeley.edu/notebooks/Index.html + From 6e52d79a4356ac2feda1d88b80f36b31e4669b52 Mon Sep 17 00:00:00 2001 From: Chris Holdgraf Date: Sun, 21 Aug 2022 07:25:02 +0200 Subject: [PATCH 2/2] Fix repository bug --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 97e58d1..5872b1b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -154,7 +154,7 @@ def build_gallery(app: Sphinx): repo_text = "" star_text = "" - if item["repository"]: + if "repository" in item: repo_text = f'{{bdg-link-secondary}}`repo <{item["repository"]}>`' try: