2021-07-13 10:06:51 +01:00
|
|
|
const mainConfig = require("./docusaurus.config");
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
title: "authentik",
|
|
|
|
tagline: "Making authentication simple.",
|
|
|
|
url: "https://goauthentik.io",
|
2021-11-15 15:13:02 +00:00
|
|
|
baseUrl: "/if/help/",
|
2021-07-13 10:06:51 +01:00
|
|
|
onBrokenLinks: "throw",
|
|
|
|
favicon: "img/icon.png",
|
|
|
|
organizationName: "BeryJu",
|
|
|
|
projectName: "authentik",
|
|
|
|
themeConfig: {
|
|
|
|
navbar: {
|
|
|
|
title: "authentik",
|
|
|
|
logo: {
|
|
|
|
alt: "authentik logo",
|
|
|
|
src: "img/icon_left_brand.svg",
|
|
|
|
},
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
to: "docs/",
|
|
|
|
activeBasePath: "docs",
|
|
|
|
label: "Docs",
|
|
|
|
position: "left",
|
|
|
|
},
|
2021-11-22 11:08:54 +00:00
|
|
|
{
|
|
|
|
to: "integrations/",
|
|
|
|
activeBasePath: "integrations",
|
|
|
|
label: "Integrations",
|
|
|
|
position: "left",
|
|
|
|
},
|
2021-07-13 10:06:51 +01:00
|
|
|
{
|
|
|
|
to: "developer-docs/",
|
|
|
|
activeBasePath: "developer-docs",
|
|
|
|
label: "Developer Docs",
|
|
|
|
position: "left",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
href: "https://github.com/goauthentik/authentik",
|
|
|
|
label: "GitHub",
|
|
|
|
position: "right",
|
|
|
|
},
|
|
|
|
{
|
2021-10-21 09:40:43 +01:00
|
|
|
href: "https://goauthentik.io/discord",
|
2021-07-13 10:06:51 +01:00
|
|
|
label: "Discord",
|
|
|
|
position: "right",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
footer: mainConfig.themeConfig.footer,
|
|
|
|
colorMode: mainConfig.themeConfig.colorMode,
|
|
|
|
},
|
|
|
|
presets: [
|
|
|
|
[
|
|
|
|
"@docusaurus/preset-classic",
|
|
|
|
{
|
|
|
|
docs: {
|
|
|
|
id: "docs",
|
|
|
|
sidebarPath: require.resolve("./sidebars.js"),
|
2021-11-22 11:08:54 +00:00
|
|
|
editUrl:
|
|
|
|
"https://github.com/goauthentik/authentik/edit/master/website/",
|
2021-07-13 10:06:51 +01:00
|
|
|
},
|
|
|
|
pages: false,
|
|
|
|
theme: {
|
|
|
|
customCss: require.resolve("./src/css/custom.css"),
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
],
|
|
|
|
plugins: [
|
|
|
|
[
|
2021-11-22 11:08:54 +00:00
|
|
|
"@docusaurus/plugin-content-docs",
|
|
|
|
{
|
|
|
|
id: "docsIntegrations",
|
|
|
|
path: "integrations",
|
|
|
|
routeBasePath: "integrations",
|
|
|
|
sidebarPath: require.resolve("./sidebarsIntegrations.js"),
|
|
|
|
editUrl:
|
|
|
|
"https://github.com/goauthentik/authentik/edit/master/website/",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"@docusaurus/plugin-content-docs",
|
2021-07-13 10:06:51 +01:00
|
|
|
{
|
2021-11-22 11:08:54 +00:00
|
|
|
id: "docsDevelopers",
|
|
|
|
path: "developer-docs",
|
|
|
|
routeBasePath: "developer-docs",
|
|
|
|
sidebarPath: require.resolve("./sidebarsDev.js"),
|
|
|
|
editUrl:
|
|
|
|
"https://github.com/goauthentik/authentik/edit/master/website/",
|
2021-07-13 10:06:51 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
[
|
2021-11-22 11:08:54 +00:00
|
|
|
"@docusaurus/plugin-client-redirects",
|
2021-07-13 10:06:51 +01:00
|
|
|
{
|
|
|
|
redirects: [
|
|
|
|
{
|
2021-11-22 11:08:54 +00:00
|
|
|
to: "/docs/",
|
|
|
|
from: ["/"],
|
2021-07-13 10:06:51 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
],
|
|
|
|
};
|