@rspress/plugin-typedoc 2.0.0-beta.19 → 2.0.0-beta.20

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.
Files changed (2) hide show
  1. package/dist/es/index.js +1 -1
  2. package/package.json +3 -3
package/dist/es/index.js CHANGED
@@ -10,7 +10,7 @@ async function patchLinks(outputDir) {
10
10
  if ([
11
11
  '/',
12
12
  '.'
13
- ].includes(p2[0])) return `[${p1}](${p2})`;
13
+ ].includes(p2[0]) || p2.startsWith('http://') || p2.startsWith('https://')) return `[${p1}](${p2})`;
14
14
  return `[${p1}](./${p2})`;
15
15
  });
16
16
  await promises.writeFile(filePath, newContent);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspress/plugin-typedoc",
3
- "version": "2.0.0-beta.19",
3
+ "version": "2.0.0-beta.20",
4
4
  "description": "A plugin for rspress to integrate typedoc",
5
5
  "bugs": "https://github.com/web-infra-dev/rspress/issues",
6
6
  "repository": {
@@ -30,7 +30,7 @@
30
30
  "dependencies": {
31
31
  "typedoc": "0.24.8",
32
32
  "typedoc-plugin-markdown": "3.17.1",
33
- "@rspress/shared": "2.0.0-beta.19"
33
+ "@rspress/shared": "2.0.0-beta.20"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@microsoft/api-extractor": "^7.52.8",
@@ -44,7 +44,7 @@
44
44
  "@rspress/config": "1.0.0"
45
45
  },
46
46
  "peerDependencies": {
47
- "rspress": "^2.0.0-beta.19"
47
+ "rspress": "^2.0.0-beta.20"
48
48
  },
49
49
  "engines": {
50
50
  "node": ">=18.0.0"