Repository navigation
list every plugin on the supported apis pages, built from patch-it-plugins - #9
Merged
Merged
Conversation
…ugins Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # README.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds Supported APIs → All plugins (
/supported-apis/plugins/): every plugin patch-it runs, generated at build time fromdocs/plugins.mdin the public patch-it-plugins repo, the one list of supported plugins.How the sync works
scripts/sync-plugins.mjsruns as npm'sprebuild, sonpm run build(what Railway runs) does it first. It downloadsdocs/plugins.mdfrom patch-it-plugins'main(raw.githubusercontent.com, public, no token, 10 s timeout), takes the table between<!-- plugins:start -->and<!-- plugins:end -->(only lines that are table rows), and writes it between the same markers insrc/content/docs/supported-apis/plugins.md.npm run sync-pluginsrefreshes the committed copy (commit the page after).PLUGINS_LIST_URL=<raw url>previews another branch.Why build-time fetch rather than a committed copy + CI check
This repo has no CI, and a copy + check would still need someone to copy. A ~60-line script with no dependency keeps the site current on every deploy and degrades to the committed copy. Trade-off: a change merged in patch-it-plugins appears on the next docs deploy, not immediately (a cross-repo trigger can come later if that matters).
Other changes
overview.md: one line linking to the new page.Tests run (Node 22.23.2)
npm ci && npm run build: clean, same pre-existingi18nwarning as main. patch-it-plugins'mainhas nodocs/plugins.mdyet (it's in patch-it-plugins#1), so the build hit HTTP 404 and used the committed copy:dist/supported-apis/plugins/index.htmlhas the 12 rows.PLUGINS_LIST_URL=…/skeleton/docs/plugins.md): "up to date"; with a row deleted locally: "updated … (12 plugins)", page restored byte-identical; against a file with no markers: kept the committed copy.llms.txt (#8)
Not touched. The new page has well over 30 words outside any "Coming soon" aside and the table is plain Markdown in the page body, so #8's
llms.txt/llms-full.txtwill list it under Supported APIs once both are merged (the two HTML comment markers will appear in llms-full.txt; harmless). Both PRs add a README section right before "## The look", so whichever merges second may need a trivial README conflict fix.Calls I made (please check)
Related PRs
docs/plugins.mdthis page is built from🤖 Generated with Claude Code