We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3069e64 commit 15bfbbfCopy full SHA for 15bfbbf
docusaurus.config.js
@@ -1,4 +1,5 @@
1
const { join, resolve } = require('node:path');
2
+const { parse } = require('node:url');
3
4
const clsx = require('clsx');
5
const { createApiPageMD, createInfoPageMD } = require('docusaurus-plugin-openapi-docs/lib/markdown');
@@ -292,7 +293,7 @@ module.exports = {
292
293
remarkStringify: {
294
handlers: {
295
link: (node) => {
- const isUrlInternal = isInternal(node.url);
296
+ const isUrlInternal = isInternal(parse(node.url));
297
const url = isUrlInternal ? `${config.absoluteUrl}${node.url}.md` : node.url;
298
299
if (node.title) return `[${node.title}](${url})`;
0 commit comments