Skip to content

Commit 3824be9

Browse files
ivanovcholdgrafagoose77bsipocz
authored
add Python Programming and Numerical Methods (#367)
Co-authored-by: Chris Holdgraf <choldgraf@berkeley.edu> Co-authored-by: Chris Holdgraf <choldgraf@gmail.com> Co-authored-by: Angus Hollands <goosey15@gmail.com> Co-authored-by: Brigitta Sipőcz <bsipocz@gmail.com>
1 parent bbd427d commit 3824be9

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def build_gallery(app: Sphinx):
114114
repo_text = ""
115115
star_text = ""
116116

117-
if item["repository"]:
117+
if "repository" in item:
118118
repo_text = f'{{bdg-link-secondary}}`repo <{item["repository"]}>`'
119119

120120
try:

docs/gallery.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,10 @@
285285
repository: https://github.com/bvanderlei/jupyter-guide-to-linear-algebra
286286
image: https://bvanderlei.github.io/jupyter-guide-to-linear-algebra/_static/reflection_logo.png
287287
website: https://bvanderlei.github.io/jupyter-guide-to-linear-algebra/
288+
# Note: this one has no public repository
289+
- name: "Python Programming And Numerical Methods: A Guide For Engineers And Scientists"
290+
image: https://pythonnumericalmethods.berkeley.edu/_static/book_cover.jpg
291+
website: https://pythonnumericalmethods.berkeley.edu/notebooks/Index.html
288292
- name: "Programming Differential Privacy"
289293
repository: https://github.com/uvm-plaid/programming-dp
290294
image: https://uvm-plaid.github.io/programming-dp/_static/logo.png

0 commit comments

Comments
 (0)