-
Notifications
You must be signed in to change notification settings - Fork 1
/
theme.config.tsx
59 lines (55 loc) · 1.28 KB
/
theme.config.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
import React from 'react'
import { DocsThemeConfig } from 'nextra-theme-docs'
import Search from './components/Search';
let basePath = '';
if (process.env?.NEXT_BASE_PATH) {
basePath = process.env.NEXT_BASE_PATH;
}
const config: DocsThemeConfig = {
project: {
link: 'https://github.com/conceptadev/rockets',
},
chat: {
link: 'https://discord.com',
},
docsRepositoryBase: 'https://github.com/conceptadev/rockets/blob/main',
search: {
component: Search,
},
navigation: {
prev: true,
next: true,
},
sidebar: {
autoCollapse: true,
defaultMenuCollapseLevel: 1,
},
logo: (
<>
<img
className="md:inline object-contain hidden"
height={16}
width={16}
alt="Rockets Logo"
src={`${basePath}/assets/rockets-icon.svg`}
/>
<span className="mr-2 font-extrabold mx-2 hidden md:inline">Rockets</span>
{/* <span className="text-gray-600 font-normal text-sm hidden md:inline">
Rapid Enterprise Development Toolkit
</span> */}
</>
),
footer: {
text: (
<>
<span>
{'2022 © '}
<a href="https://conceptatech.com" target="_blank" rel="noreferrer">
{' Concepta'}
</a>
</span>
</>
),
}
}
export default config