website/docusaurus.config.js

106 lines
3.1 KiB
JavaScript

module.exports = {
title: 'Chaos Mesh®',
tagline: 'A Powerful Chaos Engineering Platform for Kubernetes',
url: 'https://chaos-mesh.org',
baseUrl: '/',
favicon: 'img/favicon.ico',
organizationName: 'chaos-mesh', // Usually your GitHub org/user name.
projectName: 'chaos-mesh.github.io', // Usually your repo name.
themeConfig: {
algolia: {
apiKey: '49739571d4f89670b12f39d5ad135f5a',
indexName: 'chaos-mesh',
},
googleAnalytics: {
trackingID: 'UA-90760217-2',
},
navbar: {
hideOnScroll: true,
title: 'Chaos Mesh®',
logo: {
alt: 'Chaos Mesh Logo',
src: 'img/logos/logo-mini.svg',
},
items: [
{
to: 'docs',
activeBasePath: 'docs',
label: 'Documentation',
},
{ to: 'blog', activeBasePath: 'blog', label: 'Blog' },
{
href: 'https://github.com/chaos-mesh/chaos-mesh',
label: 'GitHub',
position: 'right',
},
],
},
footer: {
links: [
{
title: 'Documentation',
items: [
{
label: 'Getting Started',
to: 'docs/installation/installation',
},
{
label: 'User Guides',
to: 'docs/user_guides/run_chaos_experiment',
},
],
},
{
title: 'Community',
items: [
{
label: 'Twitter',
href: 'https://twitter.com/chaos_mesh',
},
],
},
{
title: 'More',
items: [
{
label: 'Blog',
to: 'blog',
},
{
label: 'GitHub',
href: 'https://github.com/chaos-mesh/chaos-mesh',
},
],
},
],
copyright: `<br /><strong>© Chaos Mesh® Authors ${new Date().getFullYear()} | Documentation Distributed under CC-BY-4.0 </strong><br /><br />© ${new Date().getFullYear()} The Linux Foundation. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our <a href="https://www.linuxfoundation.org/trademark-usage/"> Trademark Usage</a> page.`,
},
prism: {
theme: require('prism-react-renderer/themes/dracula'),
},
},
plugins: ['docusaurus-plugin-sass'],
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
// It is recommended to set document id as docs home page (`docs/` path).
homePageId: 'overview',
sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
editUrl: 'https://github.com/chaos-mesh/chaos-mesh/edit/master/website/',
},
blog: {
showReadingTime: true,
// Please change this to your repo.
editUrl: 'https://github.com/chaos-mesh/chaos-mesh/edit/master/website/',
},
theme: {
customCss: require.resolve('./src/styles/custom.scss'),
},
},
],
],
}