feat: add contributors page to website (#928)

* Initial plan

* feat: add contributors page to website

Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>

* feat: add footer with contributors link and fix emoji-only display

- Add custom Starlight Footer component with 'Made with ❤️ by our
  amazing contributors' linking to /contributors/
- Filter out contribution types without emoji mappings in the
  contributor data generation so only emojis (🎭🎁🧭⌨️🧰) are
  shown on the contributors page, not text labels like 'code' or 'doc'

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* feat: use all-contributors HTML output for contributors page

- Restyle all-contributors generated table as a responsive card grid
  using CSS grid on tbody with card-styled td cells
- Remove old custom JS search/filter UI and contributors.ts script
- Remove generateContributorsData from data pipeline (no longer needed)
- Keep all-contributors markers for bot regeneration
- Include updated contributor data from .all-contributorsrc

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix: CSS fixes for contributors page Starlight compatibility

- Override Starlight table width/overflow to prevent clipping
- Force td width: 100% to counteract HTML width="14.28%" attribute
- Set emoji links to display: inline to prevent vertical stacking
- Improve border visibility with lighter gray color

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>
Co-authored-by: Aaron Powell <me@aaron-powell.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Copilot
2026-03-09 14:47:20 +11:00
committed by GitHub
parent 5bed97868a
commit cf2a5470a2
6 changed files with 542 additions and 42 deletions

View File

@@ -900,6 +900,12 @@ async function main() {
`✓ Generated ${samplesData.totalRecipes} recipes in ${samplesData.totalCookbooks} cookbooks (${samplesData.filters.languages.length} languages, ${samplesData.filters.tags.length} tags)`
);
// Count contributors from .all-contributorsrc for manifest stats
const contributorsRcPath = path.join(ROOT_FOLDER, ".all-contributorsrc");
const contributorCount = fs.existsSync(contributorsRcPath)
? (JSON.parse(fs.readFileSync(contributorsRcPath, "utf-8")).contributors || []).length
: 0;
const searchIndex = generateSearchIndex(
agents,
instructions,
@@ -967,6 +973,7 @@ async function main() {
workflows: workflows.length,
plugins: plugins.length,
tools: tools.length,
contributors: contributorCount,
samples: samplesData.totalRecipes,
total: searchIndex.length,
},