-
Notifications
You must be signed in to change notification settings - Fork 1
/
docusaurus.config.js
143 lines (142 loc) · 3.72 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
138
139
140
141
142
143
const currentYear = new Date().getFullYear();
const startYear = 2021;
const siteYear = startYear == currentYear ? String(startYear) : `${startYear} - ${currentYear}`;
/** @type {import('@docusaurus/types').DocusaurusConfig} */
module.exports = {
title: "Valencia flats",
tagline: "Tagline",
url: "https://serene-palmier-f01f35.netlify.app",
baseUrl: "/",
onBrokenLinks: "ignore",
onBrokenMarkdownLinks: "warn",
favicon: "img/favicon.png",
organizationName: "MAB Data",
projectName: "mabdata",
themeConfig: {
algolia: {
// The application ID provided by Algolia
appId: 'K5UOQ0RVBA',
// Public API key: it is safe to commit it
apiKey: 'e7311d2c32fbcca26fffca2a49b9c000',
indexName: 'dev_mabdata'
},
hideableSidebar: true,
collapsible: false,
image: "img/social_preview.png", // Relative to "static" directory
// googleAnalytics: {
// trackingID: "UA-173562145-3",
// anonymizeIP: true,
// },
colorMode: {
defaultMode: "light",
respectPrefersColorScheme: true,
},
announcementBar: {
id: 'welcom_to_new_site', // Any value that will identify this message.
content:
'Do you like the website? I am a Cloud / MLOps Engineer, let`s connect :) <a target="_blank" rel="noopener noreferrer" href="https://www.linkedin.com/in/malgorzata-a-balcerzak/">My LinkedIn</a>',
backgroundColor: '#b580cb', // Defaults to `#fff`.
textColor: '#091E42', // Defaults to `#000`.
},
prism: {
theme: require("prism-react-renderer/themes/github"),
darkTheme: require("prism-react-renderer/themes/dracula"),
},
navbar: {
hideOnScroll: false,
// style: 'primary', // or 'dark'
title: "Valencia flats",
logo: {
alt: "Website Logo",
src: "img/house_search.svg",
srcDark: "img/house_search.svg",
},
items: [
{
to: "charts",
label: "Charts",
},
{
to: "flats",
label: "Flats",
},
{
to: "about",
label: "Author",
position: "right",
},
{
type: "doc",
docId: "about",
label: "Docs",
position: "left",
},
],
},
footer: {
// style: 'dark',
links: [
{
items: [
{
html: `
<img src="/img/neighbourhood.svg" alt="Valencia flats" title="Valencia flats" class="footer-logo"/>
`,
},
],
},
// {
// title: "Data",
// items: [
// {
// label: "How I built it",
// to: "docs/about",
// },
// {
// label: "Charts",
// to: "charts",
// },
// ],
// },
{},
{},
{
title: "Contact",
items: [
{
label: "Contact me",
to: "about#contact",
},
{
label: "Buy me a coffee",
href: "https://www.buymeacoffee.com/mab.data",
},
{
label: "GitHub",
href: "https://github.com/mbalcerzak",
},
],
},
],
copyright: `Copyright © ${siteYear} Valencia flats`,
},
},
presets: [
[
"@docusaurus/preset-classic",
{
docs: {
sidebarPath: require.resolve("./sidebars.js"),
routeBasePath: "docs"
},
blog: {
showReadingTime: true,
},
theme: {
customCss: require.resolve("./src/css/custom.scss"),
},
},
],
],
plugins: ["docusaurus-plugin-sass"],
};