Repository navigation
docs: stop overriding the org contributing guide - #531
Conversation
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]>
Reviewer's GuideThe 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
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Documentation build overview
43 files changed ·
|
Codecov Report✅ All modified and coverable lines are covered by tests. 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. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
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
| @@ -1,53 +1,28 @@ | |||
| # Contributing | |||
There was a problem hiding this comment.
🟡 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.Sourcery withdrew this approval because the latest commits introduced blocking findings.
Summary
Moves the repository-specific parts of the root
CONTRIBUTING.md(local checks, releases, citation metadata, documentation versions) toapps/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 ofscripts/release.jsandrelease.ymlpoint to the new page.CITATION.cffstill mentionsCONTRIBUTING.mdin itsmessage; it is left alone as another issue owns that file.Closes #524
Verification
npm ci,npx next buildinapps/documentation: builds,/docs/contributingis generatednpx eslint .inapps/documentation: no errorspages/docs/_meta.json, which it also reports before this changegh api repos/elixir-cloud-aai/cloud-components/community/profilechecked for the org fileFeather 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:
Documentation: