This repository has been archived by the owner on Aug 1, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocusaurus.config.js
126 lines (126 loc) · 4.53 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
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
module.exports = {
title: 'Blish HUD',
tagline: 'A modern Guild Wars 2 overlay with powerful module support.',
url: 'https://blishhud.com',
baseUrl: '/',
favicon: 'img/favicon.ico',
organizationName: 'Blish-HUD',
projectName: 'Blish-HUD',
plugins: [['@docusaurus/plugin-google-analytics', {id:'ga'}]],
themeConfig: {
navbar: {
title: 'Blish HUD',
logo: {
alt: 'Blish HUD',
src: 'img/logo.png',
},
items: [
{
to: 'docs/user/',
activeBasePath: 'docs/user',
label: 'User Guide',
position: 'left',
},
{
to: 'docs/dev/',
activeBasePath: 'docs/dev',
label: 'Module Development',
position: 'right',
},
{
to: 'docs/markers/',
activeBasePath: 'docs/markers',
label: 'Marker Docs',
position: 'right',
class: 'navbar__item navbar__link navbar__splitleft'
},
{
href: 'https://github.com/blish-hud/Blish-HUD',
label: 'GitHub',
position: 'right',
class: 'navbar__item navbar__link navbar__splitleft',
},
{
href: 'https://discord.gg/FYKN3qh',
label: 'Discord',
position: 'right',
},
],
},
footer: {
style: 'dark',
links: [],
copyright: `Designed and built with all the love in Tyria by the Blish HUD team with help from many more!
<br />
<br />
<a href="https://github.com/blish-hud/blish-hud/graphs/contributors">
<img src="https://contrib.rocks/image?repo=blish-hud/blish-hud&max=12" />
</a>
<hr />
<p>This site is not affiliated with ArenaNet, Guild Wars 2, or any of their partners. All copyrights reserved to their respective owners.</p>
<p>©2010-${new Date().getFullYear()} ArenaNet, LLC. All rights reserved. Guild Wars, Guild Wars 2, Heart of Thorns,
Guild Wars 2: Path of Fire, ArenaNet, NCSOFT, the Interlocking NC Logo, and all associated
logos and designs are trademarks or registered trademarks of NCSOFT Corporation. All other
trademarks are the property of their respective owners.</p>`,
},
announcementBar: {
id: 'wip', // Any value that will identify this message.
content:
'Our documentation is still a work in progress. Checkout our <a target="_blank" href="https://discord.gg/FYKN3qh">Discord channel</a> for the latest (including prerelease builds 🏃♂️).',
backgroundColor: '#fafbfc', // Defaults to `#fff`.
textColor: '#091E42', // Defaults to `#000`.
isCloseable: false, // Defaults to `true`.
},
colorMode: {
defaultMode: "dark",
disableSwitch: true,
respectPrefersColorScheme: false
},
googleAnalytics: {
trackingID: 'UA-46839422-21',
// Optional fields.
// anonymizeIP: true, // Should IPs be anonymized?
},
metadata: [{name: 'keywords', content: 'Guild Wars 2, gw2, Blish, HUD, bhud, TacO, Overlay'}]
},
presets: [
[
'@docusaurus/preset-classic',
{
"user-docs": {
// It is recommended to set document id as docs home page (`docs/` path).
homePageId: 'user',
//sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
editUrl:
'https://github.com/facebook/docusaurus/edit/master/website/',
},
"dev-docs": {
// It is recommended to set document id as docs home page (`docs/` path).
homePageId: 'dev',
//sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
editUrl:
'https://github.com/facebook/docusaurus/edit/master/website/',
},
"marker-docs": {
// It is recommended to set document id as docs home page (`docs/` path).
homePageId: 'markers',
//sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
editUrl:
'https://github.com/facebook/docusaurus/edit/master/website/',
},
blog: {
showReadingTime: true,
// Please change this to your repo.
editUrl:
'https://github.com/facebook/docusaurus/edit/master/website/blog/',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
};