-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocusaurus.config.js
56 lines (56 loc) · 1.43 KB
/
docusaurus.config.js
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
/** @type {import('@docusaurus/types').DocusaurusConfig} */
module.exports = {
title: 'ClayStack Docs',
tagline: 'Documentation ClayStack Staking Protocol',
url: 'https://claystack.com',
baseUrl: '/',
onBrokenLinks: 'warn',
onBrokenMarkdownLinks: 'warn',
favicon: './favicon.png',
organizationName: 'ClayStack', // Usually your GitHub org/user name.
projectName: 'docs', // Usually your repo name.
themeConfig: {
image: 'images/share.jpg',
metadata: [{ 'twitter:image': 'images/share.jpg' }],
prism: {
additionalLanguages: ['solidity'],
},
navbar: {
title: 'ClayStack Docs',
logo: {
alt: 'ClayStack Logo',
src: 'claystack-logo-mobile--light.svg',
},
items: [
// {
// href: 'https://github.com/',
// label: 'GitHub',
// position: 'right',
// },
],
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
routeBasePath: '/',
sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
// editUrl: 'https://github.com//docs/blob/main/',
},
gtag: {
trackingID: 'G-C478BLWCWD',
anonymizeIP: false,
},
},
],
],
plugins: [
[
require.resolve('@easyops-cn/docusaurus-search-local'),
{ indexBlog: false, docsRouteBasePath: '/', indexPages: true },
],
],
}