-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocusaurus.config.js
More file actions
115 lines (107 loc) · 3.14 KB
/
docusaurus.config.js
File metadata and controls
115 lines (107 loc) · 3.14 KB
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
const lightCodeTheme = require('prism-react-renderer/themes/github');
const darkCodeTheme = require('prism-react-renderer/themes/dracula');
/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'OpenSource',
tagline: 'Documentation ☀',
url: 'https:/docsopensource.github.io/',
baseUrl: '/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/favicon.ico',
organizationName: 'docsopensource', // Usually your GitHub org/user name.
projectName: 'docsopensource.github.io', // Usually your repo name.
trailingSlash: false,
deploymentBranch: 'deploy',
onBrokenLinks : 'ignore',
presets: [
[
'@docusaurus/preset-classic',
/** @type {import('@docusaurus/preset-classic').Options} */
({
docs: {
sidebarPath: require.resolve('./sidebars.js'),
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
}),
],
],
themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
navbar: {
title: 'OpenSource',
logo: {
alt: 'My Site Logo',
src: 'img/open_source.svg',
},
items: [
{
type: 'doc',
docId: 'Background/background',
position: 'left',
label: 'Documentation',
},
],
},
footer: {
style: 'dark',
links: [
{
title: 'OpenSource',
items: [
{
label: 'Github',
href: 'https://github.com/docsopensource/docsopensource.github.io',
},
{
label: 'Contributors',
href: 'https://github.com/girlscript/winter-of-contributing/graphs/contributors',
},
],
},
{
title: 'GWOC Community',
items: [
{
label: 'Github',
href: 'https://github.com/girlscript/winter-of-contributing',
},
{
label: 'Twitter',
href: 'https://twitter.com/girlscriptwoc?t=wQYmJKKM0e6hJI5UllXe4w&s=09',
},
{
label: 'LinkedIn',
href: 'https://www.linkedin.com/company/girlscript-winter-of-contributing/',
},
],
},
{
title: 'More',
items: [
{
label: 'Domain Supervisor',
href: 'https://github.com/Aryamanz29',
},
{
label: 'Winter Of Contributing Repository',
href: 'https://github.com/girlscript/winter-of-contributing',
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Made With ❤ By <a href ="https://github.com/Aryamanz29"><strong>AryamanZ29</strong> </a> `,
},
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
},
}),
plugins: [
require.resolve('@cmfcmf/docusaurus-search-local')
],
};
module.exports = config;