-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocusaurus.config.js
105 lines (98 loc) · 3.35 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
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion
//
// <a href="https://apps.apple.com/us/app/geogardenclub/id6478464910?itscg=30200&itsct=apps_box_badge&mttnsubad=6478464910"
// style="display: inline-block;">
// <img
// src="https://toolbox.marketingtools.apple.com/api/v2/badges/download-on-the-app-store/white/en-us?releaseDate=1736899200"
// alt="Download on the App Store" style="width: 246px; height: 82px; vertical-align: middle; object-fit: contain;"/>
// </a>
const lightCodeTheme = require('prism-react-renderer/themes/github');
const darkCodeTheme = require('prism-react-renderer/themes/dracula');
/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'Geo Garden Club',
tagline: 'Improving community food resilience, one garden at a time.',
favicon: 'img/favicon.ico',
url: 'https://geogardenclub.com',
baseUrl: '/',
deploymentBranch: 'main',
trailingSlash: false,
organizationName: 'geogardenclub', // Usually your GitHub org/user name.
projectName: 'geogardenclub.github.io', // Usually your repo name.
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
i18n: {
defaultLocale: 'en',
locales: ['en'],
},
presets: [
[
'classic',
/** @type {import('@docusaurus/preset-classic').Options} */
({
docs: {
sidebarPath: require.resolve('./sidebars.js'),
},
blog: {
showReadingTime: true,
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
gtag: {
trackingID: 'G-WMYL9625P3',
anonymizeIP: true,
},
}),
],
],
themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
// Replace with your project's social card
image: 'img/logos/png/wordmark.png',
navbar: {
title: 'Geo Garden Club',
logo: {alt: 'Geo Garden Club', src: 'img/logos/png/icon2.png'},
items: [
{label: 'About', to: 'docs/home/welcome'},
{label: 'User Guide', to: 'docs/user-guide/overview'},
{
href: "https://apps.apple.com/us/app/geogardenclub/id6478464910?itscg=30200&itsct=apps_box_badge&mttnsubad=6478464910",
position: "left",
className: "header-apple-link",
"aria-label": "App Store link",
},
],
},
footer: {
style: 'dark',
links: [
{
label: 'Facebook',
href: 'https://www.facebook.com/geogardenclub',
},
{
label: 'Instagram',
href: 'https://www.instagram.com/geogardenclub/',
},
{
label: 'Join the GGC mailing list',
href: 'https://geogardenclub.us10.list-manage.com/subscribe?u=2c9db5ab59b4602f6c71e2091&id=c75bee0e1e',
},
{
label: 'News Archive',
href: 'https://us10.campaign-archive.com/home/?u=2c9db5ab59b4602f6c71e2091&id=c75bee0e1e',
},
],
copyright: `Copyright © ${new Date().getFullYear()} Geo Garden Club, LLC`,
},
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
additionalLanguages: ['dart'],
},
}),
};
module.exports = config;