docs: point GitHub links at the product repo and add a star CTA - #16
Merged
Conversation
The header linked to the documentation repository itself, which has no stars, while the product repository has the real ones. Visitors land on the docs from search or links, so the star/fork counts and the star entry point belong to the product repo. edit_uri is now absolute so "Edit this page" keeps pointing back at this repository. The homepage hero also gains a secondary "Star on GitHub" button next to "Get started", turning the passive header icon into an active ask.
✅ Deploy Preview for commit-check ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe documentation home page adds a “Star on GitHub” button. MkDocs metadata now points to the product repository and uses an absolute edit URL. ChangesDocumentation site links
Estimated code review effort: 1 (Trivial) | ~5 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Two changes, one goal: stop showing a 0-star repo on the site and put the real social proof in front of visitors.
mkdocs.yml):repo_url/repo_namenow point at the product repositorycommit-check/commit-check(70★ / 16 forks) instead of this documentation repository (0★ / 0 forks). Visitors are users of the product — the star/fork counts and the star entry point belong to the product repo.edit_uriis now absolute so "Edit this page" keeps linking back tocommit-check/commit-check.com, where the pages actually live.docs/overrides/home.html): added a secondary "⭐ Star on GitHub" button next to "Get started", turning the passive header icon into an active ask.Why
The docs repo is an implementation detail; nobody who finds the site from search wants to star or contribute to it. The header was showing 0 stars — the worst first impression a new project can make — while the real repo's 70 stars stayed invisible.
Verification
mkdocs build --strictpasses (mkdocs-ng-material 9.7.7)github.com/commit-check/commit-check, edit links still resolve tocommit-check.com/edit/main/docs/..., both hero buttons renderSummary by CodeRabbit
New Features
Documentation