Skip to content

feat: migrate plugin directory to docusaurus-plugin-showcase#51

Merged
homotechsual merged 6 commits into
mainfrom
develop
Jun 25, 2026
Merged

feat: migrate plugin directory to docusaurus-plugin-showcase#51
homotechsual merged 6 commits into
mainfrom
develop

Conversation

@homotechsual

Copy link
Copy Markdown
Collaborator

Summary

  • Replaces the hand-rolled plugin directory page with @homotechsual/docusaurus-plugin-showcase using the built-in pluginsPreset
  • Migrates all 75 plugin entries from a single TSX array (src/data/plugins.tsx) to individual YAML files in data/plugins/
  • Removes src/pages/plugindirectory/ and src/data/plugins.tsx
  • Adds @docusaurus/faster and modernises the Docusaurus config
  • Adds Plausible analytics plugin
  • Fixes CI workflow expression syntax for hyphenated outputs
  • Removes outdated local JSON schemas (static/schema/plugin/) which conflicted with the showcase plugin's own validation schema

Data file cleanup

Three YAML files had migration artifacts causing showcase validation failures (items were silently skipped at build time):

  • rdilweb.template and milessj.typedoc-api — stray - 3 line left after status: from the old compatibility field
  • silva-nick.portfolio — disallowed compatibility property (showcase plugin schema uses additionalProperties: false)

All yaml-language-server schema comments were also removed from the 75 plugin files as the local schema was inconsistent with what the showcase plugin validates against.

Test plan

  • yarn build completes with no showcase validation errors
  • Plugin directory renders at /plugindirectory/ with all 75 plugins
  • Filters, search, and favourite section function correctly

🤖 Generated with Claude Code

homotechsual and others added 6 commits June 25, 2026 13:42
…wcase

Replace the hand-rolled plugin directory page with the showcase plugin
using the built-in pluginsPreset. Data moves from a TSX array to
individual YAML files in data/plugins/ (75 entries total).

- Install @homotechsual/docusaurus-plugin-showcase
- Add plugin to docusaurus.config.ts with pluginsPreset at /plugindirectory
- Complete the 24 missing YAML files and rename maintenanceStatus to status
  in the 51 existing files to match the plugin schema
- Remove src/pages/plugindirectory/ and src/data/plugins.tsx
- Update HomepageFeatures to remove the now-unavailable pluginCount import

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The local schema at static/schema/plugin/ used `maintenanceStatus` and
allowed `compatibility`, conflicting with the showcase plugin's own
schema which uses `status` and additionalProperties: false. This caused
IDE false positives and three data files to fail showcase validation
(rdilweb.template, milessj.typedoc-api, silva-nick.portfolio).

- Remove all static/schema/plugin/ JSON files
- Strip yaml-language-server schema comments from all 75 plugin files
- Fix stray `- 3` lines in rdilweb.template and milessj.typedoc-api
- Remove disallowed `compatibility` field from silva-nick.portfolio

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…idation

- Add altor-lab.search-altor YAML (missed from PR #47 which added it to plugins.tsx on main)
- Restore static/schema/plugin/ with a single 1.0.0.json that mirrors the
  showcase plugin's own validation schema (status not maintenanceStatus,
  additionalProperties: false, no compatibility field)
- Re-add yaml-language-server comments to all 76 plugin files pointing at
  the new schema so IDE validation matches what the build actually enforces

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Keep deletion of src/data/plugins.tsx (replaced by YAML files)
- Resolve add/add conflict in altor-lab.search-altor.yaml by using
  the new schema URL and status field (dropping maintenanceStatus/compatibility)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

⚡ Successfully deployed to Cloudflare Pages!

@homotechsual homotechsual merged commit 1201999 into main Jun 25, 2026
3 checks passed
homotechsual added a commit that referenced this pull request Jun 26, 2026
feat: migrate plugin directory to docusaurus-plugin-showcase
homotechsual added a commit that referenced this pull request Jun 26, 2026
feat: migrate plugin directory to docusaurus-plugin-showcase
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