2022-06-15 19:43:44 +00:00
|
|
|
const sidebar = require("./sidebars.js");
|
|
|
|
|
|
|
|
const releases = sidebar.docs
|
|
|
|
.filter((doc) => doc.link?.slug === "releases")[0]
|
|
|
|
.items.filter((release) => typeof release === "string");
|
|
|
|
|
2020-11-15 21:42:02 +00:00
|
|
|
module.exports = {
|
2020-12-05 21:08:42 +00:00
|
|
|
title: "authentik",
|
2021-03-18 19:51:21 +00:00
|
|
|
tagline: "Making authentication simple.",
|
2020-12-05 21:08:42 +00:00
|
|
|
url: "https://goauthentik.io",
|
2020-11-15 21:42:02 +00:00
|
|
|
baseUrl: "/",
|
|
|
|
onBrokenLinks: "throw",
|
2020-12-05 21:08:42 +00:00
|
|
|
favicon: "img/icon.png",
|
2020-11-15 21:42:02 +00:00
|
|
|
organizationName: "BeryJu",
|
2020-12-05 21:08:42 +00:00
|
|
|
projectName: "authentik",
|
2020-11-15 21:42:02 +00:00
|
|
|
themeConfig: {
|
|
|
|
navbar: {
|
2020-12-05 21:08:42 +00:00
|
|
|
title: "authentik",
|
2020-11-15 21:42:02 +00:00
|
|
|
logo: {
|
2020-12-05 21:08:42 +00:00
|
|
|
alt: "authentik logo",
|
|
|
|
src: "img/icon_left_brand.svg",
|
2020-11-15 21:42:02 +00:00
|
|
|
},
|
|
|
|
items: [
|
2022-11-03 15:00:00 +00:00
|
|
|
{ to: "blog", label: "Blog", position: "left" },
|
2020-11-15 21:42:02 +00:00
|
|
|
{
|
|
|
|
to: "docs/",
|
|
|
|
activeBasePath: "docs",
|
2021-11-30 10:12:34 +00:00
|
|
|
label: "Documentation",
|
2020-11-15 21:42:02 +00:00
|
|
|
position: "left",
|
|
|
|
},
|
2021-11-22 10:10:26 +00:00
|
|
|
{
|
|
|
|
to: "integrations/",
|
|
|
|
activeBasePath: "integrations",
|
|
|
|
label: "Integrations",
|
|
|
|
position: "left",
|
|
|
|
},
|
2021-04-18 15:25:03 +00:00
|
|
|
{
|
|
|
|
to: "developer-docs/",
|
|
|
|
activeBasePath: "developer-docs",
|
2021-11-30 10:12:34 +00:00
|
|
|
label: "Developer",
|
2021-04-18 15:25:03 +00:00
|
|
|
position: "left",
|
|
|
|
},
|
2021-04-18 15:15:19 +00:00
|
|
|
{
|
2022-11-17 10:12:36 +00:00
|
|
|
to: "jobs/",
|
|
|
|
activeBasePath: "jobs",
|
|
|
|
label: "Jobs",
|
2021-04-18 15:15:19 +00:00
|
|
|
position: "left",
|
|
|
|
},
|
2022-06-15 19:43:44 +00:00
|
|
|
{
|
|
|
|
type: "dropdown",
|
2023-02-16 13:38:27 +00:00
|
|
|
label: `Version: ${releases[0].replace(
|
|
|
|
/releases\/\d+\/v/,
|
|
|
|
""
|
|
|
|
)}`,
|
2022-06-15 19:43:44 +00:00
|
|
|
position: "right",
|
|
|
|
items: releases.map((release) => {
|
2023-02-16 13:38:27 +00:00
|
|
|
const version = release.replace(/releases\/\d+\/v/, "");
|
|
|
|
const subdomain = version.replace(".", "-");
|
|
|
|
const label = `Version: ${version}`;
|
2022-06-15 19:43:44 +00:00
|
|
|
return {
|
2022-06-21 20:26:17 +00:00
|
|
|
label: label,
|
2022-06-15 19:43:44 +00:00
|
|
|
href: `https://version-${subdomain}.goauthentik.io`,
|
|
|
|
};
|
|
|
|
}),
|
|
|
|
},
|
2020-11-15 21:42:02 +00:00
|
|
|
{
|
2021-05-13 18:15:29 +00:00
|
|
|
href: "https://github.com/goauthentik/authentik",
|
2022-11-17 10:21:32 +00:00
|
|
|
className: "header-github-link",
|
|
|
|
"aria-label": "GitHub repository",
|
2020-11-15 21:42:02 +00:00
|
|
|
position: "right",
|
|
|
|
},
|
2021-04-08 19:03:48 +00:00
|
|
|
{
|
2021-10-21 08:40:43 +00:00
|
|
|
href: "https://goauthentik.io/discord",
|
2022-11-17 10:21:32 +00:00
|
|
|
className: "header-discord-link",
|
|
|
|
"aria-label": "GitHub repository",
|
2021-04-08 19:03:48 +00:00
|
|
|
position: "right",
|
|
|
|
},
|
2020-11-15 21:42:02 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
footer: {
|
|
|
|
links: [
|
|
|
|
{
|
2022-11-17 10:21:32 +00:00
|
|
|
title: "Documentation",
|
2020-11-15 21:42:02 +00:00
|
|
|
items: [
|
|
|
|
{
|
|
|
|
label: "Documentation",
|
|
|
|
to: "docs/",
|
|
|
|
},
|
2022-11-17 10:21:32 +00:00
|
|
|
{
|
|
|
|
label: "Integrations",
|
|
|
|
to: "integrations/",
|
|
|
|
},
|
2021-04-18 15:25:03 +00:00
|
|
|
{
|
|
|
|
label: "Developer Documentation",
|
|
|
|
to: "developer-docs/",
|
|
|
|
},
|
2020-11-15 21:42:02 +00:00
|
|
|
{
|
|
|
|
label: "Installations",
|
2022-11-22 09:06:56 +00:00
|
|
|
to: "docs/installation/",
|
2020-11-15 21:42:02 +00:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: "More",
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
label: "GitHub",
|
2021-05-13 18:15:29 +00:00
|
|
|
href: "https://github.com/goauthentik/authentik",
|
2020-11-15 21:42:02 +00:00
|
|
|
},
|
2021-04-08 19:03:48 +00:00
|
|
|
{
|
|
|
|
label: "Discord",
|
2021-10-21 08:40:43 +00:00
|
|
|
href: "https://goauthentik.io/discord",
|
2021-04-08 19:03:48 +00:00
|
|
|
},
|
2020-11-15 21:42:02 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
2022-11-03 15:00:00 +00:00
|
|
|
copyright: `Copyright © ${new Date().getFullYear()} authentik Security Inc. Built with Docusaurus.`,
|
2020-11-15 21:42:02 +00:00
|
|
|
},
|
|
|
|
colorMode: {
|
|
|
|
respectPrefersColorScheme: true,
|
|
|
|
},
|
2021-04-12 16:25:52 +00:00
|
|
|
algolia: {
|
2022-02-28 08:52:21 +00:00
|
|
|
appId: "36ROD0O0FV",
|
|
|
|
apiKey: "727db511300ca9aec5425645bbbddfb5",
|
2021-11-22 10:10:26 +00:00
|
|
|
indexName: "goauthentik",
|
2021-04-12 16:25:52 +00:00
|
|
|
},
|
2020-11-15 21:42:02 +00:00
|
|
|
},
|
|
|
|
presets: [
|
|
|
|
[
|
|
|
|
"@docusaurus/preset-classic",
|
|
|
|
{
|
|
|
|
docs: {
|
2021-04-18 15:25:03 +00:00
|
|
|
id: "docs",
|
2020-11-15 21:42:02 +00:00
|
|
|
sidebarPath: require.resolve("./sidebars.js"),
|
2021-11-22 10:10:26 +00:00
|
|
|
editUrl:
|
2022-06-03 17:40:09 +00:00
|
|
|
"https://github.com/goauthentik/authentik/edit/main/website/",
|
2020-11-15 21:42:02 +00:00
|
|
|
},
|
|
|
|
theme: {
|
|
|
|
customCss: require.resolve("./src/css/custom.css"),
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
],
|
2021-04-18 15:25:03 +00:00
|
|
|
plugins: [
|
|
|
|
[
|
2021-11-22 10:10:26 +00:00
|
|
|
"@docusaurus/plugin-content-docs",
|
|
|
|
{
|
|
|
|
id: "docsIntegrations",
|
|
|
|
path: "integrations",
|
|
|
|
routeBasePath: "integrations",
|
|
|
|
sidebarPath: require.resolve("./sidebarsIntegrations.js"),
|
|
|
|
editUrl:
|
2022-06-03 17:40:09 +00:00
|
|
|
"https://github.com/goauthentik/authentik/edit/main/website/",
|
2021-11-22 10:10:26 +00:00
|
|
|
},
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"@docusaurus/plugin-content-docs",
|
2021-04-18 15:25:03 +00:00
|
|
|
{
|
2021-11-22 10:10:26 +00:00
|
|
|
id: "docsDevelopers",
|
|
|
|
path: "developer-docs",
|
|
|
|
routeBasePath: "developer-docs",
|
|
|
|
sidebarPath: require.resolve("./sidebarsDev.js"),
|
|
|
|
editUrl:
|
2022-06-03 17:40:09 +00:00
|
|
|
"https://github.com/goauthentik/authentik/edit/main/website/",
|
2021-04-18 15:25:03 +00:00
|
|
|
},
|
|
|
|
],
|
|
|
|
],
|
2022-11-21 12:37:52 +00:00
|
|
|
scripts: [
|
|
|
|
{
|
|
|
|
src: "https://goauthentik.io/js/script.js",
|
|
|
|
async: true,
|
|
|
|
"data-domain": "goauthentik.io",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
src: "https://boards.greenhouse.io/embed/job_board/js?for=authentiksecurity",
|
|
|
|
},
|
|
|
|
],
|
2020-11-15 21:42:02 +00:00
|
|
|
};
|