Skip to content

Commit eee2b61

Browse files
committed
fix: remove console.log
1 parent 939bbff commit eee2b61

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

src/index.ts

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,9 @@ export default function pluginContentDocs(
3535
...PluginContentDocs(context, opts),
3636
}));
3737

38-
logger.log("FIRST", contentDocs[0]);
39-
4038
return {
4139
name: "docusaurus-plugin-content-docs",
4240
getThemePath() {
43-
console.log("themepath", contentDocs[0].getThemePath!());
4441
return contentDocs[0].getThemePath!();
4542
},
4643
// @todo Add support for extendCli
@@ -54,7 +51,7 @@ export default function pluginContentDocs(
5451
}
5552
return pths;
5653
}, []);
57-
logger.log("getPathsToWatch", paths);
54+
5855
return paths;
5956
},
6057
getClientModules() {
@@ -66,7 +63,7 @@ export default function pluginContentDocs(
6663
shouldIncludeAdmonitions = true;
6764
}
6865
})
69-
66+
7067
if (shouldIncludeAdmonitions) {
7168
modules.push(require.resolve("remark-admonitions/styles/infima.css"));
7269
}
@@ -88,12 +85,9 @@ export default function pluginContentDocs(
8885
})
8986
);
9087

91-
logger.log("loadContent", contents);
92-
9388
return (contents as MultiLoadedContent[]).filter((c) => c);
9489
},
9590
async contentLoaded({ content, actions }) {
96-
logger.log("contentLoaded", content);
9791
await Promise.all(
9892
contentDocs.map(async (c) => {
9993
if (c && c.contentLoaded && content) {
@@ -116,7 +110,6 @@ export default function pluginContentDocs(
116110
d.configureWebpack(_config, isServer, utils)
117111
);
118112
}, {});
119-
logger.log("webpack", webpack);
120113
return webpack;
121114
},
122115
// docsMetadata

0 commit comments

Comments
 (0)