Skip to content

Commit bab9a6d

Browse files
πŸ˜‰
1 parent a0083f2 commit bab9a6d

File tree

2 files changed

+6
-30
lines changed

2 files changed

+6
-30
lines changed
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
export 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'

β€Ždocs/theme.config.tsxβ€Ž

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff 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-
12395
export default config

0 commit comments

Comments
Β (0)