2021-06-04 02:37:42 +02:00
|
|
|
const path = require("path");
|
2021-06-02 16:53:39 +02:00
|
|
|
|
|
|
|
/** @type {import('@docusaurus/types').DocusaurusConfig} */
|
|
|
|
module.exports = {
|
2021-06-04 02:37:42 +02:00
|
|
|
title: "Dagger",
|
|
|
|
tagline: "Dagger is a programmable deployment system",
|
|
|
|
url: "https://docs.dagger.io",
|
|
|
|
baseUrl: "/",
|
2021-06-18 13:38:23 +02:00
|
|
|
onBrokenLinks: "warn",
|
2021-06-04 02:37:42 +02:00
|
|
|
onBrokenMarkdownLinks: "warn",
|
|
|
|
favicon: "img/favicon.png",
|
|
|
|
organizationName: "Dagger",
|
|
|
|
projectName: "Dagger",
|
2021-06-02 16:53:39 +02:00
|
|
|
stylesheets: [
|
2021-06-04 02:37:42 +02:00
|
|
|
"https://fonts.googleapis.com/css2?family=Karla&family=Poppins:wght@700&display=swap",
|
2021-06-02 16:53:39 +02:00
|
|
|
],
|
|
|
|
themeConfig: {
|
2021-06-11 18:34:04 +02:00
|
|
|
sidebarCollapsible: true,
|
2021-06-02 16:53:39 +02:00
|
|
|
prism: {
|
2021-06-04 17:55:20 +02:00
|
|
|
theme: require("prism-react-renderer/themes/okaidia"),
|
2021-06-02 16:53:39 +02:00
|
|
|
},
|
|
|
|
navbar: {
|
|
|
|
logo: {
|
2021-06-04 02:37:42 +02:00
|
|
|
alt: "Dagger Logo",
|
|
|
|
src: "img/dagger-logo.png",
|
|
|
|
srcDark: "img/dagger_logo_dark.png",
|
2021-06-02 16:53:39 +02:00
|
|
|
},
|
|
|
|
},
|
2021-06-03 10:48:28 +02:00
|
|
|
algolia: {
|
2021-06-14 18:20:15 +02:00
|
|
|
apiKey: "b2324f1ac8932ab80916382521473115",
|
|
|
|
indexName: "daggosaurus",
|
2021-06-03 10:48:28 +02:00
|
|
|
},
|
2021-06-03 16:10:44 +02:00
|
|
|
colorMode: {
|
|
|
|
// "light" | "dark"
|
2021-06-04 02:37:42 +02:00
|
|
|
defaultMode: "light",
|
2021-06-03 16:10:44 +02:00
|
|
|
|
|
|
|
switchConfig: {
|
|
|
|
darkIcon: "img/Icon_Night-mode.svg",
|
2021-06-04 02:37:42 +02:00
|
|
|
lightIcon: "img/Icon_Day-mode.svg",
|
2021-06-03 16:10:44 +02:00
|
|
|
},
|
|
|
|
},
|
2021-06-17 17:50:08 +02:00
|
|
|
gtag: {
|
|
|
|
trackingID: 'G-RDXG80F635',
|
|
|
|
anonymizeIP: true,
|
|
|
|
},
|
2021-06-02 16:53:39 +02:00
|
|
|
},
|
|
|
|
presets: [
|
|
|
|
[
|
2021-06-04 02:37:42 +02:00
|
|
|
"@docusaurus/preset-classic",
|
2021-06-02 16:53:39 +02:00
|
|
|
{
|
|
|
|
docs: {
|
2021-06-04 22:34:09 +02:00
|
|
|
path: "../docs",
|
2021-06-04 02:37:42 +02:00
|
|
|
sidebarPath: require.resolve("./sidebars.js"),
|
|
|
|
editUrl: "https://github.com/dagger/dagger/blob/main",
|
|
|
|
routeBasePath: "/",
|
2021-06-02 16:53:39 +02:00
|
|
|
},
|
|
|
|
theme: {
|
2021-06-04 17:55:20 +02:00
|
|
|
customCss: require.resolve("./src/css/custom.scss"),
|
2021-06-02 16:53:39 +02:00
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
],
|
2021-06-11 12:24:58 +02:00
|
|
|
plugins: [
|
|
|
|
"docusaurus-plugin-sass",
|
2021-06-14 14:42:41 +02:00
|
|
|
[
|
|
|
|
"docusaurus2-dotenv", {
|
|
|
|
systemvars: true,
|
2021-06-18 11:33:48 +02:00
|
|
|
expand: true,
|
2021-06-14 14:42:41 +02:00
|
|
|
},
|
2021-06-17 17:56:30 +02:00
|
|
|
]
|
2021-06-11 12:24:58 +02:00
|
|
|
],
|
2021-06-17 17:50:08 +02:00
|
|
|
};
|