mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 09:33:32 +01:00
chore: move website and guide out of packages
This commit is contained in:
3
apps/guide/src/util/constants.ts
Normal file
3
apps/guide/src/util/constants.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export const DESCRIPTION = 'Imagine a guide... that explores the many possibilities for your discord.js bot.';
|
||||
|
||||
export const GITHUB_BASE_PAGES_PATH = 'https://github.com/discordjs/discord.js/tree/main/packages/guide/src/pages';
|
||||
5
apps/guide/src/util/url.ts
Normal file
5
apps/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