-
Notifications
You must be signed in to change notification settings - Fork 1
/
docusaurus.config.js
80 lines (78 loc) · 2.2 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
// @ts-check
import { themes as prismThemes } from 'prism-react-renderer';
const config = {
title: 'Observability Stack',
tagline: 'A Central Hub for standards, best practices, and reference architectures',
favicon: 'img/transparent_favicon.ico',
url: 'https://observability-stack.io',
baseUrl: '/',
organizationName: 'observability-stack', // Usually your GitHub org/user name.
projectName: 'observability-stack.io', // Usually your repo name.
onBrokenLinks: 'ignore',
onBrokenMarkdownLinks: 'warn',
i18n: {
defaultLocale: 'en',
locales: ['en'],
},
presets: [
[
'classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
routeBasePath: '/', // Serve the docs at the site's root
editUrl: 'https://github.com/observability-stack/observability-stack.io/edit/main/docs/',
},
blog: false, // Disable blog plugin
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
themeConfig: {
image: 'img/docusaurus-social-card.jpg',
navbar: {
title: 'Observability Stack',
logo: {
alt: 'Observability Stack Logo',
src: 'img/observability-stack-logo.png',
},
items: [
// Comment out or remove the blog link if not needed
// {to: '/blog', label: 'Blog', position: 'left'},
{
href: 'https://github.com/observability-stack/observability-stack.io',
label: 'GitHub',
position: 'right',
},
{
type: 'localeDropdown',
},
],
},
footer: {
style: 'dark',
links: [
{
title: 'Docs',
items: [
{
label: 'Get Started',
to: '/',
},
// Add or remove links as needed
],
},
// Add any other footer links or remove the section as needed
],
// Update the copyright text as needed
copyright: `Copyright © ${new Date().getFullYear()} Observability Stack. Built with Docusaurus.`,
},
prism: {
theme: prismThemes.github,
darkTheme: prismThemes.dracula,
},
},
};
module.exports = config;