-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocusaurus.config.js
137 lines (136 loc) · 3.46 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
127
128
129
130
131
132
133
134
135
136
137
module.exports = {
title: 'Solid Principles',
tagline:
'Mastering SOLID Principles: Your Guide to Clean and Maintainable Code',
url: 'https://solidprinciples.org/',
baseUrl: '/',
projectName: 'solid-principles',
scripts: [
'https://buttons.github.io/buttons.js',
'https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.0/clipboard.min.js',
],
stylesheets: [
'https://fonts.googleapis.com/css?family=IBM+Plex+Mono:500,700|Source+Code+Pro:500,700|Source+Sans+Pro:400,400i,700',
],
favicon: 'img/logo.png',
customFields: {
// List of projects/orgs using your project for the users page.
// You should add a lightImage and a darkImage for each theme.
repoUrl: 'https://github.com/rharshit82/SolidPrinciples',
docsRepoUrl: 'https://github.com/rharshit82/SolidPrinciples',
docsPath: 'docs',
},
onBrokenLinks: 'log',
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
showLastUpdateAuthor: true,
showLastUpdateTime: true,
remarkPlugins: [
[require('@docusaurus/remark-plugin-npm2yarn'), {sync: true}],
],
path: './docs',
sidebarPath: './sidebars.js',
},
blog: {
path: './blog',
blogSidebarCount: 'ALL',
feedOptions: {
type: 'all',
},
},
theme: {
customCss: [require.resolve('./src/css/custom.css')],
},
gtag: {
trackingID: 'UA-137787095-1',
},
},
],
],
plugins: [],
themeConfig: {
tableOfContents: {
minHeadingLevel: 2,
maxHeadingLevel: 5,
},
image: 'img/logo.png',
colorMode: {
defaultMode: 'light',
disableSwitch: false,
respectPrefersColorScheme: true,
},
navbar: {
title: 'Solid Principles',
logo: {
alt: 'A code symbol representing solid principles Logo',
src: 'img/logo.png',
width: 32,
height: 32,
},
items: [
{
type: 'doc',
docId: 'introduction',
label: 'Docs',
position: 'left',
},
{
to: '/blog',
label: 'Blog',
position: 'right',
},
],
},
footer: {
links: [
{
title: 'Docs',
items: [
{
label: 'Getting Started',
to: 'docs',
},
],
},
{
title: 'Community',
items: [
{
label: 'Blog',
to: 'blog',
},
],
},
{
title: 'More',
items: [
{
html: `
<a target="_blank" rel="noreferrer noopener" class="github-button"
href="https://github.com/rharshit82/SolidPrinciples"
data-icon="octicon-star"
data-show-count="true"
data-count-aria-label="# SolidPrinciples on GitHub"
aria-label="Star this project on GitHub">Star</a>
`,
},
{
label: 'GitHub',
href: 'https://github.com/rharshit82/SolidPrinciples',
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Harshit Raj`,
logo: {
src: 'img/logo.png',
alt: 'A Code Symbol representing the Solid Principles Logo',
width: 128,
height: 128,
},
},
},
}