Skip to content

Commit

Permalink
Add script to fix broken links
Browse files Browse the repository at this point in the history
  • Loading branch information
deusaquilus committed Nov 4, 2024
1 parent 5b4713d commit 8eab7b6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@
content = content.substring(startIndex, endIndex)
}

// find all the places with "a href=#/terpal-sql-jdbc" and append "https://github.com/ExoQuery/terpal-sql/blob/main/" to it:
content = content.replace(/\[(.+)\]\((terpal-sql-jdbc\/.+\.kt)\)/g, '[$1](https://github.com/ExoQuery/terpal-sql/blob/main/$2)')

return content;
});
}
Expand Down

0 comments on commit 8eab7b6

Please sign in to comment.