Update docs to encourage user import plugin themself (#18411)

This commit is contained in:
fisker Cheung authored and GitHub committed 2025-12-06 14:43:36 +08:00
1 parent 374138ac6b
commit d8bf3989bd
17 files changed
+222 -189

No files matched your search

+6 -4
View File
@@ -22,10 +22,12 @@ await fs.cp(CURRENT_DOCS_DIRECTORY, STABLE_DOCS_DIRECTORY, { recursive: true });
if (process.env.PULL_REQUEST !== "true") {
// Replace version placeholders
await Promise.all(
["browser.md"].map(async (file) => {
file = new URL(file, STABLE_DOCS_DIRECTORY);
await replaceVersionPlaceholder(file, version);
}),
["browser.md", "install.md", "sharing-configurations.md"].map(
async (file) => {
file = new URL(file, STABLE_DOCS_DIRECTORY);
await replaceVersionPlaceholder(file, version);
},
),
);
}