Skip to content

Commit 8886055

Browse files
Merge pull request #877 from sadielbartholomew/badge-fix
Docs: fix DOI badge at source & patch in built docs (to avoid rebuild)
2 parents c99ba6a + 6e245af commit 8886055

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

docs/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ <h2><strong>Introduction</strong><a class="headerlink" href="#introduction" titl
144144
</div>
145145
<section id="functionality">
146146
<h3><a class="toc-backref" href="#id6"><strong>Functionality</strong></a><a class="headerlink" href="#functionality" title="Permalink to this headline"></a></h3>
147-
<p>&lt;a href=”<a class="reference external" href="https://doi.org/10.5281/zenodo.14274886">https://doi.org/10.5281/zenodo.14274886</a>”&gt;&lt;img src=<a class="reference external" href="https://zenodo.org/badge/DOI/https://doi.org/10.5281/zenodo.14274886">https://zenodo.org/badge/DOI/https://doi.org/10.5281/zenodo.14274886</a> alt=DOI”&gt;&lt;/a&gt;</p>
147+
<p><a href="https://doi.org/10.5281/zenodo.14274886"><img src="https://zenodo.org/badge/DOI/10.5281/zenodo.14274886.svg" alt="DOI"></a></p>
148148
<p>The <code class="xref py py-obj docutils literal notranslate"><span class="pre">cf</span></code> package implements the <a class="reference internal" href="introduction.html#cf-data-model"><span class="std std-ref">CF data model</span></a> for its internal
149149
data structures and so is able to process any CF-compliant dataset. It
150150
is not strict about CF-compliance, however, so that partially
@@ -398,4 +398,4 @@ <h2><strong>Index and search</strong><a class="headerlink" href="#index-and-sear
398398

399399

400400
</body>
401-
</html>
401+
</html>

docs/introduction.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ <h1><strong>Introduction</strong><a class="headerlink" href="#introduction" titl
143143
</div>
144144
<section id="functionality">
145145
<h2><a class="toc-backref" href="#id5"><strong>Functionality</strong></a><a class="headerlink" href="#functionality" title="Permalink to this headline"></a></h2>
146-
<p>&lt;a href=”<a class="reference external" href="https://doi.org/10.5281/zenodo.14274886">https://doi.org/10.5281/zenodo.14274886</a>”&gt;&lt;img src=<a class="reference external" href="https://zenodo.org/badge/DOI/https://doi.org/10.5281/zenodo.14274886">https://zenodo.org/badge/DOI/https://doi.org/10.5281/zenodo.14274886</a> alt=DOI”&gt;&lt;/a&gt;</p>
146+
<p><a href="https://doi.org/10.5281/zenodo.14274886"><img src="https://zenodo.org/badge/DOI/10.5281/zenodo.14274886.svg" alt="DOI"></a></p>
147147
<p>The <code class="xref py py-obj docutils literal notranslate"><span class="pre">cf</span></code> package implements the <a class="reference internal" href="#cf-data-model"><span class="std std-ref">CF data model</span></a> for its internal
148148
data structures and so is able to process any CF-compliant dataset. It
149149
is not strict about CF-compliance, however, so that partially
@@ -369,4 +369,4 @@ <h2><a class="toc-backref" href="#id10"><strong>References</strong></a><a class=
369369

370370

371371
</body>
372-
</html>
372+
</html>

docs/source/introduction.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ is built on a complete implementation of the :ref:`CF-data-model`.
3535

3636
**Functionality**
3737
-----------------
38-
<a href="https://doi.org/10.5281/zenodo.14274886"><img src="https://zenodo.org/badge/DOI/https://doi.org/10.5281/zenodo.14274886" alt="DOI"></a>
38+
39+
.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.14274886.svg
40+
:target: https://doi.org/10.5281/zenodo.14274886
3941

4042
The `cf` package implements the :ref:`CF-data-model` for its internal
4143
data structures and so is able to process any CF-compliant dataset. It

0 commit comments

Comments
 (0)