@stainless-api/docs 0.1.0-beta.122 → 0.1.0-beta.123
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/CHANGELOG.md +6 -0
- package/package.json +1 -1
- package/stl-docs/index.ts +1 -3
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
package/stl-docs/index.ts
CHANGED
|
@@ -179,9 +179,7 @@ function stainlessDocsIntegration(
|
|
|
179
179
|
|
|
180
180
|
const base = astroConfig.base ?? '/';
|
|
181
181
|
const withBase = (link: string) =>
|
|
182
|
-
[
|
|
183
|
-
? link
|
|
184
|
-
: path.posix.join(base, link);
|
|
182
|
+
/^([a-z][a-z0-9+.-]*:|\/\/)/.test(link) ? link : path.posix.join(base, link);
|
|
185
183
|
|
|
186
184
|
const virtualModules = new Map(
|
|
187
185
|
Object.entries({
|