mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 10:03:31 +01:00
feat(guide): add github links for pages (#8725)
This commit is contained in:
5
packages/guide/src/util/url.ts
Normal file
5
packages/guide/src/util/url.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import { GITHUB_BASE_PAGES_PATH } from './constants.js';
|
||||
|
||||
export function generateGithubURL(pageURL: string) {
|
||||
return `${GITHUB_BASE_PAGES_PATH}${pageURL}.mdx`;
|
||||
}
|
||||
Reference in New Issue
Block a user