This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
dagger/website/docusaurus.config.js
slumbering 4cdcbc947c docs: 🐛 remove plugin installed two times
Signed-off-by: slumbering <slumbering.pierrot@gmail.com>
2021-06-17 17:56:30 +02:00

71 lines
1.6 KiB
JavaScript

const path = require("path");
/** @type {import('@docusaurus/types').DocusaurusConfig} */
module.exports = {
title: "Dagger",
tagline: "Dagger is a programmable deployment system",
url: "https://docs.dagger.io",
baseUrl: "/",
onBrokenLinks: "throw",
onBrokenMarkdownLinks: "warn",
favicon: "img/favicon.png",
organizationName: "Dagger",
projectName: "Dagger",
stylesheets: [
"https://fonts.googleapis.com/css2?family=Karla&family=Poppins:wght@700&display=swap",
],
themeConfig: {
sidebarCollapsible: true,
prism: {
theme: require("prism-react-renderer/themes/okaidia"),
},
navbar: {
logo: {
alt: "Dagger Logo",
src: "img/dagger-logo.png",
srcDark: "img/dagger_logo_dark.png",
},
},
algolia: {
apiKey: "b2324f1ac8932ab80916382521473115",
indexName: "daggosaurus",
},
colorMode: {
// "light" | "dark"
defaultMode: "light",
switchConfig: {
darkIcon: "img/Icon_Night-mode.svg",
lightIcon: "img/Icon_Day-mode.svg",
},
},
gtag: {
trackingID: 'G-RDXG80F635',
anonymizeIP: true,
},
},
presets: [
[
"@docusaurus/preset-classic",
{
docs: {
path: "../docs",
sidebarPath: require.resolve("./sidebars.js"),
editUrl: "https://github.com/dagger/dagger/blob/main",
routeBasePath: "/",
},
theme: {
customCss: require.resolve("./src/css/custom.scss"),
},
},
],
],
plugins: [
"docusaurus-plugin-sass",
[
"docusaurus2-dotenv", {
systemvars: true,
},
]
],
};