Skip to content

Commit 555c9f1

Browse files
committed
fix: cleanup styles for readability
1 parent 968ba12 commit 555c9f1

File tree

2 files changed

+231
-47
lines changed

2 files changed

+231
-47
lines changed

_pages/how-to-submit.md

Lines changed: 78 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@ toc: true
1414

1515

1616

17-
## <i class="fa-solid fa-rocket" style="color:#a193c6"></i> Submit Your Python Package for pyOpenSci Review
17+
## <i class="fa-solid fa-rocket" style="color:#a193c6"></i> Submit your Python package for review
1818

1919
You’ve created a Python package—now what? How do you ensure it follows best practices, is well-documented, and reaches the right audience?
2020

2121
**pyOpenSci’s peer review process** connects you with experts who will help refine your package’s structure, documentation, and usability. Accepted packages become part of our vetted ecosystem, increasing their visibility and credibility. You may also have the opportunity to publish in the [Journal of Open Source Software (JOSS)](https://www.pyopensci.org/software-peer-review/partners/joss.html).
2222

2323

24-
### <i class="fa-solid fa-circle-chevron-down" style="color:#a193c6"></i> Why submit a Python package for software peer review?
25-
- <i class="fa-solid fa-eye" style="color:#81c0aa;"></i> **Visibility & support:** Gain expert feedback on your code, documentation, and packaging.
26-
- <i class="fa-solid fa-check-circle" style="color:#81c0aa;"></i> **Quality & best practices:** Ensure your package follows open-source and scientific standards.
27-
- <i class="fa-solid fa-book-open" style="color:#81c0aa;"></i> **JOSS publication:** Get the option to publish in the Journal of Open Source Software (JOSS) after acceptance.
24+
### <i class="fa-solid fa-circle-chevron-down"></i> Why submit a Python package for software peer review?
25+
- <i class="fa-solid fa-eye" style="color:#8B868E"></i> **Visibility & support:** Gain expert feedback on your code, documentation, and packaging.
26+
- <i class="fa-solid fa-check-circle" style="color:#8B868E"></i> **Quality & best practices:** Ensure your package follows open-source and scientific standards.
27+
- <i class="fa-solid fa-book-open" style="color:#8B868E"></i> **JOSS publication:** Get the option to publish in the Journal of Open Source Software (JOSS) after acceptance.
2828

2929
<i class="fa-solid fa-book" style="color:#81c0aa;"></i> **[Learn more about the benefits of our peer review process](https://www.pyopensci.org/software-peer-review/about/benefits.html)**
3030

@@ -117,8 +117,20 @@ Once your have determined that you package it in scope and meets our core packag
117117
More....
118118
</figcaption>
119119
</figure>
120+
120121
Once submitted, our editors will review your issue and guide you through the next steps.
121122

123+
### <i class="fa-solid fa-check" style="color:#81c0aa;"></i> Guidelines for filling out the issue template
124+
125+
* **Complete all sections of the template.** If you have questions about fields, you can ask about them in the review issue.
126+
* **Do not modify existing formatting:** Please do not modify the template structure by adding elements to the template fields such as bold, italics, etc.
127+
* **Submit your issue only when fully completed:** If you can, try to avoid submitting an issue and then continuously editing it. If you'd like to work on the issue over time, consider forking our repository and working on the issue in your fork before submitting it as an option.
128+
* **If you made a pre-submission enquiry**, paste the link to the corresponding issue in your issue submission to link your submission request to the pre-submission discussion.
129+
130+
<div class="notice notice--info" markdown="1">
131+
<i class="fa-solid fa-circle-exclamation" style="color:#81c0aa;"></i> **Why does filling out our review template matter?**
132+
Our peer review workflow relies on scripts to process submission data. If the template structure is modified, it will break our automated processes!
133+
</div>
122134

123135
### <i class="fa-solid fa-list-check" style="color:#81c0aa;"></i> Choose the correct submission type
124136

@@ -149,26 +161,13 @@ If you need help getting your package ready for review, you can submit a help re
149161

150162
</div>
151163

152-
### <i class="fa-brands fa-github-alt" style="color:#81c0aa;"></i> Understanding our GitHub issue submission process
153-
154-
When you submit your package for review, you will **fill out a GitHub issue template**. This structured template helps our editorial board evaluate your package efficiently. This section helps you understand the elements of the template.
155-
156-
### <i class="fa-solid fa-check" style="color:#81c0aa;"></i> Guidelines for filling out the issue template
157-
158-
* **Complete all sections of the template.** If you have questions about fields, you can ask about them in the review issue.
159-
* **Do not modify existing formatting:** Please do not modify the template structure by adding elements to the template fields such as bold, italics, etc.
160-
* **Submit your issue only when fully completed:** If you can, try to avoid submitting an issue and then continuously editing it. If you'd like to work on the issue over time, consider forking our repository and working on the issue in your fork before submitting it as an option.
161-
* **If you made a pre-submission enquiry**, paste the link to the corresponding issue in your issue submission to link your submission request to the pre-submission discussion.
162-
163-
<div class="notice notice--info" markdown="1">
164-
<i class="fa-solid fa-circle-exclamation" style="color:#81c0aa;"></i> **Why does filling out our review template matter?**
165-
Our peer review workflow relies on scripts to process submission data. If the template structure is modified, it will break our automated processes!
166-
</div>
164+
## <i class="fa-brands fa-github-alt" style="color:#81c0aa;"></i> About our GitHub issue submission process
167165

166+
The structured template of our GitHub issue helps our editorial board evaluate your package efficiently. This section will help you understand some of the core elements of our template.
168167

169168
### <i class="fa-solid fa-eye-slash" style="color:#81c0aa;"></i> Sections you can ignore
170169

171-
Some sections of the template are **for editors only** and should be left blank. These include:
170+
Some template sections are **for editors only** and should be left blank. These include:
172171

173172
- **Editorial assignments:** "EiC," "Editor," "Reviewer 1," "Reviewer 2"
174173
- **JOSS-specific fields:** "JOSS DOI," "Version accepted," "Date accepted"
@@ -185,11 +184,35 @@ Version accepted: TBD
185184
Date accepted (month/day/year): TBD
186185
```
187186
187+
### JOSS publication
188+
189+
One of the benefits of submitting your package to pyOpenSci for review is that once it's approved, it can be fast-tracked for publication with [JOSS](https://joss.theoj.org/). JOSS accepts pyOpenSci's review as theirs, and therefore, you will not need to go through another full review. Instead, JOSS will only review your paper.md file.
190+
188191
### <i class="fa-solid fa-users" style="color:#81c0aa;"></i> Community partnerships
189192
190-
We collaborate with domain-specific organizations to ensure high-quality reviews. If you are interested in becoming an affiliated project associated with one of our partners, you can click on the partner that your package's scope aligns with. Our most active partnership is with [Astropy](https://www.pyopensci.org/software-peer-review/partners/astropy.html).
191193
192-
If your package fits within one of our partnerships, we will assign an editor who is able to review your package for both OpenSci requirements and the affiliation project affiliation.
194+
We collaborate with [domain-specific organizations](https://www.pyopensci.org/software-peer-review/partners/scientific-communities.html) that run their own package review processes. Instead of undergoing **separate reviews**, you package can be considered for affiliation with three organizations in **one streamlined pyOpenSci review**.
195+
196+
If your package fits within a partnered domain, we will assign an editor familiar with both **pyOpenSci’s** and the affiliated community’s **review standards**.
197+
This allows your package to:
198+
199+
- **Gain community affiliation** (for example, Astropy for astronomy-related packages).
200+
- **Join pyOpenSci’s vetted ecosystem** as a recognized open source tool.
201+
- **Optionally be fast-tracked for publication in JOSS** after pyOpenSci acceptance.
202+
203+
**[Astropy](https://www.pyopensci.org/software-peer-review/partners/astropy.html)** is currently our most active partnership.
204+
205+
*Below is the template if you want to be considered for partner-community affiliation.*
206+
207+
```markdown
208+
209+
## Community Partnerships
210+
211+
If your package is associated with an existing community please check below:
212+
213+
- [ ] Astropy:[My package adheres to Astropy community standards](https://www.pyopensci.org/software-peer-review/partners/astropy.html)
214+
- [ ] Pangeo: My package adheres to the [Pangeo standards listed in the pyOpenSci peer review guidebook][PangeoCollaboration]
215+
```
193216
194217
<figure>
195218
<source srcset="/images/peer-review/pyos-partnerships-peer-review.webp" type="image/webp">
@@ -200,44 +223,50 @@ If your package fits within one of our partnerships, we will assign an editor wh
200223
</figcaption>
201224
</figure>
202225
203-
### <i class="fa-solid fa-pen-to-square" style="color:#81c0aa;"></i> Double check your your submission before hitting submit
204226
205-
Before submitting your issue, double-check that all fields are filled out correctly. You can use the GitHub preview tab to ensure the issue looks correct. Check the following things:
227+
### Code of conduct & package maintenance commitment
206228
207-
✅ The issue is **fully completed**
208-
✅ The template **formatting has not been changed**
209-
✅ The **Write tab preview looks correct**
229+
To be considered for review, you must agree to both:
230+
1. **Follow our Code of Conduct:** Ensure respectful and constructive collaboration.
231+
2. **Commit to package maintenance:** Keep your package updated after acceptance.
210232
211-
## TODO: add screenshot of the preview
212233
213-
<div class="notice notice--tip" markdown="1">
214-
One of the quirky things about the pyOpenSci submission template is that checkboxes have two completion methods:
215-
- You can manually add an "X" inside the box (`[X]`).
216-
- Or, after submission, click the box to check it off.
217-
</div>
234+
```markdown
235+
## Code of Conduct & Commitment to Maintain Package
218236

219-
Need more Markdown help? Check out this [Markdown Guide](https://www.markdownguide.org/basic-syntax/).
237+
- [ ] I agree to abide by [pyOpenSci's Code of Conduct][PyOpenSciCodeOfConduct] during the review process and in maintaining my package after should it be accepted.
238+
- [ ] I have read and will commit to package maintenance after the review as per the [pyOpenSci Policies Guidelines][Commitment].
239+
```
220240
241+
#### <i class="fa-solid fa-comments" style="color:#81c0aa;"></i> Code of conduct: constructive collaboration
221242
222-
Once you're ready, **submit your issue**, and our editors will take it from there! 🚀
243+
pyOpenSci’s peer review is a **collaborative process** focused on **improving your package**.
244+
We require all maintainers, reviewers, and editors to follow our [Code of Conduct](https://www.pyopensci.org/handbook/CODE_OF_CONDUCT.html) to ensure discussions remain **professional, constructive, and respectful**.
223245
224-
#### Code of Conduct & Commitment to Maintain Package
225246
226-
In order for your package to progress through the pyOpenSci review process, you'll need to check both of the [Code of Conduct](https://www.pyopensci.org/handbook/CODE_OF_CONDUCT.html) agreement as well as the [maintenance agreement](https://www.pyopensci.org/software-peer-review/our-process/policies.html#after-acceptance-package-ownership-and-maintenance) outlined in the [pyOpenSci Policies Guidelines](https://www.pyopensci.org/software-peer-review/about/intro.html). You can indicate your agreement in one of two ways:
247+
#### <i class="fa-solid fa-wrench" style="color:#81c0aa;"></i> Package maintenance: sustaining a curated ecosystem
248+
249+
Our peer review process aims to build a **trusted ecosystem of well-maintained scientific Python packages**. Maintainers should expect to **actively maintain** their package for at least **2 years** after acceptance.
250+
251+
If your primary goal is publication rather than ongoing package maintenance, consider submitting directly to [JOSS](https://joss.theoj.org/) instead.
252+
253+
<!--
254+
You can indicate your agreement in one of two ways:
227255
* adding an "X" (without quotation marks) inside the brackets in the Markdown version of the issue, so that it reads like this: [X]
228256
* submitting the issue without making any changes to this section, and then clicking on the checkboxes when they're rendered in the submitted issue.
257+
-->
229258
230-
<!-- #### For all submissions
259+
## TODO: add screenshot of the preview
231260
232-
This section is important, as it helps us more holistically evaluate your package and determine whether or not it's a good fit for pyOpenSci review. Each of the following sections should be addressed/answered:
233-
* *Explain how and why the package falls under the categories you indicated above.* Here's where you'll provide us with information that connects your package and its functionality to both its domain and technical capabilities.
234-
* *Who is the target audience and what are scientific applications of this package?* This helps us understand who will be using the package.
235-
* *Are there other Python packages that accomplish the same thing? If so, how does yours differ?* This helps us get a handle on other packages that fall within the same domain, as well as ensure that efforts aren't being duplicated.
236-
-->
261+
<div class="notice notice--tip" markdown="1">
262+
One of the quirky things about the pyOpenSci submission template is that checkboxes have two completion methods:
263+
- You can manually add an "X" inside the box (`[X]`).
264+
- Or, after submission, click the box to check it off.
237265

238-
#### Publication Options
266+
Need more Markdown help? Check out this [Markdown Guide](https://www.markdownguide.org/basic-syntax/).
267+
</div>
239268

240-
One of the benefits of submitting your package to pyOpenSci for review is that once it's approved, it can be fast-tracked for publication with [JOSS](https://joss.theoj.org/). JOSS accepts pyOpenSci's review as theirs, and therefore you will not need to go through another full review. Instead, JOSS will only review your paper.md file.
269+
Once you're ready, **submit your issue**, and our editors will take it from there! 🚀
241270

242271
#### Please fill out our survey
243272

@@ -258,10 +287,12 @@ During this process, editors may request **minor updates** to help your package
258287

259288
📖 **Read the full review process in our** [Peer Review Guide](https://www.pyopensci.org/software-peer-review/how-to/author-guide.html).
260289

290+
<div class="notice notice--info" markdown="1">
261291
## <i class="fa-regular fa-comments"></i> Connect with us!
262292

263-
If you found this how-to guide useful, or if you have suggestions for how to improve it, we'd love to hear from you! Reach out to us on:
293+
If you found this how-to guide useful, or if you have suggestions for improving it, we'd love to hear from you! Reach out to us on:
264294

265295
* [BlueSky]()
266296
* [Fosstodon](https://fosstodon.org/@pyOpenSci),
267297
* [LinkedIn](https://www.linkedin.com/company/pyopensci),
298+
</div>

_sass/minimal-mistakes/_base.scss

Lines changed: 153 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,159 @@
233233
}
234234
blockquote.highlight-quote.purple:after{
235235
color: $pyos-mediumpurple;
236+
}
237+
}
238+
239+
240+
@include breakpoint('max-width: #$mobile') {
241+
padding: 0;
242+
//font-size: 2rem;
243+
}
244+
}
245+
246+
// for some reason i have to manually override here
247+
blockquote.highlight-quote.magenta:after{
248+
color: $pyos-magenta;
249+
}
250+
blockquote.highlight-quote.purple:after{
251+
color: $pyos-mediumpurple;
252+
}
253+
254+
/* links */
255+
256+
a {
257+
text-underline-offset: .1em;
258+
text-decoration-color: rgba($text-color, 0.7);
259+
text-decoration: underline;
260+
261+
262+
&:focus {
263+
@extend %tab-focus;
264+
}
265+
266+
&:visited {
267+
color: $link-color-visited;
268+
}
269+
270+
&:hover {
271+
color: $link-color-hover;
272+
outline: 0;
273+
text-decoration: none !important;
274+
text-decoration-line: none !important;
275+
transition: color 0.3s ease, text-decoration-color 0.3s ease;
276+
}
277+
}
278+
279+
/* buttons */
280+
281+
button:focus {
282+
@extend %tab-focus;
283+
}
284+
285+
/* code */
286+
287+
tt,
288+
code,
289+
kbd,
290+
samp,
291+
pre {
292+
font-family: $monospace;
293+
font-weight: $weight-5;
294+
font-size: 1em;
295+
}
296+
297+
298+
299+
300+
kbd {
301+
background-color: $kbd-color-background;
302+
color: $kbd-color-text;
303+
border-radius: 0.25rem;
304+
box-shadow: 0 2px 0 1px $kbd-color-border;
305+
line-height: 1;
306+
font-size: .75em;
307+
padding: .15em .25em;
308+
309+
&:hover {
310+
box-shadow: 0 1px 0 0.5px $kbd-color-border;
311+
top: 1px;
312+
}
313+
}
314+
315+
pre {
316+
overflow-x: auto; /* add scrollbars to wide code blocks*/
317+
}
318+
319+
/* horizontal rule */
320+
321+
hr {
322+
display: block;
323+
margin: 1em 0;
324+
border: 0;
325+
border-top: 1px solid $border-color;
326+
}
327+
328+
/* lists */
329+
330+
ul,
331+
ol {
332+
margin-bottom: 1.9em;
333+
font-weight: $weight-3;
334+
}
335+
ul li,
336+
ol li {
337+
margin-bottom: 0.3em;
338+
font-size: $type-size-5;
339+
list-style: 1.4em;
340+
}
341+
342+
ul li::marker {
343+
color: #9C939F; /* Change bullet color */
344+
}
345+
346+
li ul,
347+
li ol {
348+
margin-top: 0.5em;
349+
}
350+
351+
/*
352+
Media and embeds
353+
========================================================================== */
354+
355+
/* Figures and images */
356+
357+
figure {
358+
display: -webkit-box;
359+
display: flex;
360+
-webkit-box-pack: justify;
361+
justify-content: space-between;
362+
-webkit-box-align: start;
363+
align-items: flex-start;
364+
flex-wrap: wrap;
365+
margin: 2em 0;
366+
367+
img,
368+
iframe,
369+
.fluid-width-video-wrapper {
370+
margin-bottom: 1em;
371+
}
372+
373+
img {
374+
width: 100%;
375+
border-radius: $border-radius;
376+
-webkit-transition: $global-transition;
377+
transition: $global-transition;
378+
}
379+
380+
> a {
381+
display: block;
382+
}
383+
384+
&.half {
385+
> a,
386+
> img {
387+
@include breakpoint($small) {
388+
width: calc(50% - 0.5em);
236389
}
237390

238391
/* links */

0 commit comments

Comments
 (0)