Update docs to encourage user import plugin themself (#18411)
This commit is contained in:
1 parent
374138ac6b
commit
d8bf3989bd
17 files changed
+222
-189
No files matched your search
@@ -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);
|
||||
},
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user