From 3787a224446d693afb1a15b3eedbbdda4b55a58f Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Thu, 14 Jul 2022 00:36:51 -0500 Subject: [PATCH] Remove global interfaces documentation --- postProcess.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/postProcess.js b/postProcess.js index 1e3ca937..676e1502 100644 --- a/postProcess.js +++ b/postProcess.js @@ -42,6 +42,11 @@ walk("./components", (dir, file, resolve) => { walk("./docs/api", function addFrontmatter(dir, file, resolve) { if (path.extname(file) !== ".md") return; const filePath = path.resolve(dir, file); + if (dir.endsWith("interfaces")) { + fs.unlinkSync(filePath); + resolve(); + return; + } const data = fs.readFileSync(filePath).toString(); const fd = fs.openSync(filePath, "w+"); fs.writeSync(fd, frontmatter);