Skip to content

Commit

Permalink
change base path for docs links
Browse files Browse the repository at this point in the history
  • Loading branch information
thewilloftheshadow committed Feb 12, 2025
1 parent 1f0599a commit 9deab04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typedoc-formatter.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export function load(app) {
(_, text, link) => {
let newLink = link
if (!link.includes("://")) {
const url = new URL(link, `http://e.com/api/${dir}`)
const url = new URL(link, `http://e.com/docs/${dir}`)
newLink = `${url.pathname}${url.search}${url.hash}`
if (link.endsWith("/index")) {
newLink = link.slice(0, -6)
Expand Down

0 comments on commit 9deab04

Please sign in to comment.