Skip to content

Commit bd6d5c7

Browse files
committed
Fix: ci fixes - mostly links
1 parent 1d95697 commit bd6d5c7

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.github/workflows/build-site.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ jobs:
3535
arguments: |
3636
--ignore-urls "https://fonts.googleapis.com,https://fonts.gstatic.com,_site/_posts/README/index.html"
3737
--ignore-files "/.+\/_posts\/README.md"
38-
--ignore-status-codes "0,403, 429, 503, 999"
38+
--ignore-status-codes "0, 200, 403, 429, 503, 999"

_includes/tutorial-grid.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ <h4 class="title" itemprop="headline">{{ atutorial.title }}</h4>
2121

2222
{% endif %}
2323
</div>
24-
{% if atutorial.btn_label %}
25-
<a href="{{ atutorial.url }}" class="btn {{ atutorial.btn_class }}"><i class="fa-solid fa-magnifying-glass"></i> {{ atutorial.btn_label }}</a>
24+
{% if atutorial.link %}
25+
<a href="{{ atutorial.link }}" class="btn {{ atutorial.btn_class }}"><i class="fa-solid fa-magnifying-glass"></i> {{ atutorial.btn_label }}</a>
2626
{% endif %}
2727
</article>

_tutorials/1-what-is-package.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ learning_objectives:
66
- "Understand what a Python package is"
77
- "Be able to list the 5 core components of a Python package"
88
- "Be able to explain the difference between generalizable code and code that supports a specific scientific application"
9-
url: https://www.pyopensci.org/python-package-guide/tutorials/intro.html
9+
link: https://www.pyopensci.org/python-package-guide/tutorials/intro.html
1010
btn_label: View Tutorial
1111
btn_class: btn--success btn--large
1212
---

_tutorials/2-make-code-installable.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ excerpt: "
44
Learn how to create the most basic version of a Python package which can then be installed into a Python environment."
55
learning_objectives:
66
- "Understand what a Python package is"
7-
url: https://www.pyopensci.org/python-package-guide/tutorials/1-installable-code.html
7+
link: https://www.pyopensci.org/python-package-guide/tutorials/1-installable-code.html
88
btn_label: View Tutorial
99
btn_class: btn--success btn--large
1010
---

_tutorials/3-publish-to-pypi.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ learning_objectives:
66
- "Build your package’s distributions"
77
- "Setup an account on test PyPI (the process is similar for the real PyPI)"
88
- "Publish your package to test PyPI"
9-
url: https://www.pyopensci.org/python-package-guide/tutorials/publish-pypi.html
9+
link: https://www.pyopensci.org/python-package-guide/tutorials/publish-pypi.html
1010
btn_label: View Tutorial
1111
btn_class: btn--success btn--large
1212
---

0 commit comments

Comments
 (0)