chore: add v8 script and update v8 plugin docs - #584
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
andredestro
marked this pull request as draft
August 7, 2026 15:06
andredestro
force-pushed
the
chore/api-v8
branch
from
August 10, 2026 10:06
55101d3 to
ac8ae29
Compare
andredestro
marked this pull request as ready for review
August 10, 2026 10:12
andredestro
requested review from
ItsChaceD,
OS-pedrogustavobilro,
OS-ruimoreiramendes,
alexgerardojacinto,
jcesarmobile,
markemer and
theproducer
August 10, 2026 10:12
andredestro
force-pushed
the
chore/api-v8
branch
from
August 10, 2026 10:42
a13eb37 to
f6d537a
Compare
| @@ -12,6 +12,7 @@ | |||
| "generate-plugin-docs": "node scripts/api.mjs", | |||
| "generate-v6-plugin-docs": "node scripts/api-v6.mjs", | |||
Contributor
There was a problem hiding this comment.
Also opened a PR to remove v6 docs script - #587
OS-pedrogustavobilro
approved these changes
Aug 10, 2026
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.
What
scripts/api-v8.mjswith the plugin list pointing to thelatestnpm tag andmainGitHub branches, targetingversioned_docs/version-v8/apis/generate-v8-plugin-docsnpm scriptnpm run generate-v8-plugin-docsto refresh the versioned v8 plugin docs (picks up the latest geolocation 8.2.1 README and the corrected background-runner edit URL)vercel.jsonredirect from/docs/v8/:match*to/docs/:match*: withlastVersion: 'v8', Docusaurus serves the v8 docs at the/docsroot and does not create a/docs/v8route, so https://capacitorjs.com/docs/v8 currently returns 404Why
Once
scripts/api.mjsstarts tracking thenexttag for Capacitor 9, this script keeps the Capacitor 8 plugin docs under/docs/v8/apisupdatable independently, and/docs/v8links resolve to the current stable (v8) content.Notes
/docs/v8redirect must be removed when Capacitor 9 goes final (whenlastVersionflips back tocurrent), since v8 will then get its own real/docs/v8route and the redirect would shadow itnpm run buildpasses locally