Skip to content

Conversation

@Adebayo120
Copy link
Contributor

docs: update README generation instructions in CONTRIBUTING.md

This change updates the "Updating the README" section in CONTRIBUTING.md to reflect the correct workflow for regenerating the top-level README.md. The previous instructions referenced a Makefile and make command, but the actual process uses Go's go generate directive as defined in internal/readme/doc.go.

With this update, contributors are now instructed to edit internal/readme/README.src.md and run go generate ./internal/readme from the repository root to regenerate README.md.

This improves contributor experience and ensures documentation is accurate and up-to-date.

Fixes #554


1. Make your changes to `internal/readme/README.src.md`
2. Run `make` in the `internal/readme/` directory to regenerate `README.md`
2. Run `go generate ./internal/readme` from the repository root to regenerate `README.md`
Copy link
Contributor

Choose a reason for hiding this comment

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

The make reference seems to be a leftover from when the Makefile was removed in 872b437. The go generate command matches what's in github/workflows/readme-check.yml.

Copy link
Contributor

@findleyr findleyr left a comment

Choose a reason for hiding this comment

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

Thank you!

@findleyr findleyr merged commit 4439658 into modelcontextprotocol:main Oct 6, 2025
6 checks passed
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.

Outdated README Generation Instructions in CONTRIBUTING.md

3 participants