@rspress/plugin-api-docgen 2.0.0-alpha.10 → 2.0.0-alpha.11
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/dist/index.js +2 -2
- package/package.json +4 -4
package/dist/index.js
CHANGED
@@ -132,7 +132,7 @@ var __webpack_exports__ = {};
|
|
132
132
|
...parseToolOptions.documentation
|
133
133
|
});
|
134
134
|
const apiDoc = await documentation.formats.md(documentationRes, {
|
135
|
-
noReferenceLinks: (null
|
135
|
+
noReferenceLinks: (null == (_parseToolOptions_documentation = parseToolOptions.documentation) ? void 0 : _parseToolOptions_documentation.noReferenceLinks) ?? true
|
136
136
|
});
|
137
137
|
apiDocMap[key] = apiDoc;
|
138
138
|
} else {
|
@@ -266,7 +266,7 @@ var __webpack_exports__ = {};
|
|
266
266
|
},
|
267
267
|
async beforeBuild (config, isProd) {
|
268
268
|
var _config_themeConfig_locales, _config_themeConfig, _config_locales;
|
269
|
-
const languages = ((null
|
269
|
+
const languages = ((null == (_config_themeConfig = config.themeConfig) ? void 0 : null == (_config_themeConfig_locales = _config_themeConfig.locales) ? void 0 : _config_themeConfig_locales.map((locale)=>locale.lang)) || (null == (_config_locales = config.locales) ? void 0 : _config_locales.map((locale)=>locale.lang)) || []).filter((lang)=>[
|
270
270
|
'zh',
|
271
271
|
'en',
|
272
272
|
'ru'
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@rspress/plugin-api-docgen",
|
3
|
-
"version": "2.0.0-alpha.
|
3
|
+
"version": "2.0.0-alpha.11",
|
4
4
|
"description": "A plugin for rspress to generate api doc.",
|
5
5
|
"bugs": "https://github.com/web-infra-dev/rspress/issues",
|
6
6
|
"repository": {
|
@@ -23,11 +23,11 @@
|
|
23
23
|
"react-docgen-typescript": "2.2.2",
|
24
24
|
"react-markdown": "^10.1.0",
|
25
25
|
"remark-gfm": "^4.0.1",
|
26
|
-
"@rspress/shared": "2.0.0-alpha.
|
26
|
+
"@rspress/shared": "2.0.0-alpha.11"
|
27
27
|
},
|
28
28
|
"devDependencies": {
|
29
29
|
"@microsoft/api-extractor": "^7.52.3",
|
30
|
-
"@rslib/core": "0.6.
|
30
|
+
"@rslib/core": "0.6.3",
|
31
31
|
"@types/mdast": "^4.0.4",
|
32
32
|
"@types/node": "^18.11.17",
|
33
33
|
"@types/react": "^18.3.20",
|
@@ -40,7 +40,7 @@
|
|
40
40
|
"unist-util-visit": "^5.0.0"
|
41
41
|
},
|
42
42
|
"peerDependencies": {
|
43
|
-
"@rspress/core": "^2.0.0-alpha.
|
43
|
+
"@rspress/core": "^2.0.0-alpha.11",
|
44
44
|
"react": ">=17.0.0",
|
45
45
|
"react-router-dom": "^6.8.1",
|
46
46
|
"typescript": "^5.8.2"
|