docs: slim README to landing page; defer reference content to docs site#770
Conversation
The README has been ~95% verbatim duplicate of pages under Docs/pages/, which means every doc edit needed a parallel README edit and drift was inevitable. Cut the README to its actual jobs — the GitHub front page and the NuGet package readme — and link out for everything else. Kept inline: tagline, feature bullets, Why-Mockolate comparison table, install one-liner, chocolate-dispenser hello-world. Removed from README (still authoritative under Docs/pages/): full Create Mocks chapter, Setup chapters (Properties, Methods, Indexers, Parameter Matching), Mock Events, Verify Interactions, Advanced Features (six pages), Special Types (HttpClient, Delegates), Complete Example, Analyzers. All linked from a grouped Documentation index that mirrors the docs-site sidebar order. Also dropped the "mirror README" expectation from CLAUDE.md and .github/copilot-instructions.md and updated the published-docs URL to the canonical https://docs.testably.org/Mockolate/.
There was a problem hiding this comment.
Pull request overview
This PR refactors the repository’s documentation approach by slimming README.md down to a GitHub/NuGet landing page and treating Docs/pages/ as the canonical reference documentation (with updated publishing URL guidance).
Changes:
- Reduced
README.mdto installation + quick start + curated links into the docs site (instead of duplicating full reference content). - Updated contributor guidance (
CLAUDE.md,.github/copilot-instructions.md) to reflect the new docs/README relationship and the canonical docs URL. - Minor wording/clarity tweak in the parameter matching docs page.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| README.md | Reworked into a lightweight landing page with links to full docs content. |
| Docs/pages/setup/04-parameter-matching.md | Small wording adjustment in the covariance explanation. |
| CLAUDE.md | Updated documentation guidance + published-docs URL. |
| .github/copilot-instructions.md | Updated documentation guidance to match the new “README as landing page” approach. |
🚀 Benchmark ResultsDetails
Details
Details
Details
Details
Details
|
|
…r reference content to docs site (#770) by Valentin Breuß
…r reference content to docs site (#770) by Valentin Breuß
|
This is addressed in release v3.2.0. |



The README has been ~95% verbatim duplicate of pages under Docs/pages/, which means every doc edit needed a parallel README edit and drift was inevitable. Cut the README to its actual jobs — the GitHub front page and the NuGet package readme — and link out for everything else.
Kept inline: tagline, feature bullets, Why-Mockolate comparison table, install one-liner, chocolate-dispenser hello-world.
Removed from README (still authoritative under Docs/pages/): full Create Mocks chapter, Setup chapters (Properties, Methods, Indexers, Parameter Matching), Mock Events, Verify Interactions, Advanced Features (six pages), Special Types (HttpClient, Delegates), Complete Example, Analyzers. All linked from a grouped Documentation index that mirrors the docs-site sidebar order.
Also dropped the "mirror README" expectation from CLAUDE.md and .github/copilot-instructions.md and updated the published-docs URL to the canonical https://docs.testably.org/Mockolate/.