Skip to content

docs: add a README citation section - #30

Merged
uniqueg merged 1 commit into
devfrom
docs/readme-citation
Oct 31, 2026
Merged

uniqueg merged 1 commit into
devfrom
docs/readme-citation

Conversation

@uniqueg

@uniqueg uniqueg commented Oct 31, 2026 •

Copy link
Copy Markdown
Member

Summary

Adds a "## Citation" section to README.md (before "## Contributing"), in
the pre-release form trs-filer uses: no DOI, no badge. The text sits between
--8<-- [start:citation] / [end:citation] markers and is included in
docs/index.md under "## Citation" (before "## License"), as in trs-filer;
the link to CITATION.cff is absolute so it works on GitHub, PyPI and in
the docs.

Light lane: docs only.

Verification

  • uv run --no-sync mkdocs build --strict: passes; the section renders on
    the docs index

Declined review findings

  • Sourcery (medium, "plugin versions go uncited"): the section keeps the
    org-wide wording verbatim; CITATION.cff, which it links, already asks to
    cite the distributions and versions used.

CI

All checks passed.

Closes #29

🤖 Generated with Claude Code

Pre-release form as in trs-filer (no DOI, no badge), included in the
docs index via snippet markers.

Closes #29

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@uniqueg
uniqueg marked this pull request as ready for review October 31, 2026 17:09
@sourcery-ai

sourcery-ai Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

This documentation-only change adds a reusable Citation section to README.md and embeds it into docs/index.md, directing users to cite FOCA plugins through the repository’s CITATION.cff metadata.

File-Level Changes

Change Details Files
Add synchronized citation guidance to the README and documentation site using MkDocs snippet markers.
  • Add a pre-release Citation section before Contributing with instructions to cite FOCA plugins via the repository’s CITATION.cff.
  • Wrap README citation text in start/end markers for reuse.
  • Include the marked README section before License in the docs index using a snippet directive.
  • Use an absolute GitHub URL so the CITATION.cff link works across GitHub, PyPI, and generated documentation.
README.md
docs/index.md

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

@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 found 1 issue

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location path="README.md" line_range="93-95" />
<code_context>
+## Citation
+
+<!-- --8<-- [start:citation] -->
+If you use FOCA plugins, please cite them with the metadata in
+[`CITATION.cff`](https://github.com/elixir-cloud-aai/foca-plugins/blob/dev/CITATION.cff):
+on GitHub, "Cite this repository" in the sidebar of the repository formats it
+as APA or BibTeX.
+<!-- --8<-- [end:citation] -->
</code_context>
<issue_to_address>
**Plugin versions go uncited**

When a user cites a specific plugin by following the README guidance, the README points users to GitHub’s repository-level APA/BibTeX citation, but `CITATION.cff` has no version and says to cite the distributions and versions used as well, so the citation omits the specific plugin distribution and version.

Update the guidance to tell users to cite the repository and each plugin distribution and version they used.

Also at `docs/index.md:44`.
</issue_to_address>

Linked issues

#29 docs: add a README citation section · 2 of 2 met

# Requirement Status Notes
1 Add a pre-release Citation section before Contributing, with no DOI or badge, pointing to CITATION.cff and “Cite this repository.” ✅ Met README.md adds the section before Contributing, links to CITATION.cff, and explains GitHub’s “Cite this repository” option; it adds no DOI or badge.
2 Include the Citation section in the docs index via snippet markers. ✅ Met The README citation markers are included under Citation in docs/index.md.

Sourcery assessment

Approval pending. 1 finding to address first.

Blocking findings: README.md:95


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

Comment thread README.md Resolved
@uniqueg
uniqueg merged commit f8cd0c7 into dev Oct 31, 2026
10 checks passed
@uniqueg
uniqueg deleted the docs/readme-citation branch October 31, 2026 17:26
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 a README citation section

1 participant