@docusaurus/plugin-content-docs 0.0.0-5576 → 0.0.0-5580
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +0 -2
- package/package.json +9 -9
- package/src/index.ts +0 -2
package/lib/index.js
CHANGED
|
@@ -146,7 +146,6 @@ async function pluginContentDocs(context, options) {
|
|
|
146
146
|
});
|
|
147
147
|
},
|
|
148
148
|
configureWebpack(_config, isServer, utils, content) {
|
|
149
|
-
const { getJSLoader } = utils;
|
|
150
149
|
const { rehypePlugins, remarkPlugins, beforeDefaultRehypePlugins, beforeDefaultRemarkPlugins, } = options;
|
|
151
150
|
function getSourceToPermalink() {
|
|
152
151
|
const allDocs = content.loadedVersions.flatMap((v) => v.docs);
|
|
@@ -169,7 +168,6 @@ async function pluginContentDocs(context, options) {
|
|
|
169
168
|
test: /\.mdx?$/i,
|
|
170
169
|
include: contentDirs,
|
|
171
170
|
use: [
|
|
172
|
-
getJSLoader({ isServer }),
|
|
173
171
|
{
|
|
174
172
|
loader: require.resolve('@docusaurus/mdx-loader'),
|
|
175
173
|
options: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docusaurus/plugin-content-docs",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-5580",
|
|
4
4
|
"description": "Docs plugin for Docusaurus.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -35,13 +35,13 @@
|
|
|
35
35
|
},
|
|
36
36
|
"license": "MIT",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@docusaurus/core": "0.0.0-
|
|
39
|
-
"@docusaurus/logger": "0.0.0-
|
|
40
|
-
"@docusaurus/mdx-loader": "0.0.0-
|
|
41
|
-
"@docusaurus/module-type-aliases": "0.0.0-
|
|
42
|
-
"@docusaurus/types": "0.0.0-
|
|
43
|
-
"@docusaurus/utils": "0.0.0-
|
|
44
|
-
"@docusaurus/utils-validation": "0.0.0-
|
|
38
|
+
"@docusaurus/core": "0.0.0-5580",
|
|
39
|
+
"@docusaurus/logger": "0.0.0-5580",
|
|
40
|
+
"@docusaurus/mdx-loader": "0.0.0-5580",
|
|
41
|
+
"@docusaurus/module-type-aliases": "0.0.0-5580",
|
|
42
|
+
"@docusaurus/types": "0.0.0-5580",
|
|
43
|
+
"@docusaurus/utils": "0.0.0-5580",
|
|
44
|
+
"@docusaurus/utils-validation": "0.0.0-5580",
|
|
45
45
|
"@types/react-router-config": "^5.0.6",
|
|
46
46
|
"combine-promises": "^1.1.0",
|
|
47
47
|
"fs-extra": "^11.1.0",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"engines": {
|
|
67
67
|
"node": ">=16.14"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "5747bb1b763c2da5ac2af314c1a0b96a9542e0a1"
|
|
70
70
|
}
|
package/src/index.ts
CHANGED
|
@@ -228,7 +228,6 @@ export default async function pluginContentDocs(
|
|
|
228
228
|
},
|
|
229
229
|
|
|
230
230
|
configureWebpack(_config, isServer, utils, content) {
|
|
231
|
-
const {getJSLoader} = utils;
|
|
232
231
|
const {
|
|
233
232
|
rehypePlugins,
|
|
234
233
|
remarkPlugins,
|
|
@@ -263,7 +262,6 @@ export default async function pluginContentDocs(
|
|
|
263
262
|
test: /\.mdx?$/i,
|
|
264
263
|
include: contentDirs,
|
|
265
264
|
use: [
|
|
266
|
-
getJSLoader({isServer}),
|
|
267
265
|
{
|
|
268
266
|
loader: require.resolve('@docusaurus/mdx-loader'),
|
|
269
267
|
options: {
|