forked from radarlabs/documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docusaurus.config.js
96 lines (96 loc) · 3.14 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
/** @type {import('@docusaurus/types').DocusaurusConfig} */
module.exports = {
title: 'Documentation | Radar',
tagline: 'Location data infrastructure | Geofencing SDK and API',
url: 'https://radar.com',
baseUrl: '/documentation/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/favicon.png',
organizationName: 'radarlabs', // Usually your GitHub org/user name.
projectName: 'docs', // Usually your repo name.
themeConfig: {
metadatas: [
{ name: "description", content: "Location data infrastructure | Geofencing SDK and API"},
{ name: "fb:app_id", content: "1026503440803301" },
{ name: "og:site_name", content: "Radar" },
{ name: "og:type", content: "website" },
{ name: "og:description", content: "Location data infrastructure | Geofencing SDK and API" },
{ name: "og:image", content: "https://radar.com/static/image/logo-social.png"},
{ name: "og:image:url", content: "https://radar.com/static/image/logo-social.png"},
{ name: "twitter:card", content: "summary" },
{ name: "twitter:site", content: "@radarlabs" },
{ name: "twitter:image", content: "https://radar.com/static/image/logo.png" },
{ name: "twitter:description", content: "Location data infrastructure | Geofencing SDK and API"}
],
navbar: {
logo: {
alt: 'My Site Logo',
src: 'img/logo.svg',
},
items: [
{
// Use to instead of href to disable the external link icon; see: https://github.com/facebook/docusaurus/pull/4949
to: 'https://radar.com/pricing',
label: 'Pricing',
position: 'right',
},
{
// Use to instead of href to disable the external link icon; see: https://github.com/facebook/docusaurus/pull/4949
to: 'https://radar.com/contact',
label: 'Contact Sales',
position: 'right',
},
{
// Use to instead of href to disable the external link icon; see: https://github.com/facebook/docusaurus/pull/4949
to: 'https://radar.com/login',
label: 'Dashboard',
position: 'right',
},
// Note: Disabled this in CSS since hiding this will just fallback to default search positioning
{
type: 'search',
position: 'left',
},
],
},
algolia: {
apiKey: '604d5f6f90cc8e49f532cd33b4b6c37e',
appId: 'HNJN02FL1I',
indexName: 'radar',
},
colorMode: {
disableSwitch: true
},
prism: {
additionalLanguages: ['kotlin', 'java', 'swift'],
theme: require('prism-react-renderer/themes/github'),
},
googleAnalytics: {
trackingID: 'UA-83017101-1',
anonymizeIP: true,
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
editUrl:
'https://github.com/radarlabs/docs/edit/main/',
routeBasePath: '/',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
scripts: [
{
src: 'js/fullstory.js',
async: true,
}
]
};