-
Notifications
You must be signed in to change notification settings - Fork 48
/
docusaurus.config.js
83 lines (80 loc) · 2.17 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
module.exports = {
title: "Hashnode Support",
tagline: "Your go-to guides for understanding Hashnode a little better",
url: "https://support.hashnode.com/",
baseUrl: "/",
onBrokenLinks: "ignore",
onBrokenMarkdownLinks: "ignore",
favicon:
"https://cdn.hashnode.com/res/hashnode/image/upload/v1611242173172/AOX1gE2jc.png",
organizationName: "hashnode", // Usually your GitHub org/user name.
projectName: "support", // Usually your repo name.
themeConfig: {
navbar: {
// title: 'Hashnode',
logo: {
alt: "Hashnode Support Logo",
src:
"https://cdn.hashnode.com/res/hashnode/image/upload/v1611856421169/zcx6qvf_J.png?auto=compress",
srcDark:
"https://cdn.hashnode.com/res/hashnode/image/upload/v1611856682886/N1xqQtDit.png?auto=compress",
},
items: [
{
href: "https://hashnode.com",
label: "Back to Hashnode",
position: "right",
},
],
},
algolia: {
apiKey: "b49750d742345b19c79e80a2e3e20312",
indexName: "docs",
appId: "AMERDMZM12",
// Optional: see doc section bellow
contextualSearch: true,
// Optional: Algolia search parameters
searchParameters: {},
//... other Algolia params
},
gtag: {
trackingID: 'UA-69832919-13',
},
footer: {
links: [
{
title: "Talk to the team",
items: [
{
label: "Email Us",
href: "mailto:hello@hashnode.com",
},
{
label: "Twitter",
href: "https://twitter.com/hashnode",
},
{
label: "Discord",
href: "https://discord.gg/qsAQfxX",
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Hashnode`,
},
},
presets: [
[
"@docusaurus/preset-classic",
{
docs: {
sidebarPath: require.resolve("./sidebars.js"),
editUrl: "https://github.com/Hashnode/support/edit/main/",
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
},
},
],
],
};