Skip to content

docs: add the Zenodo DOI and badge - #307

Merged
uniqueg merged 1 commit into
devfrom
docs/zenodo-doi
Oct 24, 2026
Merged

uniqueg merged 1 commit into
devfrom
docs/zenodo-doi

Conversation

@uniqueg

@uniqueg uniqueg commented Oct 24, 2026 •

Copy link
Copy Markdown
Member

Summary

Zenodo archived v0.3.0, the first release, as
10.5281/zenodo.23619647. This PR
adds the concept DOI
10.5281/zenodo.23619646, which
stays the same for all versions and resolves to the latest one, so the
citation metadata never needs a per-release DOI update:

  • 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 (proTES), the 7
authors in the same order with the same ORCID iDs and affiliation, license
(Apache 2.0), the 8 keywords 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.3.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:
    134 passed.
  • mkdocs build --strict: builds, the home page has the citation section.
  • pre-commit run --all-files: all hooks pass.
  • CI: all checks passed.

Declined review findings

None.

Open questions

None.

Closes #237

🤖 Generated with Claude Code

Summary by Sourcery

Add the Zenodo concept DOI and citation guidance throughout the project documentation and metadata.

Enhancements:

  • Add the Zenodo concept DOI to the project’s citation metadata and expose it for version-independent citation.
  • Add DOI badges and citation guidance to the README and documentation, including contributor guidance for concept DOI usage.

Documentation:

  • Document the project citation DOI and citation resources across the README, documentation home page, and contributing guide.

Add the Zenodo concept DOI of proTES (10.5281/zenodo.23619646), which
resolves to the latest version, as doi and in identifiers of
CITATION.cff, a DOI badge to the README and a Citation section to the
README and the docs. The Zenodo record of v0.3.0 matches CITATION.cff
(title, authors, license, keywords).

Closes #237

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 records Zenodo’s stable concept DOI in the citation metadata and presents it through the README badge, reusable citation section, documentation home page, and contributor guidance. The changes preserve existing release metadata and have been validated with citation checks, documentation builds, tests, formatting hooks, and CI.

File-Level Changes

Change Details Files
Adds the Zenodo concept DOI to citation metadata and exposes it consistently across project documentation.
  • Adds the concept DOI to CITATION.cff while preserving release version and date metadata.
  • Adds a linked Zenodo DOI badge and a citation section to the README.
  • Includes the README citation section on the documentation home page via a snippet.
  • Documents that CITATION.cff uses the stable Zenodo concept DOI.
CITATION.cff
README.md
docs/index.md
docs/contributing.md

Assessment against linked issues

Issue Objective Addressed Explanation
#237 Add the Zenodo concept DOI to CITATION.cff so the citation metadata uses a stable DOI across releases. ✅
#237 Add a README DOI badge linked to the Zenodo record and provide guidance on citing the project, including GitHub's “Cite this repository.” ✅
#237 Check that the Zenodo record metadata matches CITATION.cff and correct the file if needed. ✅

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

@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 proTES | 🛠️ Build #35378538 | 📁 Comparing bedc077 against latest (bf5c0e8)

  🔍 Preview build  

2 files changed
± index.html
± contributing/index.html

@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 (bf5c0e8) to head (bedc077).

Additional details and impacted files
@@            Coverage Diff            @@
##               dev      #307   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           29        29           
  Lines         2469      2469           
=========================================
  Hits          2469      2469           

☔ 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:10

@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 9f3a08b into dev Oct 24, 2026
19 checks passed
@uniqueg
uniqueg deleted the docs/zenodo-doi branch October 24, 2026 14:17
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