@@ -35,12 +35,9 @@ export default function pluginContentDocs(
35
35
...PluginContentDocs ( context , opts ) ,
36
36
} ) ) ;
37
37
38
- logger . log ( "FIRST" , contentDocs [ 0 ] ) ;
39
-
40
38
return {
41
39
name : "docusaurus-plugin-content-docs" ,
42
40
getThemePath ( ) {
43
- console . log ( "themepath" , contentDocs [ 0 ] . getThemePath ! ( ) ) ;
44
41
return contentDocs [ 0 ] . getThemePath ! ( ) ;
45
42
} ,
46
43
// @todo Add support for extendCli
@@ -54,7 +51,7 @@ export default function pluginContentDocs(
54
51
}
55
52
return pths ;
56
53
} , [ ] ) ;
57
- logger . log ( "getPathsToWatch" , paths ) ;
54
+
58
55
return paths ;
59
56
} ,
60
57
getClientModules ( ) {
@@ -66,7 +63,7 @@ export default function pluginContentDocs(
66
63
shouldIncludeAdmonitions = true ;
67
64
}
68
65
} )
69
-
66
+
70
67
if ( shouldIncludeAdmonitions ) {
71
68
modules . push ( require . resolve ( "remark-admonitions/styles/infima.css" ) ) ;
72
69
}
@@ -88,12 +85,9 @@ export default function pluginContentDocs(
88
85
} )
89
86
) ;
90
87
91
- logger . log ( "loadContent" , contents ) ;
92
-
93
88
return ( contents as MultiLoadedContent [ ] ) . filter ( ( c ) => c ) ;
94
89
} ,
95
90
async contentLoaded ( { content, actions } ) {
96
- logger . log ( "contentLoaded" , content ) ;
97
91
await Promise . all (
98
92
contentDocs . map ( async ( c ) => {
99
93
if ( c && c . contentLoaded && content ) {
@@ -116,7 +110,6 @@ export default function pluginContentDocs(
116
110
d . configureWebpack ( _config , isServer , utils )
117
111
) ;
118
112
} , { } ) ;
119
- logger . log ( "webpack" , webpack ) ;
120
113
return webpack ;
121
114
} ,
122
115
// docsMetadata
0 commit comments