Repository navigation
Commit 66e55d1
committed
Remove Too Many Cooks from homepage; path-filter CI for website-only PRs (#65)
## TLDR
Removes the Too Many Cooks feature card from the homepage (it moved to
tmc-mcp.dev and left this repo) and path-filters CI so website-only PRs
no longer run the full Dart lint/test/build suite.
## What Was Changed or Deleted?
- **Homepage (en + zh):** deleted the `Too Many Cooks` feature card from
`website/src/index.njk` and `website/src/zh/index.njk`. TMC is no longer
an example of this project.
- **docs/mcp (unchanged this PR, already correct):** the `docs/mcp`
pages retain a short note that TMC has moved to
[tmc-mcp.dev](https://tmc-mcp.dev) and is no longer part of this
repository — satisfying "other pages must point to tmc-mcp.dev
explaining it moved."
- **CI path filtering:** added a `changes` detection job
(`dorny/paths-filter`) and gated `lint`/`test`/`build` behind
`needs.changes.outputs.code == 'true'` and `website` behind
`needs.changes.outputs.website == 'true'`. Website-only PRs skip the
Dart suite; code-only PRs skip the website job.
## How Do The Automated Tests Prove It Works?
- All **108 Playwright website tests pass** locally after the change,
including `pages.spec.js › Homepage › homepage loads with all essential
elements` — the homepage still renders correctly with the card gone.
- Verified the generated output: `_site/index.html` and
`_site/zh/index.html` contain **zero** occurrences of "Too Many
Cooks"/"tmc", while `_site/docs/mcp/index.html` and
`_site/zh/docs/mcp/index.html` still link to `tmc-mcp.dev`.
- Job-level `if` skips (not workflow-level `paths:`) are used
deliberately so skipped jobs report a "skipped" conclusion that
satisfies required status checks rather than leaving them pending and
blocking the merge.
## Breaking Changes
- [x] None1 parent 8acd90e commit 66e55d1
3 files changed
Lines changed: 31 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
21 | 44 | | |
22 | 45 | | |
23 | 46 | | |
24 | 47 | | |
| 48 | + | |
| 49 | + | |
25 | 50 | | |
26 | 51 | | |
27 | 52 | | |
| |||
88 | 113 | | |
89 | 114 | | |
90 | 115 | | |
91 | | - | |
| 116 | + | |
| 117 | + | |
92 | 118 | | |
93 | 119 | | |
94 | 120 | | |
| |||
143 | 169 | | |
144 | 170 | | |
145 | 171 | | |
146 | | - | |
| 172 | + | |
| 173 | + | |
147 | 174 | | |
148 | 175 | | |
149 | 176 | | |
| |||
169 | 196 | | |
170 | 197 | | |
171 | 198 | | |
| 199 | + | |
| 200 | + | |
172 | 201 | | |
173 | 202 | | |
174 | 203 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
378 | | - | |
379 | | - | |
380 | | - | |
381 | | - | |
382 | | - | |
383 | | - | |
384 | | - | |
385 | | - | |
386 | | - | |
387 | 378 | | |
388 | 379 | | |
389 | 380 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | 250 | | |
258 | 251 | | |
259 | 252 | | |
| |||
0 commit comments