-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathdocusaurus.config.js
More file actions
78 lines (75 loc) · 2.11 KB
/
docusaurus.config.js
File metadata and controls
78 lines (75 loc) · 2.11 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
module.exports = {
title: 'SimpleWebAuthn',
tagline: 'A collection of TypeScript-first libraries for simpler WebAuthn integration. Supports modern browsers and Node.',
url: 'https://simplewebauthn.dev',
baseUrl: '/',
favicon: 'img/logo_favicon.png',
organizationName: 'MasterKale', // Usually your GitHub org/user name.
projectName: 'SimpleWebAuthn', // Usually your repo name.
/* Try to keep track of when links break */
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'throw',
/* Prepare for Docusaurus v4 */
future: {
experimental_faster: true,
v4: true,
},
themeConfig: {
navbar: {
title: 'SimpleWebAuthn',
logo: {
alt: 'SimpleWebAuthn Logo',
src: 'img/logo_favicon.png',
},
items: [
{
to: 'docs/',
activeBasePath: 'docs',
label: 'Docs',
position: 'left',
},
{
href: 'https://tools.passkeys.dev/responsedecoder',
label: 'Debugger',
position: 'left',
},
{
href: 'https://github.com/MasterKale/SimpleWebAuthn',
label: 'GitHub',
position: 'right',
},
],
},
footer: {
copyright: `
<strong>Copyright © ${new Date().getFullYear()} Matthew Miller. Built with Docusaurus.</strong>
<sub>FIDO® is a trademark of FIDO Alliance, Inc.</sub>
<sub><a href="https://a0.to/signup/simplewebauthn">Sponsored by Auth0 by Okta</a></sub>
`,
},
prism: {
theme: require('prism-react-renderer').themes.github,
darkTheme: require('prism-react-renderer').themes.vsDark,
},
algolia: {
appId: 'E0FZF1RZXD',
apiKey: '3780e98137ff937b60274da866ac2cc2',
indexName: 'simplewebauthn',
},
},
presets: [
[
'classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
editUrl: 'https://github.com/MasterKale/SimpleWebAuthn-homepage/edit/master',
sidebarCollapsed: false,
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
};