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 c8d86c7 commit b4dbc2dCopy full SHA for b4dbc2d
src/generators/llms-txt/utils/buildApiDocLink.mjs
@@ -1,4 +1,4 @@
1
-import { LATEST_DOC_API_BASE_URL } from '../../../constants.mjs';
+import { BASE_URL } from '../../../constants.mjs';
2
import { transformNodeToString } from '../../../utils/unist.mjs';
3
4
/**
@@ -39,7 +39,7 @@ export const buildApiDocLink = entry => {
39
const title = entry.heading.data.name;
40
41
const path = entry.api_doc_source.replace(/^doc\//, '/docs/latest/');
42
- const url = new URL(path, LATEST_DOC_API_BASE_URL);
+ const url = new URL(path, BASE_URL);
43
44
const link = `[${title}](${url})`;
45
0 commit comments