Skip to content

Move contributing.md to root#2119

Open
aamijar wants to merge 1 commit into
rapidsai:release/26.06from
aamijar:contributing-guide-move
Open

Move contributing.md to root#2119
aamijar wants to merge 1 commit into
rapidsai:release/26.06from
aamijar:contributing-guide-move

Conversation

@aamijar
Copy link
Copy Markdown
Member

@aamijar aamijar commented May 22, 2026

Move CONTRIBUTING.md to the root of the repo so that it appears as a separate tab next to readme on github. It should also appear in the sidebar on github. Other libraries like https://github.com/NVIDIA/cuopt do this too.

This PR also fixes a couple of broken links in the readme due to the recent fern docs update.

@aamijar aamijar requested review from a team as code owners May 22, 2026 02:30
@aamijar aamijar requested a review from gforsyth May 22, 2026 02:30
@aamijar aamijar self-assigned this May 22, 2026
@aamijar aamijar moved this to In Progress in Unstructured Data Processing May 22, 2026
@aamijar aamijar added doc Improvements or additions to documentation non-breaking Introduces a non-breaking change labels May 22, 2026
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 22, 2026

Review Change Stack

📝 Walkthrough

Walkthrough

Documentation paths are consolidated across the repository. Contributing guidance moves from docs/source/contributing.md to root-level CONTRIBUTING.md, and the developer guide moves to fern/pages/developer_guide.md. Configuration files, README, Fern navigation, and internal links are updated consistently to reflect these new locations.

Changes

Documentation path consolidation

Layer / File(s) Summary
Documentation path consolidation across configuration and references
.coderabbit.yaml, README.md, fern/docs.yml, CONTRIBUTING.md, fern/pages/developer_guide.md
CodeRabbit AI configuration, README, Fern docs navigation, and internal cross-references are updated to redirect from docs/source/ to root-level CONTRIBUTING.md and fern/pages/developer_guide.md. Link paths in contributing and developer guide pages are updated to use Fern-based or root-relative paths.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main change: moving CONTRIBUTING.md to the repository root, which aligns with all file modifications across the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description check ✅ Passed The description directly relates to the changeset, explaining the motivation for moving CONTRIBUTING.md to the root and fixing broken links in documentation.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@CONTRIBUTING.md`:
- Line 23: Replace the repository-file link
"fern/pages/cpp_guidelines.md#performance-benchmarking" in CONTRIBUTING.md with
the published Developer Guide docs route (use the site/docs route format rather
than a repo path); update the link target to the corresponding docs URL (for
example the Developer Guide/performance-benchmarking anchor) so the sentence
"proper benchmarks" points to the live docs route instead of the source file
path.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: d05d72de-bfd0-4295-ac57-822058f1cd69

📥 Commits

Reviewing files that changed from the base of the PR and between 10368de and 8239bb8.

📒 Files selected for processing (5)
  • .coderabbit.yaml
  • CONTRIBUTING.md
  • README.md
  • fern/docs.yml
  • fern/pages/developer_guide.md

Comment thread CONTRIBUTING.md
## Code contributions

Performance-critical changes require [proper benchmarks](cpp_guidelines.md#performance-benchmarking). Pull requests that affect performance-critical paths will not be merged until those benchmarks are produced; there are no exceptions to this rule.
Performance-critical changes require [proper benchmarks](fern/pages/cpp_guidelines.md#performance-benchmarking). Pull requests that affect performance-critical paths will not be merged until those benchmarks are produced; there are no exceptions to this rule.
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Use docs-route link instead of repository file path.

This link targets a source file path (fern/pages/...) rather than the published Developer Guide route, which can break or degrade navigation when CONTRIBUTING.md is rendered in Fern docs.

Suggested fix
-Performance-critical changes require [proper benchmarks](fern/pages/cpp_guidelines.md#performance-benchmarking). Pull requests that affect performance-critical paths will not be merged until those benchmarks are produced; there are no exceptions to this rule.
+Performance-critical changes require [proper benchmarks](/developer-guide/coding-guidelines/cpp-guidelines#performance-benchmarking). Pull requests that affect performance-critical paths will not be merged until those benchmarks are produced; there are no exceptions to this rule.
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
Performance-critical changes require [proper benchmarks](fern/pages/cpp_guidelines.md#performance-benchmarking). Pull requests that affect performance-critical paths will not be merged until those benchmarks are produced; there are no exceptions to this rule.
Performance-critical changes require [proper benchmarks](/developer-guide/coding-guidelines/cpp-guidelines#performance-benchmarking). Pull requests that affect performance-critical paths will not be merged until those benchmarks are produced; there are no exceptions to this rule.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@CONTRIBUTING.md` at line 23, Replace the repository-file link
"fern/pages/cpp_guidelines.md#performance-benchmarking" in CONTRIBUTING.md with
the published Developer Guide docs route (use the site/docs route format rather
than a repo path); update the link target to the corresponding docs URL (for
example the Developer Guide/performance-benchmarking anchor) so the sentence
"proper benchmarks" points to the live docs route instead of the source file
path.

@cjnolet
Copy link
Copy Markdown
Member

cjnolet commented May 22, 2026

@aamijar I don't believe we can move it like this. Instead, let's just link to the contributing guide in the docs from a different contributing.md.

I'm honestly not concerned with what cuopt is doing. We dont need to repeat others.

@aamijar
Copy link
Copy Markdown
Member Author

aamijar commented May 22, 2026

Hi @cjnolet, it worked fine for me when I built the fern docs and viewed them locally. All the links resolve fine.
And the contributing.md will show up like this on the github page: https://github.com/aamijar/cuvs/tree/contributing-guide-move?tab=contributing-ov-file#contributing

@cjnolet
Copy link
Copy Markdown
Member

cjnolet commented May 22, 2026

@aamijar I hate to break it to you but you can't link to pages outside of fern/pages. It won't deploy that way.

Let's move the contributor guide back into the docs and create a new file in the root that just links to corresponding page in the docs. We don't need this duplicated in multiple places.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Improvements or additions to documentation non-breaking Introduces a non-breaking change

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

2 participants