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: [
|
|
|
|
{
|
|
|
|
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 16:25:03 +01:00
|
|
|
{
|
|
|
|
to: "developer-docs/",
|
|
|
|
activeBasePath: "developer-docs",
|
2021-11-30 10:12:34 +00:00
|
|
|
label: "Developer",
|
2021-04-18 16:25:03 +01:00
|
|
|
position: "left",
|
|
|
|
},
|
2021-04-18 16:15:19 +01:00
|
|
|
{
|
|
|
|
to: "api/",
|
|
|
|
activeBasePath: "api",
|
|
|
|
label: "API",
|
|
|
|
position: "left",
|
|
|
|
},
|
2020-11-15 21:42:02 +00:00
|
|
|
{
|
2021-05-13 19:15:29 +01:00
|
|
|
href: "https://github.com/goauthentik/authentik",
|
2020-11-15 21:42:02 +00:00
|
|
|
label: "GitHub",
|
|
|
|
position: "right",
|
|
|
|
},
|
2021-04-08 20:03:48 +01:00
|
|
|
{
|
2021-10-21 09:40:43 +01:00
|
|
|
href: "https://goauthentik.io/discord",
|
2021-04-08 20:03:48 +01:00
|
|
|
label: "Discord",
|
|
|
|
position: "right",
|
|
|
|
},
|
2020-11-15 21:42:02 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
footer: {
|
|
|
|
links: [
|
|
|
|
{
|
|
|
|
title: "Docs",
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
label: "Documentation",
|
|
|
|
to: "docs/",
|
|
|
|
},
|
2021-04-18 16:25:03 +01:00
|
|
|
{
|
|
|
|
label: "Developer Documentation",
|
|
|
|
to: "developer-docs/",
|
|
|
|
},
|
2020-11-15 21:42:02 +00:00
|
|
|
{
|
|
|
|
label: "Installations",
|
|
|
|
to: "docs/installation/index",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: "More",
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
label: "GitHub",
|
2021-05-13 19:15:29 +01:00
|
|
|
href: "https://github.com/goauthentik/authentik",
|
2020-11-15 21:42:02 +00:00
|
|
|
},
|
2021-04-08 20:03:48 +01:00
|
|
|
{
|
|
|
|
label: "Discord",
|
2021-10-21 09:40:43 +01:00
|
|
|
href: "https://goauthentik.io/discord",
|
2021-04-08 20:03:48 +01:00
|
|
|
},
|
2021-11-24 10:30:02 +00:00
|
|
|
{
|
|
|
|
html: `<a href="https://www.netlify.com" target="_blank" rel="noreferrer noopener" aria-label="Deploys by Netlify">
|
|
|
|
<img src="https://www.netlify.com/img/global/badges/netlify-color-accent.svg" alt="Deploys by Netlify" />
|
|
|
|
</a>`,
|
|
|
|
},
|
2020-11-15 21:42:02 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
copyright: `Copyright © ${new Date().getFullYear()} BeryJu.org. Built with Docusaurus.`,
|
|
|
|
},
|
|
|
|
colorMode: {
|
|
|
|
respectPrefersColorScheme: true,
|
|
|
|
},
|
2021-04-12 17:25:52 +01:00
|
|
|
algolia: {
|
2021-11-22 10:10:26 +00:00
|
|
|
apiKey: "1b60b8f630b127697cbe0d3b31841470",
|
|
|
|
indexName: "goauthentik",
|
2021-04-12 17:25:52 +01:00
|
|
|
},
|
2020-11-15 21:42:02 +00:00
|
|
|
},
|
|
|
|
presets: [
|
|
|
|
[
|
|
|
|
"@docusaurus/preset-classic",
|
|
|
|
{
|
|
|
|
docs: {
|
2021-04-18 16:25:03 +01: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:
|
|
|
|
"https://github.com/goauthentik/authentik/edit/master/website/",
|
2020-11-15 21:42:02 +00:00
|
|
|
},
|
|
|
|
theme: {
|
|
|
|
customCss: require.resolve("./src/css/custom.css"),
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
],
|
2021-04-18 16:25:03 +01: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:
|
|
|
|
"https://github.com/goauthentik/authentik/edit/master/website/",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"@docusaurus/plugin-content-docs",
|
2021-04-18 16:25:03 +01:00
|
|
|
{
|
2021-11-22 10:10:26 +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-04-18 16:25:03 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
],
|
2021-09-10 16:18:15 +01:00
|
|
|
ssrTemplate: `<!DOCTYPE html>
|
|
|
|
<html <%~ it.htmlAttributes %>>
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=0.86, maximum-scale=3.0, minimum-scale=0.86">
|
|
|
|
<meta name="generator" content="Docusaurus v<%= it.version %>">
|
2021-10-20 14:27:37 +01:00
|
|
|
<script async defer data-domain="goauthentik.io" src="https://goauthentik.io/js/script.js"></script>
|
2021-09-10 16:18:15 +01:00
|
|
|
<%~ it.headTags %>
|
|
|
|
<% it.metaAttributes.forEach((metaAttribute) => { %>
|
|
|
|
<%~ metaAttribute %>
|
|
|
|
<% }); %>
|
|
|
|
<% it.stylesheets.forEach((stylesheet) => { %>
|
|
|
|
<link rel="stylesheet" href="<%= it.baseUrl %><%= stylesheet %>" />
|
|
|
|
<% }); %>
|
|
|
|
<% it.scripts.forEach((script) => { %>
|
|
|
|
<link rel="preload" href="<%= it.baseUrl %><%= script %>" as="script">
|
|
|
|
<% }); %>
|
|
|
|
</head>
|
|
|
|
<body <%~ it.bodyAttributes %> itemscope="" itemtype="http://schema.org/Organization">
|
|
|
|
<%~ it.preBodyTags %>
|
|
|
|
<div id="__docusaurus">
|
|
|
|
<%~ it.appHtml %>
|
|
|
|
</div>
|
|
|
|
<% it.scripts.forEach((script) => { %>
|
|
|
|
<script src="<%= it.baseUrl %><%= script %>"></script>
|
|
|
|
<% }); %>
|
|
|
|
<%~ it.postBodyTags %>
|
|
|
|
</body>
|
2021-11-22 10:10:26 +00:00
|
|
|
</html>`,
|
2020-11-15 21:42:02 +00:00
|
|
|
};
|