Skip to content

docs: add the Zenodo DOI and badge - #476

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.17.0, the first release since Zenodo was connected, as
10.5281/zenodo.23603535. This PR
adds the concept DOI
10.5281/zenodo.23603534, 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 matches CITATION.cff: title (FOCA), the 7
authors in the same order with the same ORCID iDs and affiliation, 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.17.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 tests/test_repository.py:
    118 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 #474); 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 #412

🤖 Generated with Claude Code

Summary by Sourcery

Add stable Zenodo citation metadata and surface project citation guidance across the README and documentation.

New Features:

  • Add project citation guidance with the Zenodo concept DOI, DOI badge, and links to citation metadata and repository citation tools.

Enhancements:

  • Document that the citation DOI is the stable Zenodo concept DOI shared across releases.

Documentation:

  • Include the README citation section on the documentation home page and update the contributing guide with concept DOI guidance.

Chores:

  • Update CITATION.cff with the Zenodo concept DOI and DOI identifier.

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, presents it through a README badge and citation instructions, and reuses that guidance in the docs while clarifying that the DOI remains unchanged across releases.

File-Level Changes

Change Details Files
Add the Zenodo concept DOI to citation metadata while preserving release-specific version information.
  • Add the concept DOI as the primary DOI and a DOI identifier.
  • Keep the existing version and release date unchanged.
CITATION.cff
Add user-facing DOI citation guidance and a Zenodo badge to the project README.
  • Add a Zenodo DOI badge linked through doi.org.
  • Add a citation section covering the concept DOI, Zenodo records, CITATION.cff, and GitHub citation formats.
  • Expose the citation section as a reusable documentation snippet.
README.md
Surface citation guidance in the published documentation and clarify concept DOI semantics for contributors.
  • Include the README citation snippet on the documentation home page.
  • Document that the CITATION.cff DOI is the stable Zenodo concept DOI.
docs/index.md
docs/contributing.md

Assessment against linked issues

Issue Objective Addressed Explanation
#412 Add the Zenodo concept DOI to CITATION.cff as the DOI and an identifier, while keeping the citation metadata consistent with Zenodo and valid for CI. ✅
#412 Add a README DOI badge for the concept DOI that links to the Zenodo record. ✅
#412 Document how to cite the project using the DOI, Zenodo record, 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 (e263559) to head (4800143).

Additional details and impacted files
@@            Coverage Diff            @@
##               dev      #476   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           29        29           
  Lines         3446      3446           
=========================================
  Hits          3446      3446           
Flag Coverage Δ
test_unit 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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 08b2df1 into dev Oct 24, 2026
32 checks passed
@uniqueg
uniqueg deleted the docs/zenodo-doi branch October 24, 2026 14:33
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