Skip to content

Commit dee546e

Browse files
authored
docs(native): correctly show all the native plugins (#2903)
1 parent 1ce073d commit dee546e

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

scripts/native.js

-7
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,6 @@ async function buildPluginApiDocs(pluginId) {
3737
const apiContent = createApiPage(pluginId, readme, pkgJson);
3838
const fileName = `${pluginId}.md`;
3939

40-
// Delete all existing generated markdown files in docs/native
41-
fs.readdirSync('docs/native').forEach((file) => {
42-
if (file.endsWith('.md')) {
43-
fs.rmSync(`docs/native/${file}`);
44-
}
45-
});
46-
4740
fs.writeFileSync(`docs/native/${fileName}`, apiContent);
4841
fs.writeFileSync(`versioned_docs/version-v6/native/${fileName}`, apiContent);
4942
}

0 commit comments

Comments
 (0)