Skip to content

Commit

Permalink
deploy: e12c3f1
Browse files Browse the repository at this point in the history
  • Loading branch information
lwasser committed Jul 22, 2024
1 parent 5f18b6f commit 4212fa6
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: cc2833a21f8956731789edb5b0ba6a96
config: 7b93902329c88cdf6bd97214d0f19ff2
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file modified .doctrees/environment.pickle
Binary file not shown.
7 changes: 4 additions & 3 deletions _static/searchtools.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ const Search = {

htmlToText: (htmlString, anchor) => {
const htmlElement = new DOMParser().parseFromString(htmlString, 'text/html');
for (const removalQuery of [".headerlinks", "script", "style"]) {
for (const removalQuery of [".headerlink", "script", "style"]) {
htmlElement.querySelectorAll(removalQuery).forEach((el) => { el.remove() });
}
if (anchor) {
Expand Down Expand Up @@ -328,13 +328,14 @@ const Search = {
for (const [title, foundTitles] of Object.entries(allTitles)) {
if (title.toLowerCase().trim().includes(queryLower) && (queryLower.length >= title.length/2)) {
for (const [file, id] of foundTitles) {
let score = Math.round(100 * queryLower.length / title.length)
const score = Math.round(Scorer.title * queryLower.length / title.length);
const boost = titles[file] === title ? 1 : 0; // add a boost for document titles
normalResults.push([
docNames[file],
titles[file] !== title ? `${titles[file]} > ${title}` : title,
id !== null ? "#" + id : "",
null,
score,
score + boost,
filenames[file],
]);
}
Expand Down
3 changes: 2 additions & 1 deletion about/intro.html
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,8 @@ <h3>How do I know that a Python package has been reviewed by pyOpenSci?<a class=
<p>You can identify pyOpenSci packages that have been peer-reviewed by the green
“peer-reviewed” badge at the top of their <code class="docutils literal notranslate"><span class="pre">README.md</span></code> file.</p>
<figure class="myclass align-default" id="pyos-badge">
<a class="bg-primary mb-1 reference internal image-reference" href="https://pyopensci.org/badges/peer-reviewed.svg"><img alt="The pyOpenSci Peer Reviewed badge" class="bg-primary mb-1" src="https://pyopensci.org/badges/peer-reviewed.svg" width="200px" /></a>
<a class="bg-primary mb-1 reference internal image-reference" href="https://pyopensci.org/badges/peer-reviewed.svg"><img alt="The pyOpenSci Peer Reviewed badge" class="bg-primary mb-1" src="https://pyopensci.org/badges/peer-reviewed.svg" style="width: 200px;" />
</a>
<figcaption>
<p><span class="caption-text">pyOpenSci Peer Review Badge</span><a class="headerlink" href="#pyos-badge" title="Link to this image">#</a></p>
</figcaption>
Expand Down
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,8 @@ <h2>Why pyOpenSci?<a class="headerlink" href="#why-pyopensci" title="Link to thi
among scientific Python users so that we can help each other become better
programmers and researchers.</p>
<figure class="myclass align-default" id="pyos-badge-home">
<a class="bg-primary mb-1 reference internal image-reference" href="https://pyopensci.org/badges/peer-reviewed.svg"><img alt="The pyOpenSci badge- On the left is the badge in grey and it says pyOpenSci. On the right it is bright green and says Peer Reviewed." class="bg-primary mb-1" src="https://pyopensci.org/badges/peer-reviewed.svg" width="200px" /></a>
<a class="bg-primary mb-1 reference internal image-reference" href="https://pyopensci.org/badges/peer-reviewed.svg"><img alt="The pyOpenSci badge- On the left is the badge in grey and it says pyOpenSci. On the right it is bright green and says Peer Reviewed." class="bg-primary mb-1" src="https://pyopensci.org/badges/peer-reviewed.svg" style="width: 200px;" />
</a>
<figcaption>
<p><span class="caption-text"><strong>pyOpenSci Peer Review Badge will appear on the README.md file of packages that have been
reviewed and vetted by us.</strong></span><a class="headerlink" href="#pyos-badge-home" title="Link to this image">#</a></p>
Expand Down
3 changes: 2 additions & 1 deletion partners/astropy.html
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,8 @@

<section id="pyopensci-s-partnership-with-astropy">
<h1>pyOpenSci’s partnership with Astropy<a class="headerlink" href="#pyopensci-s-partnership-with-astropy" title="Link to this heading">#</a></h1>
<a class="reference internal image-reference" href="../_images/astropy_project_logo.svg"><img alt="The Astropy logo. The logo is an orange egg shape with a white snake spiraling in it. The text of the image says The Astropy Project on three lines." class="align-center" src="../_images/astropy_project_logo.svg" width="600px" /></a>
<a class="reference internal image-reference" href="../_images/astropy_project_logo.svg"><img alt="The Astropy logo. The logo is an orange egg shape with a white snake spiraling in it. The text of the image says The Astropy Project on three lines." class="align-center" src="../_images/astropy_project_logo.svg" style="width: 600px;" />
</a>
<p>pyOpenSci has a collaboration with the <a class="reference external" href="https://www.astropy.org/">Astropy scientific community</a>. Through this collaboration we add an additional layer of peer review checks to Astropy-related packages that go through our <a class="reference external" href="https://www.pyopensci.org/software-peer-review/about/intro.html">open peer review process</a>. If the package meets both the <a class="reference external" href="https://www.astropy.org/affiliated/#becoming-an-affiliated-package">Astropy criteria for becoming an affiliated package</a> and our pyOpenSci peer review criteria, it can then become both an Astropy-affiliated package and a pyOpenSci ecosystem package.</p>
<p>If you are submitting a package for review and wish to also apply for Astropy affiliation, your package will be:</p>
<ul class="simple">
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

0 comments on commit 4212fa6

Please sign in to comment.