File tree Expand file tree Collapse file tree 5 files changed +22
-3
lines changed Expand file tree Collapse file tree 5 files changed +22
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "classes" : " Classes" ,
3- "functions" : " Functions" ,
43 "typedef" : " Type Definitions" ,
54 "enums" : " Enums"
65}
Original file line number Diff line number Diff line change 1+ # CommandKit
Original file line number Diff line number Diff line change 1+ {
2+ "CommandKit" : " CommandKit"
3+ }
Original file line number Diff line number Diff line change 1- # Home page
1+ ---
2+ title : CommandKit - A Discord.js Handler
3+ ---
Original file line number Diff line number Diff line change 1- export default {
1+ import type { DocsThemeConfig } from 'nextra-theme-docs' ;
2+ import { useRouter } from 'next/router' ;
3+
4+ const config : DocsThemeConfig = {
25 logo : < span > CommandKit</ span > ,
36 project : {
47 link : 'https://github.com/underctrl-io/commandkit' ,
58 } ,
9+ docsRepositoryBase : 'https://github.com/underctrl-io/commandkit/blob/apps/docs' ,
10+ useNextSeoProps ( ) {
11+ const { asPath } = useRouter ( ) ;
12+ if ( asPath !== '/' ) {
13+ return {
14+ titleTemplate : '%s – CommandKit' ,
15+ } ;
16+ }
17+ } ,
618} ;
19+
20+ export default config ;
You can’t perform that action at this time.
0 commit comments