mirror of
https://github.com/DiscordFactory/website-documentation.git
synced 2026-01-14 17:34:22 +01:00
🚧 Work in progress
This commit is contained in:
@@ -4,14 +4,18 @@ import Starting from './base/Starting.vue'
|
||||
import Environment from './base/Environment.vue'
|
||||
import Structure from './base/Structure.vue'
|
||||
import Command from './base/Command.vue'
|
||||
import SlashCommand from './base/SlashCommand.vue'
|
||||
import ContextMenu from './base/ContextMenu.vue'
|
||||
import Event from './base/Event.vue'
|
||||
import Middleware from './base/Middleware.vue'
|
||||
import Hook from './base/Hook.vue'
|
||||
import Deployment from './advanced/Deployment.vue'
|
||||
import CreateAddon from './advanced/CreateAddon.vue'
|
||||
|
||||
import PartialHooks from './base/PartialHooks.vue'
|
||||
import PingPong from './examples/PingPong.vue'
|
||||
import ExampleButtons from './examples/Buttons.vue'
|
||||
import PresenceProvider from './examples/PresenceProvider.vue'
|
||||
|
||||
import MessageCommands from './modules/MessageCommands.vue'
|
||||
import Colorize from './modules/Colorize.vue'
|
||||
import Storage from './modules/Storage.vue'
|
||||
|
||||
@@ -22,16 +26,18 @@ const routes: RouteRecordRaw[] = [
|
||||
{ path: '/documentation/structure', component: Structure },
|
||||
{ path: '/documentation/partial-hooks', component: PartialHooks },
|
||||
{ path: '/documentation/commands', component: Command },
|
||||
{ path: '/documentation/slash-commands', component: SlashCommand },
|
||||
{ path: '/documentation/context-menu', component: ContextMenu },
|
||||
{ path: '/documentation/events', component: Event },
|
||||
{ path: '/documentation/middlewares', component: Middleware },
|
||||
{ path: '/documentation/hooks', component: Hook },
|
||||
|
||||
{ path: '/documentation/deployment', component: Deployment },
|
||||
{ path: '/documentation/create-your-addon', component: CreateAddon },
|
||||
|
||||
{ path: '/documentation/modules/message-command', component: MessageCommands },
|
||||
{ path: '/documentation/modules/colorize', component: Colorize },
|
||||
{ path: '/documentation/modules/database-storage', component: Storage },
|
||||
|
||||
{ path: '/documentation/examples/presence-with-provider', component: PresenceProvider },
|
||||
{ path: '/documentation/examples/ping-pong', component: PingPong },
|
||||
{ path: '/documentation/examples/buttons', component: ExampleButtons },
|
||||
]
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { NavbarLink } from '../types'
|
||||
import { github, twitter } from './Icons'
|
||||
import { CalendarIcon, ChartBarIcon, FolderIcon, HomeIcon, InboxIcon, UsersIcon } from '@heroicons/vue/outline'
|
||||
|
||||
export const links: NavbarLink[] = [
|
||||
{ label: 'Home', path: '/', local: true },
|
||||
@@ -24,9 +23,8 @@ export const documentation = [
|
||||
{ label: 'Structure', href: '/documentation/structure', isMenu: false },
|
||||
{ label: 'Partial Hooks', href: '/documentation/partial-hooks', isMenu: false },
|
||||
{ label: 'Commands', href: '/documentation/commands', isMenu: false },
|
||||
{ label: 'Slash Commands', href: '/documentation/slash-commands', isMenu: false },
|
||||
{ label: 'Context Menu', href: '/documentation/context-menu', isMenu: false },
|
||||
{ label: 'Events', href: '/documentation/events', isMenu: false },
|
||||
{ label: 'Middlewares', href: '/documentation/middlewares', isMenu: false },
|
||||
{ label: 'Hooks', href: '/documentation/hooks', isMenu: false },
|
||||
]
|
||||
},
|
||||
@@ -35,22 +33,54 @@ export const documentation = [
|
||||
isMenu: true,
|
||||
child: [
|
||||
{ label: 'Deployment', href: '/documentation/deployment', isMenu: false },
|
||||
{ label: 'Addon', href: '/documentation/create-your-addon', isMenu: false },
|
||||
]
|
||||
},
|
||||
{
|
||||
label: 'Modules',
|
||||
isMenu: true,
|
||||
child: [
|
||||
{ label: 'Message command', href: '/documentation/modules/message-command', isMenu: false },
|
||||
{ label: 'Colorize', href: '/documentation/modules/colorize', isMenu: false },
|
||||
{ label: 'Database storage', href: '/documentation/modules/database-storage', isMenu: false },
|
||||
{ label: 'Storage next', href: '/documentation/modules/database-storage', isMenu: false },
|
||||
]
|
||||
},
|
||||
{
|
||||
label: 'Example',
|
||||
isMenu: true,
|
||||
child: [
|
||||
{ label: 'Presence with provider', href: '/documentation/examples/presence-with-provider', isMenu: false },
|
||||
{ label: 'Ping pong', href: '/documentation/examples/ping-pong', isMenu: false },
|
||||
{ label: 'Buttons', href: '/documentation/examples/buttons', isMenu: false },
|
||||
]
|
||||
},
|
||||
]
|
||||
|
||||
export enum markdownEndpoint {
|
||||
GETTING_STARTED = 'https://raw.githubusercontent.com/DiscordFactory/.github/main/profile/README.md',
|
||||
STARTING = 'https://raw.githubusercontent.com/DiscordFactory/core/master/doc/Starting.md',
|
||||
COMMAND = 'https://raw.githubusercontent.com/DiscordFactory/core/master/doc/Command.md',
|
||||
CONTEXT_MENU = 'https://raw.githubusercontent.com/DiscordFactory/core/master/doc/ContextMenu.md',
|
||||
APPLICATION_HOOK = 'https://raw.githubusercontent.com/DiscordFactory/core/master/doc/Application.md',
|
||||
EVENT = 'https://raw.githubusercontent.com/DiscordFactory/core/master/doc/Event.md',
|
||||
STRUCTURE = 'https://raw.githubusercontent.com/DiscordFactory/core/master/doc/Structure.md',
|
||||
ENVIRONMENT = 'https://raw.githubusercontent.com/DiscordFactory/core/master/doc/Environment.md',
|
||||
HOOK = 'https://raw.githubusercontent.com/DiscordFactory/core/master/doc/Hook.md',
|
||||
|
||||
PRESENCE_PROVIDER = 'https://raw.githubusercontent.com/DiscordFactory/core/master/doc/exemples/PresenceProvider.md',
|
||||
PING_PONG = 'https://raw.githubusercontent.com/DiscordFactory/core/master/doc/exemples/PingPong.md',
|
||||
BUTTONS = 'https://raw.githubusercontent.com/DiscordFactory/core/master/doc/exemples/Buttons.md',
|
||||
|
||||
MESSAGE_COMMAND = 'https://raw.githubusercontent.com/DiscordFactory/message-commands/master/README.md',
|
||||
STORAGE = 'https://raw.githubusercontent.com/DiscordFactory/storage-next/master/README.md',
|
||||
COLORIZE = 'https://raw.githubusercontent.com/DiscordFactory/colorize/master/README.md',
|
||||
|
||||
DEPLOYMENT = 'https://raw.githubusercontent.com/DiscordFactory/core/master/doc/Deployment.md',
|
||||
|
||||
PARTIAL_COMMAND = 'https://raw.githubusercontent.com/DiscordFactory/core/master/doc/partials/Command.md',
|
||||
PARTIAL_EVENT = 'https://raw.githubusercontent.com/DiscordFactory/core/master/doc/partials/Event.md',
|
||||
PARTIAL_CONTEXT_MENU = 'https://raw.githubusercontent.com/DiscordFactory/core/master/doc/partials/ContextMenu.md',
|
||||
PARTIAL_MODEL = 'https://raw.githubusercontent.com/DiscordFactory/storage-next/master/doc/partials/Model.md',
|
||||
|
||||
test = 'https://raw.githubusercontent.com/DiscordFactory/.github/main/README.md',
|
||||
}
|
||||
Reference in New Issue
Block a user