File tree Expand file tree Collapse file tree 2 files changed +6
-30
lines changed
Expand file tree Collapse file tree 2 files changed +6
-30
lines changed Original file line number Diff line number Diff line change 11export default {
22 index : 'Home' ,
3- guide : 'Guide' ,
4- docs : 'Documentation' ,
3+ guide : {
4+ title : < b > Guide</ b >
5+ } ,
6+ docs : {
7+ title : < b > Documentation</ b >
8+ } ,
59 '-- Project' : {
610 type : 'separator' ,
711 title : 'Project'
Original file line number Diff line number Diff line change @@ -33,19 +33,6 @@ const config: DocsThemeConfig = {
3333 editLink : {
3434 content : 'Edit this page on GitHub'
3535 } ,
36- // TODO
37- // useNextSeoProps() {
38- // const { asPath } = useRouter()
39- // if (asPath === '/') {
40- // return {
41- // titleTemplate: siteTitle
42- // }
43- // } else {
44- // return {
45- // titleTemplate: `%s β ${siteTitle}`
46- // }
47- // }
48- // },
4936 sidebar : {
5037 toggleButton : true
5138 } ,
@@ -105,19 +92,4 @@ const config: DocsThemeConfig = {
10592 }
10693}
10794
108- // // TODO: get memoization working here
109- // function titleComponent({
110- // title
111- // }: {
112- // title: string
113- // type: string
114- // route: string
115- // }) {
116- // if (title === 'Guide' || title === 'Documentation') {
117- // return <b>{title}</b>
118- // }
119-
120- // return <span>{title}</span>
121- // }
122-
12395export default config
You canβt perform that action at this time.
0 commit comments