Skip to content

Commit a6e0b47

Browse files
committed
Fix: run precommit on website files
1 parent 3caa028 commit a6e0b47

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+316
-327
lines changed

.github/workflows/build-site.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
2222
restore-keys: |
2323
${{ runner.os }}-gems-
24-
24+
2525
- name: Build Jekyll site
2626
uses: helaili/jekyll-action@v2
2727
with:

404.md

-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,3 @@ feature_404:
1414

1515
If not, please try to use the top navigation to get to the right spot.
1616
If you think there is an error on our site - [please open an issue here](https://github.com/pyOpenSci/pyopensci.github.io/issues).
17-

CNAME

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
www.pyopensci.org
1+
www.pyopensci.org

LICENSE

+2-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
MIT License
55

6-
Copyright (c) 2019
6+
Copyright (c) 2019
77

88
Permission is hereby granted, free of charge, to any person obtaining a copy
99
of this software and associated documentation files (the "Software"), to deal
@@ -27,7 +27,7 @@ SOFTWARE.
2727
# Blog posts, text content and images published on the website follow the CC SA license as follows:
2828
--------
2929

30-
Please credit pyOpenSci if you use images or content from our website.
30+
Please credit pyOpenSci if you use images or content from our website.
3131

3232
Attribution-ShareAlike 4.0 International
3333

@@ -456,4 +456,3 @@ the avoidance of doubt, this paragraph does not form part of the
456456
public licenses.
457457

458458
Creative Commons may be contacted at creativecommons.org.
459-

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ This is the website for pyOpenSci. Contributions welcome!!
66

77
## Development Environment
88

9-
If you want to contribute to the pyopensci website and you wish to test your changes locally prior to submitting a pr,
9+
If you want to contribute to the pyopensci website and you wish to test your changes locally prior to submitting a pr,
1010
do the following.
1111

1212
1. You will need to have ruby and bundler installed on your machine.
13-
2. Fork and clone this repository.
13+
2. Fork and clone this repository.
1414
3. Run `bundle install` in the root of this repository directory to install of the gems needed to run the site locally
15-
4. Once bundle install is complete, `bundle exec jekyll serve` will create a local host that you can use to run and view the site on your computer locally.
15+
4. Once bundle install is complete, `bundle exec jekyll serve` will create a local host that you can use to run and view the site on your computer locally.
1616

1717
## Contributors ✨
1818

_config.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ whitelist:
253253
- jemoji
254254
- jekyll-include-cache
255255
- jekyll-redirect-from
256-
256+
257257

258258
collections:
259259
packages:
@@ -321,4 +321,3 @@ defaults:
321321
comments: # true
322322
share: true
323323
related: true
324-

_data/advisory.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
sort: 1
33
bio: 'Executive Director, pyOpenSci'
44
organization: "RStudio"
5-
twitter:
5+
twitter:
66
github_username: tracykteal
77
github_image_id: 889238 # You can find this by right clicking on the image in your bio, and copying the link. the last part contains a 7 digit number that is your avatar image!
88
title: "Board chair"
99
board: true
1010
# Editors
11-
- name: Karen Cranston
11+
- name: Karen Cranston
1212
sort: 2
1313
title: ""
1414
bio: ''
1515
organization: ""
1616
twitter: kcranstn
1717
github_username: kcranston
1818
github_image_id: 312034
19-
board: true
19+
board: true

_data/contributors.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1778,7 +1778,7 @@
17781778
twitter: ctitusbrown
17791779
mastodon:
17801780
orcidid:
1781-
website:
1781+
website:
17821782
contributor_type:
17831783
- guest editor
17841784
- contributor

_data/navigation.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# main links
22
main:
33
- title: "Peer Review & Packages"
4-
url:
4+
url:
55
sub-nav:
66
- title: "About peer review"
7-
icon:
7+
icon:
88
url: "/about-peer-review/"
99
- title: "Peer review guide"
1010
url: "https://www.pyopensci.org/software-peer-review/"
@@ -22,9 +22,9 @@ main:
2222
- title: "Community"
2323
sub-nav:
2424
- title: "Our Community"
25-
url: "/our-community/"
25+
url: "/our-community/"
2626
- title: "Governance"
2727
icon: "fas fa-external-link-alt"
28-
url: "https://www.pyopensci.org/governance/"
28+
url: "https://www.pyopensci.org/governance/"
2929
- title: "Get Involved"
3030
url: /get-involved-contact.html

_includes/archive-cards.html

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
{% if post.feature_img %}
66
<img src="{{ post.feature_img }}" alt="{{ post.feature_alt }}">
77
{% endif %}
8-
8+
99
<div class="card__bkg">
1010
<h3 class="card-title">{{ post.title | markdownify | strip_html | truncate: 60 }}</h3>
1111
</div>
@@ -15,4 +15,3 @@ <h3 class="card-title">{{ post.title | markdownify | strip_html | truncate: 60 }
1515
</div>
1616
</a>
1717
</article>
18-

_includes/category-list.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@
2222
{% endfor %}
2323
</span>
2424
</p>
25-
{% endif %}
25+
{% endif %}

_includes/footer.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{% if site.data.ui-text[site.locale].follow_label %}
44
<li><strong>{{ site.data.ui-text[site.locale].follow_label }}</strong></li>
55
{% endif %}
6-
6+
77
{% if site.footer.links %}
88
{% for link in site.footer.links %}
99
{% if link.label and link.url %}
@@ -15,7 +15,7 @@
1515
{% endif %}
1616
{% endfor %}
1717
{% endif %}
18-
18+
1919
{% unless site.atom_feed.hide %}
2020
<li><a href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | relative_url }}{% endif %}"><i class="fas fa-fw fa-rss-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].feed_label | default: "Feed" }}</a></li>
2121
{% endunless %}

_includes/head/custom.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<link rel="icon" href="/images/favicon.ico" type="image/x-icon">
33
<link rel="preconnect" href="https://fonts.googleapis.com">
44
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
5-
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=Raleway:wght@200;300;400;600&display=swap" rel="stylesheet">
5+
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=Raleway:wght@200;300;400;600&display=swap" rel="stylesheet">
66
<script src="https://kit.fontawesome.com/2409929a54.js" crossorigin="anonymous"></script>
77

88
<!-- Matomo -->
@@ -20,7 +20,7 @@
2020
})();
2121
</script>
2222
<!-- End Matomo Code -->
23-
23+
2424

2525

2626
<!-- END custom head content-->

_includes/package-grid.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ <h3 class="card__title no_toc" itemprop="headline">
88
<p class="page__meta contributors">
99
<span><i class="fas fa-feather" aria-hidden="true"></i>
1010
<!-- Commas in between authors -->
11-
{% for aMaintainer in apackage.maintainer %}
11+
{% for aMaintainer in apackage.maintainer %}
1212
{{ aMaintainer }}{% if forloop.last == false %}, {% endif %}
1313
{% endfor %}
1414
</span>
@@ -33,4 +33,4 @@ <h3 class="card__title no_toc" itemprop="headline">
3333
{% endif %}
3434
</ul>
3535
</article>
36-
</div>
36+
</div>

_includes/people-grid.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ <h4 class="person_name" itemprop="headline">
4141
{% endif %}
4242
</div>
4343
</article>
44-
</div>
44+
</div>

_layouts/posts_gallery.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ <h2 class="archive__subtitle">{{ year.name }}</h2>
2727
</div>
2828
<a href="#page-title" class="back-to-top">{{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} &uarr;</a>
2929
</section>
30-
{% endfor %}
30+
{% endfor %}

_pages/blog.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ author_profile: false
1111
---
1212

1313
## Recent pyOpenSci Posts!
14-
<!--
14+
<!--
1515
{% comment %}
1616
{% include base_path %}
1717
{% include group-by-array collection=site.posts field="categories" %}

_pages/get-in-touch.md

+6-8
Original file line numberDiff line numberDiff line change
@@ -5,31 +5,29 @@ author_profile: false
55
published: true
66
site-map: true
77
permalink: /get-involved-contact.html
8-
redirect_from:
8+
redirect_from:
99
- /get-involved-contact/
1010
---
1111

1212
## Get Involved with pyOpensci
1313

14-
There are many ways for you to get involved with pyOpenSci!
14+
There are many ways for you to get involved with pyOpenSci!
1515

1616
* [Ask a question on our discourse forum](https://pyopensci.discourse.group/)
1717
* [Submit a package for peer review](https://github.com/pyOpenSci/software-submission)
1818
* ✔️ [Read our package author guide to learn more about the process.](https://www.pyopensci.org/software-peer-review/how-to/author-guide.html)
1919
* ✔️ [Check out our scope documentation to see if your package is in scope for our review.](https://www.pyopensci.org/software-peer-review/about/package-scope.html)
20-
* Got some time to help? [Check out our GitHub Project Board](https://github.com/orgs/pyOpenSci/projects/3/views/1) for a list of current issues that we could use help with.
20+
* Got some time to help? [Check out our GitHub Project Board](https://github.com/orgs/pyOpenSci/projects/3/views/1) for a list of current issues that we could use help with.
2121
* Any issue that is tagged `help-wanted` in our repos is fair game for anyone to tackle!
2222
* [Sign up to be a reviewer](https://forms.gle/GHfxvmS47nQFDcBM6) - We offer a reviewer mentorship program if you want to review a package but haven't reviewed code before!
2323

24-
* We also often recruit new editors to support our peer review process. [Keep an eye out on our discourse forum for posts about that.](https://pyopensci.discourse.group/)
24+
* We also often recruit new editors to support our peer review process. [Keep an eye out on our discourse forum for posts about that.](https://pyopensci.discourse.group/)
2525

2626

27-
## Keep in Touch with us
27+
## Keep in Touch with us
2828

29-
You can also follow us online:
29+
You can also follow us online:
3030

3131
* Follow us on Mastodon: [@pyopensci](https://fosstodon.org/@pyopensci)
3232
* Follow us on Twitter: [@pyopensci](https://www.twitter.com/pyopensci)
3333
* Post in our [pyOpenSci discussion forum](https://pyopensci.discourse.group/).
34-
35-

_pages/python-packages.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ header:
77
overlay_image: images/header.jpg
88
overlay_filter: 0.6
99
intro:
10-
- excerpt: "Below you will find a list of scientific Python packages that have
10+
- excerpt: "Below you will find a list of scientific Python packages that have
1111
been accepted into the pyOpenSci ecosystem through the open peer review process."
1212
toc: false
1313
classes: wide
14-
redirect_from:
14+
redirect_from:
1515
- /python-packages/
1616
---
1717

1818
{% include feature_row id="intro" type="center" %}
1919

2020
## Our accepted Python open source packages
2121

22-
The packages below have already been through our open peer review process and
22+
The packages below have already been through our open peer review process and
2323
are accepted as pyOpenSci packages.
2424

2525
<div class="grid">

_pages/redirects/coc-redirect.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ permalink: /peer-review-guide/about-peer-review/code-of-conduct.html
44
redirect_to: https://www.pyopensci.org/governance/code-of-conduct.html
55
---
66

7-
Oops - looks like you're looking for our {{ page.title }}. Directing you
8-
to the right page now: <a href="{{ page.redirect_to }}"> {{ page.redirect_to }} </a>
7+
Oops - looks like you're looking for our {{ page.title }}. Directing you
8+
to the right page now: <a href="{{ page.redirect_to }}"> {{ page.redirect_to }} </a>

_pages/redirects/contributing-guide.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ permalink: /contributing-guide/
44
redirect_to: https://www.pyopensci.org/peer-review-guide/
55
---
66

7-
Oops - looks like you're looking for our {{ page.title }}. Directing you
8-
to the right page now: <a href="{{ page.redirect_to }}"> {{ page.redirect_to }} </a>
7+
Oops - looks like you're looking for our {{ page.title }}. Directing you
8+
to the right page now: <a href="{{ page.redirect_to }}"> {{ page.redirect_to }} </a>

_pages/redirects/peer-review-guide/about.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ redirect_to: https://www.pyopensci.org/software-peer-review/about/intro.html
55
---
66

77

8-
Oops - looks like you're looking for our {{ page.title }}. Directing you
9-
to the right page now: <a href="{{ page.redirect_to }}"> {{ page.redirect_to }} </a>
8+
Oops - looks like you're looking for our {{ page.title }}. Directing you
9+
to the right page now: <a href="{{ page.redirect_to }}"> {{ page.redirect_to }} </a>

_pages/redirects/peer-review-guide/aims-scope.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ redirect_to: https://www.pyopensci.org/software-peer-review/about/package-scope.
55
---
66

77

8-
Oops - looks like you're looking for our {{ page.title }}. Directing you
9-
to the right page now: <a href="{{ page.redirect_to }}"> {{ page.redirect_to }} </a>
8+
Oops - looks like you're looking for our {{ page.title }}. Directing you
9+
to the right page now: <a href="{{ page.redirect_to }}"> {{ page.redirect_to }} </a>

_pages/redirects/peer-review-guide/author-guide.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ redirect_to: https://www.pyopensci.org/peer-review-guide/software-peer-review-gu
55
---
66

77

8-
Oops - looks like you're looking for our {{ page.title }}. Directing you
9-
to the right page now: <a href="{{ page.redirect_to }}"> {{ page.redirect_to }} </a>
8+
Oops - looks like you're looking for our {{ page.title }}. Directing you
9+
to the right page now: <a href="{{ page.redirect_to }}"> {{ page.redirect_to }} </a>

_pages/redirects/peer-review-guide/benefits.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ redirect_to: https://www.pyopensci.org/software-peer-review/about/benefits.html
55
---
66

77

8-
Oops - looks like you're looking for our {{ page.title }}. Directing you
9-
to the right page now: <a href="{{ page.redirect_to }}"> {{ page.redirect_to }} </a>
8+
Oops - looks like you're looking for our {{ page.title }}. Directing you
9+
to the right page now: <a href="{{ page.redirect_to }}"> {{ page.redirect_to }} </a>

_pages/redirects/peer-review-guide/coc.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ permalink: /peer-review-guide/about-peer-review/code-of-conduct.html
44
redirect_to: https://www.pyopensci.org/governance/CODE_OF_CONDUCT.html
55
---
66

7-
Oops - looks like you're looking for our {{ page.title }}. Directing you
8-
to the right page now: <a href="{{ page.redirect_to }}"> {{ page.redirect_to }} </a>
7+
Oops - looks like you're looking for our {{ page.title }}. Directing you
8+
to the right page now: <a href="{{ page.redirect_to }}"> {{ page.redirect_to }} </a>

_pages/redirects/peer-review-guide/guides/author-guide.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ redirect_to: https://www.pyopensci.org/software-peer-review/how-to/author-guide.
55
---
66

77

8-
Oops - looks like you're looking for our {{ page.title }}. Directing you
9-
to the right page now: <a href="{{ page.redirect_to }}"> {{ page.redirect_to }} </a>
8+
Oops - looks like you're looking for our {{ page.title }}. Directing you
9+
to the right page now: <a href="{{ page.redirect_to }}"> {{ page.redirect_to }} </a>

_pages/redirects/peer-review-guide/guides/editor-guide.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ redirect_to: https://www.pyopensci.org/software-peer-review/how-to/editors-guide
55
---
66

77

8-
Oops - looks like you're looking for our {{ page.title }}. Directing you
9-
to the right page now: <a href="{{ page.redirect_to }}"> {{ page.redirect_to }} </a>
8+
Oops - looks like you're looking for our {{ page.title }}. Directing you
9+
to the right page now: <a href="{{ page.redirect_to }}"> {{ page.redirect_to }} </a>

_pages/redirects/peer-review-guide/guides/editor-in-chief-guide.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ redirect_to: https://www.pyopensci.org/software-peer-review/how-to/editor-in-chi
55
---
66

77

8-
Oops - looks like you're looking for our {{ page.title }}. Directing you
9-
to the right page now: <a href="{{ page.redirect_to }}"> {{ page.redirect_to }} </a>
8+
Oops - looks like you're looking for our {{ page.title }}. Directing you
9+
to the right page now: <a href="{{ page.redirect_to }}"> {{ page.redirect_to }} </a>

_pages/redirects/peer-review-guide/guides/onboarding-guide.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ redirect_to: https://www.pyopensci.org/software-peer-review/how-to/onboarding-gu
55
---
66

77

8-
Oops - looks like you're looking for our {{ page.title }}. Directing you
9-
to the right page now: <a href="{{ page.redirect_to }}"> {{ page.redirect_to }} </a>
8+
Oops - looks like you're looking for our {{ page.title }}. Directing you
9+
to the right page now: <a href="{{ page.redirect_to }}"> {{ page.redirect_to }} </a>

_pages/redirects/peer-review-guide/guides/reviewer-guide.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ redirect_to: https://www.pyopensci.org/software-peer-review/how-to/reviewer-guid
55
---
66

77

8-
Oops - looks like you're looking for our {{ page.title }}. Directing you
9-
to the right page now: <a href="{{ page.redirect_to }}"> {{ page.redirect_to }} </a>
8+
Oops - looks like you're looking for our {{ page.title }}. Directing you
9+
to the right page now: <a href="{{ page.redirect_to }}"> {{ page.redirect_to }} </a>

0 commit comments

Comments
 (0)