-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocusaurus.config.ts
More file actions
156 lines (144 loc) · 4.93 KB
/
docusaurus.config.ts
File metadata and controls
156 lines (144 loc) · 4.93 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
// docusaurus.config.ts
import type {Config} from '@docusaurus/types';
import {themes as prismThemes} from 'prism-react-renderer';
const config: Config = {
title: 'QuantumAuth',
tagline: 'Device-bound, quantum-inspired authentication.',
favicon: 'img/favicon.ico',
url: 'https://docs.quantumauth.io',
baseUrl: '/',
organizationName: 'quantumauth-io',
projectName: 'quantumauth-docs',
trailingSlash: false,
i18n: {
defaultLocale: 'en',
locales: ['en'],
},
presets: [
[
'classic',
{
docs: {
sidebarPath: './sidebars.ts',
routeBasePath: '/docs',
editUrl:
'https://github.com/quantumauth-io/quantumauth-docs/edit/main/',
},
blog: {
showReadingTime: true,
blogTitle: 'QuantumAuth Blog',
blogDescription: 'Updates, releases, security insights & engineering notes.',
postsPerPage: 10,
// 👇 enable "Edit this page" for blog posts too
editUrl: 'https://github.com/quantumauth-io/quantumauth-docs/edit/main/',
},
theme: {
customCss: './src/css/custom.css',
},
},
],
],
themeConfig: {
navbar: {
title: 'QuantumAuth',
logo: {
alt: 'QuantumAuth logo',
src: 'img/logo-192.png', // add your logo here (or use favicon for now)
},
items: [
{
type: 'docSidebar',
sidebarId: 'tutorialSidebar',
position: 'left',
label: 'Docs',
},
{
label: 'Blog',
to: '/blog',
position: 'left',
},
{
href: 'https://quantumauth-io.github.io/quantumauth-docs/docs/0-Introduction/what-is-quantumauth',
label: 'Getting started',
position: 'left',
},
{
href: 'https://github.com/quantumauth-io/quantum-auth',
label: 'Server',
position: 'right',
},
{
href: 'https://github.com/quantumauth-io/quantum-auth-client',
label: 'Client',
position: 'right',
},
{
href: 'https://github.com/quantumauth-io',
label: 'GitHub',
position: 'right',
},
],
},
footer: {
style: 'dark',
links: [
{
title: 'Docs',
items: [
{
label: 'Getting started',
to: '/docs/0-Introduction/what-is-quantumauth',
},
],
},
{
title: 'Ecosystem',
items: [
{
label: 'QuantumAuth Server',
href: 'https://github.com/quantumauth-io/quantum-auth',
},
{
label: 'QuantumAuth Client',
href: 'https://github.com/quantumauth-io/quantum-auth-client',
},
{
label: 'QuantumAuth SDK',
href: 'https://github.com/quantumauth-io/quantum-auth-sdk',
},
{
label: 'Quantum Web (portal)',
href: 'https://github.com/quantumauth-io/quantum-web',
},
],
},
{
title: 'Community',
items: [
{
label: 'GitHub Issues',
href: 'https://github.com/quantumauth-io/quantum-auth/issues',
},
{
label: 'Organization',
href: 'https://github.com/quantumauth-io',
},
],
},
],
copyright: `© ${new Date().getFullYear()} QuantumAuth. Built with Docusaurus.`,
},
prism: {
theme: prismThemes.dracula,
darkTheme: prismThemes.dracula,
},
},
markdown: {
mermaid: true,
hooks:{
onBrokenMarkdownLinks: 'warn',
}
},
themes: ['@docusaurus/theme-mermaid'],
};
export default config;