Skip to content

Commit 7d9cb26

Browse files
authored
fix: linkchecker ignore zenodo and define root (#830)
* fix: linkchecker ignore zenodo and define root * fix: testing broken links * fix: broken links for days * fix: more broken links * fix: more broken links * fix: adjust gha * fix: more broken links * fix: broken links xxxx
1 parent e0bbdb9 commit 7d9cb26

28 files changed

Lines changed: 73 additions & 93 deletions

.github/workflows/build-site.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ jobs:
3737
uses: lycheeverse/lychee-action@8646ba30535128ac92d33dfc9133794bfdd9b411 #v2.8.0
3838
with:
3939
fail: true
40-
args: --verbose --no-progress _site/*.html
40+
args: --verbose --no-progress --root-dir _site --exclude 'zenodo\.org' _site
4141
env:
4242
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
4343

4444
- name: Check HTML using htmlproofer
45-
uses: chabad360/htmlproofer@v2
45+
uses: chabad360/htmlproofer@c2750eb7eb937599ac859517e7dd23a29f1b3ed7 #v2
4646
with:
4747
directory: "_site"
4848
arguments: |

.github/workflows/linkcheck.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Check out the code
14-
uses: actions/checkout@v6
14+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1515

1616
- name: Fetch main
1717
run: |
1818
git fetch origin main --depth 1
1919
git branch
2020
2121
- name: Setup Ruby
22-
uses: ruby/setup-ruby@v1
22+
uses: ruby/setup-ruby@6ca151fd1bfcfd6fe0c4eb6837eb0584d0134a0c #v1.290.0
2323
with:
2424
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
2525

@@ -35,7 +35,8 @@ jobs:
3535
args: >
3636
--verbose
3737
--no-progress
38-
--exclude '^/.*'
38+
--root-dir ${{ github.workspace }}/_site
39+
--exclude 'zenodo\.org'
3940
_site
4041
env:
4142
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ exclude:
193193
- /docs # ignore Minimal Mistakes /docs
194194
- /test # ignore Minimal Mistakes /test
195195
- styles/* # text spelling check
196+
- lychee-report.md
196197
keep_files:
197198
- .git
198199
- .svn

_data/authors.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ pyopensci:
1818
- label: "Mastodon"
1919
icon: "fab fa-fw fa-mastodon"
2020
url: "https://fosstodon.org/@pyopensci"
21-
- label: "Discord"
22-
icon: "fab fa-fw fa-discord"
23-
url: "https://discord.gg/yYyDFP2BcP"
2421

2522

2623
Executive Council:
@@ -119,9 +116,6 @@ Jesse Mostipak:
119116
- label: "Mastodon"
120117
icon: "fab fa-fw fa-mastodon"
121118
url: "https://fosstodon.org/@pyopensci"
122-
- label: "Discord"
123-
icon: "fab fa-fw fa-discord"
124-
url: "https://discord.gg/yYyDFP2BcP"
125119
Carlos Ramos Carreño:
126120
name : "Carlos Ramos Carreño"
127121
bio : "Software Developer"
@@ -195,9 +189,6 @@ Mandy Moore:
195189
- label: "Mastodon"
196190
icon: "fab fa-fw fa-mastodon"
197191
url: "https://fosstodon.org/@pyopensci"
198-
- label: "Discord"
199-
icon: "fab fa-fw fa-discord"
200-
url: "https://discord.gg/yYyDFP2BcP"
201192
Jeremiah Paige:
202193
name : "Jeremiah Paige"
203194
bio : "Python Speaker, Teacher, and Contributor of Open Source"

_includes/package-grid.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ <h3 class="package-card__title" itemprop="name">
5353
<li><a href="{{ apackage.archive }}" rel="permalink"><i class="fas fa-bookmark fa-fw" aria-hidden="true"></i> JOSS Approved</a></li>
5454
{% endif %}
5555
{% if apackage.partners contains "astropy" %}
56-
<li><a href="communities/astropy.html"><i class="fa-solid fa-check-double" aria-hidden="true"></i> <img src="https://img.shields.io/badge/Affiliated-Astropy-orange.svg?style=flat" alt="Astropy" /></a></li>
56+
<li><a href="/communities/astropy.html"><i class="fa-solid fa-check-double" aria-hidden="true"></i> <img src="https://img.shields.io/badge/Affiliated-Astropy-orange.svg?style=flat" alt="Astropy" /></a></li>
5757
{% endif %}
5858
{% if apackage.active == false %}
5959
<li class="package-card__archived"><i class="fa-solid fa-box-archive" aria-hidden="true"></i> Archived</li>

_posts/2024-03-01-pyos-newsletter-march-2024.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ You can read more about sunPy and pyOpenSci in [this lovely blog post](https://s
3838
Have a package you’ve developed, but aren’t sure it’s in scope for pyOpenSci? Complete a [pre-submission inquiry](https://github.com/pyOpenSci/software-submission/issues/new?assignees=&labels=presubmission&projects=&template=presubmission-inquiry.md&title=) and one of our editors will be in touch!
3939

4040
## <i class="fa-solid fa-plane-departure"></i> We're going to [PyCon US](https://us.pycon.org/2024/)
41-
Will we see you there? Our Executive Director and Founder, [Leah Wasser](https://github.com/lwasser), had her talk. [Friends don't let friends package alone](https://us.pycon.org/2024/schedule/presentation/34/), all about Python packaging for scientists, accepted for this May's conference. We've seen a sneak peek of her talk, and guarantee that you won't want to miss it! Be sure to [register today](https://us.pycon.org/2024/accounts/login/?next=/2024/registration/register)!
41+
Will we see you there? Our Executive Director and Founder, [Leah Wasser](https://github.com/lwasser), had her talk. [Friends don't let friends package alone](https://us.pycon.org/2024/schedule/presentation/34/), all about Python packaging for scientists, accepted for this May's conference. We've seen a sneak peek of her talk, and guarantee that you won't want to miss it! Be sure to [register today](https://us.pycon.org/2024/)!
4242

4343
## <i class="fa-regular fa-heart"></i> Congratulations, Leah!
4444

_posts/2024-04-01-pyos-newsletter-april-2024.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ pyOpenSci editors are volunteers who fulfill a critical role within pyOpenSci. E
2626

2727
## <i class="fa-solid fa-computer"></i> PyCon US 2024 Maintainers Summit
2828

29-
We’ve been talking (a lot) about the [PyCon Maintainers Summit](https://us.pycon.org/2024/events/maintainers-summit/) (which is now full, but [you can sign up for the waitlist](https://us.pycon.org/2024/events/maintainers-summit/)), happening this May in Pittsburgh. The Maintainers Summit, included in your [PyCon registration](https://us.pycon.org/2024/accounts/login/?next=/2024/registration/register), is where we come together to discuss and foster best practices on how to develop sustainable projects and nurture thriving communities. And thanks to [Mariatta Wijaya](https://mariatta.ca/), we’ve got an inside look into everything you can expect in [this incredible video](https://www.youtube.com/watch?v=L-Ok_89QJOM) featuring Kara Sowles, Inessa Pawson, and our Executive Director, Leah Wasser!
29+
We’ve been talking (a lot) about the [PyCon Maintainers Summit](https://us.pycon.org/2024/events/maintainers-summit/) (which is now full, but [you can sign up for the waitlist](https://us.pycon.org/2024/events/maintainers-summit/)), happening this May in Pittsburgh. The Maintainers Summit, included in your [PyCon registration](https://us.pycon.org/2024/), is where we come together to discuss and foster best practices on how to develop sustainable projects and nurture thriving communities. And thanks to [Mariatta Wijaya](https://mariatta.ca/), we’ve got an inside look into everything you can expect in [this incredible video](https://www.youtube.com/watch?v=L-Ok_89QJOM) featuring Kara Sowles, Inessa Pawson, and our Executive Director, Leah Wasser!
3030

3131
<a href="https://www.youtube.com/watch?v=L-Ok_89QJOM" target="_blank">
3232
<img src="/images/newsletter/04-2024-newsletter/ms-pycon-2024.png" alt="Watch the video" width="720" height="540" border="10" />
@@ -59,7 +59,7 @@ Online tickets are still available for [PyConDE & PyData Berlin](https://2024.py
5959
[Registration is still open](https://us.pycon.org/2024/) for [PyCon US 2024](https://us.pycon.org/2024/), happening May 15th–23rd in Pittsburgh, PA. There’s also an online component for folks who can’t be there in person. It’s shaping up to be a stacked event, and you can view the schedule [here](https://us.pycon.org/2024/schedule/).
6060

6161
### GeoPython
62-
Registration is live for [GeoPython](https://2024.geopython.net/), THE event for Python- and Geo-Enthusiasts. There are online and in-person options, and the event is scheduled for May 27th–29th in Basel, Switzerland.
62+
Registration is live for [GeoPython](https://geo-python-site.readthedocs.io/en/2024.0/), THE event for Python- and Geo-Enthusiasts. There are online and in-person options, and the event is scheduled for May 27th–29th in Basel, Switzerland.
6363

6464
### SciPy–early bird ends soon!
6565
Happening July 8th–14th in Tacoma, WA, [SciPy registration is live](https://www.scipy2024.scipy.org/), and you can grab your early bird tickets until April 30th.

_posts/2024-04-29-pyos-newsletter-may-2024.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ If you weren’t able to attend PyConDE & PyData Berlin 2024 to hear [Inessa Paw
8787

8888
## <i class="fa-brands fa-python"></i> Upcoming Python events for scientists
8989
### PyCon US
90-
[Registration is still open](https://us.pycon.org/2024/accounts/login/?next=/2024/registration/register) for [PyCon US 2024](https://us.pycon.org/2024/), happening May 15th–23rd in Pittsburgh, PA. There’s also an online component for folks who can’t be there in person. It’s shaping up to be a stacked event, and you can [view the schedule here](https://us.pycon.org/2024/schedule/).
90+
[Registration is still open](https://us.pycon.org/2024/) for [PyCon US 2024](https://us.pycon.org/2024/), happening May 15th–23rd in Pittsburgh, PA. There’s also an online component for folks who can’t be there in person. It’s shaping up to be a stacked event, and you can [view the schedule here](https://us.pycon.org/2024/schedule/).
9191

9292
### PyCon Italia
9393
Fancy a trip to Florence? Then grab your tickets for PyCon Italia! The conference runs Wednesday, May 22nd through Saturday, May 25th, and has a stacked list of [keynote speakers](https://2024.pycon.it/en/schedule/2024-05-22?view=grid).

0 commit comments

Comments
 (0)