-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdocusaurus.config.js
117 lines (117 loc) · 2.99 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
module.exports = {
title: 'CodersRank Documentation',
tagline: 'CodersRank tools and services documentation',
url: 'https://docs.codersrank.io',
baseUrl: '/',
onBrokenLinks: 'throw',
favicon: 'img/favicon.png',
organizationName: 'codersrank-org', // Usually your GitHub org/user name.
projectName: 'docs.codersrank.io', // Usually your repo name.
themeConfig: {
googleAnalytics: {
trackingID: 'UA-105624494-1',
},
navbar: {
title: 'Documentation',
logo: {
alt: 'CodersRank Logo',
src: 'img/logo.svg',
},
items: [
{
label: 'Forum',
href: 'https://forum.codersrank.io',
position: 'right',
},
{
href: 'https://github.com/codersrank-org/',
label: 'GitHub',
position: 'right',
},
],
},
footer: {
style: 'dark',
links: [
{
title: 'Docs',
items: [
{
label: 'Introduction',
to: '/',
},
{
label: 'Widgets',
to: '/widgets/',
},
{
label: 'API',
to: '/api/',
},
{
label: 'Repo Info Extractor',
to: '/repo-info-extractor/repo-info-extractor/',
},
{
label: 'Integrations',
to: '/bitbucket-integration/',
},
],
},
{
title: 'Community',
items: [
{
label: 'Forum',
href: 'https://forum.codersrank.io',
},
{
label: 'Slack chat',
href:
'https://codersrank.slack.com/join/shared_invite/enQtNDU5MTI1OTg3NTM2LWJlNWEyOTkxMWYwMTMwMDI2NjMzZWJiMTc0NTJkNDI2OWVkZmE5NjRlZGEyNDg0MTk2OTE5OTliZGM0NjUzYzc',
},
{
label: 'GitHub',
href: 'https://github.com/codersrank-org/',
},
{
label: 'Facebook',
href: 'https://www.facebook.com/codersrank',
},
{
label: 'Twitter',
href: 'https://twitter.com/codersrank',
},
],
},
{
title: 'Resources',
items: [
{
label: 'Blog',
href: 'https://blog.codersrank.io',
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} CodersRank, Ltd.`,
},
},
plugins: ['docusaurus-plugin-sass'],
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
routeBasePath: '/',
sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
editUrl: 'https://github.com/codersrank-org/docs.codersrank.io/edit/master/',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
};