Skip to content

docs: add the Zenodo DOI and badge - #231

Merged
uniqueg merged 2 commits into
devfrom
docs/zenodo-doi
Oct 24, 2026
Merged

uniqueg merged 2 commits into
devfrom
docs/zenodo-doi

Conversation

@uniqueg

@uniqueg uniqueg commented Oct 24, 2026 •

Copy link
Copy Markdown
Member

Summary

Zenodo archived v0.3.0 and v0.4.0 (the latest one as
10.5281/zenodo.23607783). This PR
adds the concept DOI
10.5281/zenodo.23606856, which
stays the same for all versions and resolves to the latest one, so the
citation metadata never needs a per-release DOI update. Same pattern as
elixir-cloud-aai/protes#307:

  • CITATION.cff: doi and an identifiers entry (type doi) with the
    concept DOI. version and date-released are unchanged.
  • README.md: a DOI badge (Zenodo's badge, linked to doi.org) after the
    existing badges, and a "Citation" section (DOI, Zenodo, CITATION.cff and
    GitHub's "Cite this repository").
  • Docs: the README's citation section is included in the docs home page
    (docs/index.md, via a snippet), and "Citation metadata" in the
    contributing guide says that doi is the concept DOI.

The Zenodo record's metadata (v0.4.0) matches CITATION.cff: title (Cloud
Registry), the 5 authors in the same order with the same ORCID iDs and
affiliations, license (Apache 2.0), the 6 keywords, the abstract (as
description) and the message (as notes). No fix needed.

Light lane: docs and citation metadata only, no code, configuration or
workflows. I reviewed the diff myself instead of running the reviewer
subagents.

Verification

  • python scripts/citation.py check 0.4.0: passes.
  • cffconvert --validate -i CITATION.cff (cffconvert 2.0.0, as in CI):
    valid; the BibTeX export has the DOI.
  • pytest tests/test_citation.py tests/test_version_mentions.py tests/test_version.py tests/test_docs_hooks.py: 121 passed.
  • mkdocs build --strict: builds, the home page has the citation section.
  • pre-commit run --all-files: all hooks pass.
  • Merged origin/dev (docs badge URL fix, docs: fix the docs badge URL #230); resolved the conflict in
    the README's badge links by keeping both changes.
  • CI: all checks passed (image publish jobs skipped on PRs).

Declined review findings

None.

Open questions

None.

Closes #177

🤖 Generated with Claude Code

Summary by Sourcery

Document the project’s Zenodo concept DOI and make citation information readily available across repository and user documentation.

Enhancements:

  • Add the Zenodo concept DOI to the project’s citation metadata and document how it should be used across releases.
  • Add a DOI badge and citation guidance to the README and documentation home page.

Documentation:

  • Document concept DOI usage in the contributing guide.

uniqueg and others added 2 commits October 24, 2026 16:23
Add the Zenodo concept DOI, which stays the same for all versions and
resolves to the latest one, to CITATION.cff (doi and identifiers), a DOI
badge and a Citation section to the README, include that section in the
docs home page, and note in the contributing guide that doi is the
concept DOI.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@sourcery-ai

sourcery-ai Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

Reviewer's Guide

This documentation-only PR adds Zenodo's stable concept DOI to CITATION.cff, exposes it through a README badge, and provides synchronized citation guidance in the README and documentation. The cited validation, documentation build, tests, hooks, and CI checks all pass.

File-Level Changes

Change Details Files
Added the Zenodo concept DOI to citation metadata so releases share a stable citation identifier.
  • Updated CITATION.cff with the concept DOI and DOI identifier while preserving release metadata.
  • Documented that the DOI is stable across versions and aligns citation metadata with Zenodo.
CITATION.cff
docs/contributing.md
Added user-facing DOI discovery and citation guidance to the README and generated documentation.
  • Added a Zenodo DOI badge linked to doi.org.
  • Added a reusable Citation section covering the DOI, Zenodo records, CITATION.cff, and GitHub citation formatting.
  • Included the README citation snippet on the documentation home page.
README.md
docs/index.md

Assessment against linked issues

Issue Objective Addressed Explanation
#177 Add the Zenodo concept DOI to CITATION.cff and display a DOI badge in the README linked to the Zenodo record. ✅
#177 Ensure the Zenodo record metadata matches CITATION.cff, correcting the citation metadata if needed. ✅
#177 Document how to cite the project, including the DOI, Zenodo, CITATION.cff, and GitHub's “Cite this repository.” ✅

Possibly linked issues


Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@codecov

codecov Bot commented Oct 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (870a3ef) to head (6da470f).

Additional details and impacted files
@@            Coverage Diff            @@
##               dev      #231   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           16        16           
  Lines         1362      1362           
=========================================
  Hits          1362      1362           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@uniqueg
uniqueg marked this pull request as ready for review October 24, 2026 14:32

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!

Sourcery assessment

Approved.


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

@uniqueg
uniqueg merged commit 5a3c5fc into dev Oct 24, 2026
19 checks passed
@uniqueg
uniqueg deleted the docs/zenodo-doi branch October 24, 2026 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: add the Zenodo DOI and badge

1 participant