Skip to content

docs: stop overriding the org contributing guide - #531

Merged
uniqueg merged 4 commits into
devfrom
docs/org-contributing-guide
Nov 1, 2026
Merged

uniqueg merged 4 commits into
devfrom
docs/org-contributing-guide

Conversation

@uniqueg

@uniqueg uniqueg commented Nov 1, 2026 •

Copy link
Copy Markdown
Member

Summary

Moves the repository-specific parts of the root CONTRIBUTING.md (local checks, releases, citation metadata, documentation versions) to apps/documentation/pages/docs/contributing.mdx (linked from the docs menu), with the org guide linked at the top, and deletes the root file so GitHub shows the org-wide guide. The general sections (branches and pull requests, PR titles, AI-agent PRs) are dropped in favour of the link; the moved text is otherwise unchanged (the citation authorship rule links the org guide). The README, the Versions page and the comments of scripts/release.js and release.yml point to the new page.

CITATION.cff still mentions CONTRIBUTING.md in its message; it is left alone as another issue owns that file.

Closes #524

Verification

  • npm ci, npx next build in apps/documentation: builds, /docs/contributing is generated
  • npx eslint . in apps/documentation: no errors
  • Prettier reports pages/docs/_meta.json, which it also reports before this change
  • After merge: gh api repos/elixir-cloud-aai/cloud-components/community/profile checked for the org file

Feather lane: the change moves and trims text only, with no new prose.

🤖 Generated with Claude Code

Summary by Sourcery

Centralise contribution guidance by using the organisation-wide guide for general rules and the documentation for repository-specific instructions.

Enhancements:

  • Move repository-specific contribution guidance to the documentation and defer general contribution rules to the organisation-wide guide.
  • Update repository links and release-related references to point to the new documentation page.

Documentation:

  • Add a documentation page for local checks, releases, citation metadata, and documentation version maintenance.
  • Remove the repository-root contributing guide so GitHub displays the organisation-wide contribution guide.

Move the repository-specific parts of CONTRIBUTING.md (local
checks, releases, citation metadata, documentation versions) to a
Contributing page of the documentation site, and delete the root
file so GitHub shows the org guide. Drop the general sections in
favour of a link to the org guide, and update the README and the
references to the old file.

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

sourcery-ai Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Reviewer's Guide

The PR removes the repository-level CONTRIBUTING.md so GitHub displays the organisation-wide guide, preserves repository-specific checks and release information in a new navigable documentation page, and updates cross-references throughout the repository.

File-Level Changes

Change Details Files
Move repository-specific contribution guidance into the documentation and expose it through the docs navigation.
  • Add a /docs/contributing page containing local checks, release procedures, citation metadata guidance, and documentation-version maintenance.
  • Link the new page from the documentation menu.
  • Remove the repository-root contributing guide so GitHub falls back to the organisation-wide guide, while linking that guide from the new page.
apps/documentation/pages/docs/contributing.mdx
apps/documentation/pages/docs/_meta.json
CONTRIBUTING.md
Update repository documentation and release references to the new contribution page and organisation guide.
  • Point README contribution links to the organisation guide and documentation page.
  • Update the Versions page, release helper comment, and release workflow comment to reference the documentation page.
  • Delegate general contribution rules and citation authorship details to the organisation guide.
README.md
apps/documentation/pages/docs/versions.mdx
scripts/release.js
.github/workflows/release.yml

Possibly linked issues

  • #unknown: The PR directly implements the issue proposal by moving repository-specific guidance, removing root CONTRIBUTING.md, and updating links.

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

read-the-docs-community Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

@codecov

codecov Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.89%. Comparing base (c735681) to head (205a363).

Additional details and impacted files
@@           Coverage Diff           @@
##              dev     #531   +/-   ##
=======================================
  Coverage   70.89%   70.89%           
=======================================
  Files          23       23           
  Lines        5638     5638           
  Branches      190      190           
=======================================
  Hits         3997     3997           
  Misses       1636     1636           
  Partials        5        5           

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@uniqueg
uniqueg marked this pull request as ready for review November 1, 2026 05:29
@uniqueg
uniqueg requested a review from anuragxxd as a code owner November 1, 2026 05:29
sourcery-ai[bot]
sourcery-ai Bot previously approved these changes Nov 1, 2026

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Sourcery assessment

Approved.

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hey - I've found 2 issues

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

## Individual Comments

### Comment 1
<location path="CONTRIBUTING.md" line_range="1" />
<code_context>
 # Contributing

-Thanks for your interest in Cloud Components! Bug reports, feature
</code_context>
<issue_to_address>
**Citation instructions point to missing file**

When a user consults the repository’s citation message for author guidance, `CITATION.cff` still tells citation users to see “Citation metadata” in `CONTRIBUTING.md`; this PR removes that file, so they cannot find the author eligibility or correction instructions.

Update the citation message to point to the new documentation page or the organisation guide.
</issue_to_address>

### Comment 2
<location path="README.md" line_range="97" />
<code_context>
-conduct. For anything else, write to
+Contributions are welcome! See the organisation's [contributing
+guide](https://github.com/elixir-cloud-aai/.github/blob/main/CONTRIBUTING.md)
+and the [Contributing](https://cloud-components.readthedocs.io/en/latest/docs/contributing)
+page of the documentation for local checks and releases, and mind our
+[code of conduct](https://github.com/elixir-cloud-aai/.github/blob/main/CODE_OF_CONDUCT.md). For anything else, write to
</code_context>
<issue_to_address>
**README contribution link 404s**

When a reader opens the new Contributing link from the README, the link requests `/docs/contributing` without the Read the Docs version prefix, so it misses the generated route and users get a 404 instead of the contribution instructions.

Add the `/en/latest/` prefix to the README link, matching the existing documentation links.
</issue_to_address>

Linked issues

#524 docs: stop overriding the org contributing guide · 4 of 5 met · 1 to check by hand

# Requirement Status Notes
1 Move repository-specific guidance into a documentation page, link the org guide at the top, and drop the general rules covered by that guide. ✅ Met The new Contributing page includes local checks, releases, citation metadata, and documentation versions, and links the org guide before the repository-specific content.
2 Delete the root CONTRIBUTING.md. ✅ Met The root guide is moved to apps/documentation/pages/docs/contributing.mdx.
3 After the merge, the repository community profile shows the org file for contributing. 👀 Check by hand (external system) Check the repository community profile after merge, for example with the specified GitHub API call, to confirm it shows the org-wide contributing guide.
4 Update links to the old file and update the README Contributing section to link the org guide and documentation page. ✅ Met The README links both guides, and the Versions page, release workflow, and release helper point to the documentation page.
5 Remove deprecated names and deprecated website links from the moved content. ✅ Met The moved page uses the org guide link and contains neither the deprecated names nor links to the deprecated websites.

Sourcery assessment

Approval pending. 2 findings to address first.

Blocking findings: CONTRIBUTING.md:1, README.md:97


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

@@ -1,53 +1,28 @@
# Contributing

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Medium · Citation instructions point to missing file

When a user consults the repository’s citation message for author guidance, CITATION.cff still tells citation users to see “Citation metadata” in CONTRIBUTING.md; this PR removes that file, so they cannot find the author eligibility or correction instructions.

Update the citation message to point to the new documentation page or the organisation guide.

Prompt for AI agents
In `CONTRIBUTING.md` at line 1:

**Citation instructions point to missing file**

When a user consults the repository’s citation message for author guidance, `CITATION.cff` still tells citation users to see “Citation metadata” in `CONTRIBUTING.md`; this PR removes that file, so they cannot find the author eligibility or correction instructions.

Update the citation message to point to the new documentation page or the organisation guide.

Comment thread README.md Resolved
@sourcery-ai
sourcery-ai Bot dismissed their stale review November 1, 2026 07:03

Sourcery withdrew this approval because the latest commits introduced blocking findings.

@uniqueg
uniqueg merged commit 8cf2f7a into dev Nov 1, 2026
19 checks passed
@uniqueg
uniqueg deleted the docs/org-contributing-guide branch November 1, 2026 12:48
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: stop overriding the org contributing guide

2 participants