Skip to content

Improve contributing documentation#1014

Open
mattmenefee wants to merge 2 commits intotoptal:masterfrom
mattmenefee:update-contributing-docs
Open

Improve contributing documentation#1014
mattmenefee wants to merge 2 commits intotoptal:masterfrom
mattmenefee:update-contributing-docs

Conversation

@mattmenefee
Copy link
Contributor

@mattmenefee mattmenefee commented Mar 18, 2026

Summary

  • Add a "Development setup" section to CONTRIBUTING.md covering prerequisites, Elasticsearch (Docker Compose + native Rake), running tests, RuboCop, and multi-Rails gemfile testing
  • Consolidate the fork/branch/commit/push/PR workflow from README.md into CONTRIBUTING.md as the single source of truth
  • Replace the gun.io contributing guide link with opensource.guide, which is GitHub-maintained and more durable
  • Slim the README Contributing section to a single link to CONTRIBUTING.md

Test plan

  • Verify rendered Markdown on GitHub for correct formatting and working links
  • Confirm CONTRIBUTING.md link in README resolves correctly
  • Confirm opensource.guide link resolves correctly

Both README.md and CONTRIBUTING.md told contributors to run tests and
RuboCop but never explained how, and the README only mentioned the
native Rake-based Elasticsearch setup — not the Docker Compose workflow
that CI actually uses. This created unnecessary friction for new
contributors.

- Add a "Development setup" section to CONTRIBUTING.md covering
  prerequisites, Elasticsearch (Docker Compose + native Rake),
  ES_HOST/ES_PORT env vars, running tests, RuboCop, and multi-Rails
  gemfile testing
- Replace the Rake task block in README.md with a link to
  CONTRIBUTING.md for full setup details
@mattmenefee mattmenefee requested a review from a team as a code owner March 18, 2026 17:00
The fork/branch/commit/push/PR steps were duplicated between both
files. Consolidate them into CONTRIBUTING.md as the single source of
truth and reduce the README section to a link.

- Move the step-by-step contribution workflow into the "Pull requests"
  section of CONTRIBUTING.md
- Replace the gun.io guide link with opensource.guide — the gun.io
  article is a blog post on a freelancing platform that has gone
  through several pivots and could disappear at any time, while
  opensource.guide is a GitHub-maintained, open-source, actively
  maintained community resource
- Add `bundle exec` prefix to Rake elasticsearch commands
@mattmenefee mattmenefee force-pushed the update-contributing-docs branch from 626ba06 to ee89269 Compare March 18, 2026 17:01
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.

1 participant