2021-04-15 13:22:37 +02:00
/** @type {import('@docusaurus/types').DocusaurusConfig} */
module . exports = {
2022-02-02 13:45:01 +01:00
title : "ZITADEL Docs" ,
2021-12-30 09:01:47 +01:00
trailingSlash : false ,
2022-05-16 16:01:46 +02:00
url : "https://docs.zitadel.com" ,
2022-02-02 13:45:01 +01:00
baseUrl : "/" ,
2022-06-30 16:06:01 +02:00
onBrokenLinks : "throw" ,
2022-02-02 13:45:01 +01:00
onBrokenMarkdownLinks : "warn" ,
favicon : "img/favicon.ico" ,
2022-05-16 16:01:46 +02:00
organizationName : "zitadel" ,
2022-02-02 13:45:01 +01:00
projectName : "zitadel" ,
scripts : [
{
src : "/proxy/js/script.js" ,
async : true ,
defer : true ,
2022-05-16 16:01:46 +02:00
"data-domain" : "docs.zitadel.com" ,
2022-02-02 13:45:01 +01:00
"data-api" : "/proxy/api/event" ,
} ,
] ,
2021-04-15 13:22:37 +02:00
themeConfig : {
2022-07-14 11:52:04 +02:00
zoom : {
selector : '.markdown :not(em) > img' ,
background : {
light : 'rgb(243, 244, 246)' ,
dark : 'rgb(55, 59, 82)'
} ,
// options you can specify via https://github.com/francoischalifour/medium-zoom#usage
config : { }
} ,
2022-05-19 11:00:44 +02:00
announcementBar : {
id : 'documentation' ,
content :
2022-05-23 09:04:51 +02:00
'This page contains the documentation for ZITADEL version 2, if you are looking for version 1 please visit <a target="_blank" rel="noopener noreferrer" href="https://docs-v1.zitadel.com">https://docs-v1.zitadel.com</a>' ,
2022-05-19 11:00:44 +02:00
backgroundColor : '#fafbfc' ,
textColor : '#091E42' ,
isCloseable : false ,
} ,
2021-04-15 13:22:37 +02:00
navbar : {
2021-10-13 10:06:12 +02:00
// title: 'ZITADEL',
2021-04-15 13:22:37 +02:00
logo : {
2022-02-02 13:45:01 +01:00
alt : "ZITADEL logo" ,
src : "img/zitadel-logo-dark.svg" ,
srcDark : "img/zitadel-logo-light.svg" ,
2021-04-15 13:22:37 +02:00
} ,
items : [
{
2022-02-02 13:45:01 +01:00
type : "doc" ,
label : "Guides" ,
docId : "guides/overview" ,
position : "left" ,
2021-04-15 13:22:37 +02:00
} ,
{
2022-02-02 13:45:01 +01:00
type : "doc" ,
label : "Quickstarts" ,
docId : "quickstarts/introduction" ,
position : "left" ,
2021-04-15 13:22:37 +02:00
} ,
{
2022-02-02 13:45:01 +01:00
type : "doc" ,
label : "APIs" ,
docId : "apis/introduction" ,
position : "left" ,
2021-04-15 13:22:37 +02:00
} ,
{
2022-02-02 13:45:01 +01:00
type : "doc" ,
docId : "concepts/introduction" ,
label : "Concepts" ,
position : "left" ,
2021-04-15 13:22:37 +02:00
} ,
2021-09-23 10:34:06 +02:00
{
2022-02-02 13:45:01 +01:00
type : "doc" ,
docId : "manuals/introduction" ,
label : "Help" ,
position : "left" ,
2021-09-23 10:34:06 +02:00
} ,
2021-06-15 11:18:41 +02:00
{
2022-02-02 13:45:01 +01:00
type : "doc" ,
docId : "legal/introduction" ,
label : "Legal" ,
position : "left" ,
2021-06-15 11:18:41 +02:00
} ,
2021-04-15 13:22:37 +02:00
{
2022-04-27 01:01:45 +02:00
href : "https://github.com/zitadel/zitadel" ,
2022-02-02 13:45:01 +01:00
label : "GitHub" ,
position : "right" ,
2021-04-15 13:22:37 +02:00
} ,
2022-07-18 17:16:45 +02:00
{
href : "https://zitadel.com/chat" ,
label : "Chat" ,
position : "right" ,
} ,
{
label : "Discussions" ,
position : "right" ,
href : "https://github.com/zitadel/zitadel/discussions" ,
} ,
2021-04-15 13:22:37 +02:00
] ,
} ,
footer : {
links : [
{
2022-02-02 13:45:01 +01:00
title : "Community" ,
2021-04-15 13:22:37 +02:00
items : [
2022-05-23 22:53:43 +02:00
{
label : "Chat" ,
href : "https://zitadel.com/chat" ,
} ,
2021-04-15 13:22:37 +02:00
{
2022-02-02 13:45:01 +01:00
label : "GitHub Discussions" ,
2022-04-27 01:01:45 +02:00
href : "https://github.com/zitadel/zitadel/discussions" ,
2021-04-15 13:22:37 +02:00
} ,
{
2022-02-02 13:45:01 +01:00
label : "Twitter" ,
2022-05-16 16:01:46 +02:00
href : "https://twitter.com/zitadel" ,
2021-04-15 13:22:37 +02:00
} ,
{
2022-02-02 13:45:01 +01:00
label : "Linkedin" ,
2022-05-16 16:01:46 +02:00
href : "https://www.linkedin.com/company/zitadel/" ,
2021-04-15 13:22:37 +02:00
} ,
{
2022-02-02 13:45:01 +01:00
label : "Blog" ,
2022-05-16 16:01:46 +02:00
href : "https://zitadel.com/blog" ,
2021-04-15 13:22:37 +02:00
} ,
] ,
} ,
{
2022-05-23 22:53:43 +02:00
title : "Legal" ,
2021-04-15 13:22:37 +02:00
items : [
2022-05-23 22:53:43 +02:00
{
label : "Terms and Conditions" ,
href : "/docs/legal/terms-of-service" ,
} ,
2021-04-15 13:22:37 +02:00
{
2022-05-23 22:53:43 +02:00
label : "Privacy Policy" ,
href : "/docs/legal/privacy-policy" ,
} ,
] ,
} ,
{
title : "About" ,
items : [
{
label : "Website" ,
href : "https://zitadel.com" ,
2021-04-15 13:22:37 +02:00
} ,
{
2022-02-02 13:45:01 +01:00
label : "Contact" ,
2022-05-16 16:01:46 +02:00
href : "https://zitadel.com/contact/" ,
2021-04-15 13:22:37 +02:00
} ,
{
2022-02-02 13:45:01 +01:00
label : "GitHub" ,
2022-05-16 16:01:46 +02:00
href : "https://github.com/zitadel" ,
2021-04-15 13:22:37 +02:00
} ,
{
2022-02-02 13:45:01 +01:00
label : "Status" ,
href : "https://status.zitadel.ch/" ,
2022-05-23 22:53:43 +02:00
}
2021-04-15 13:22:37 +02:00
] ,
} ,
2022-05-23 22:53:43 +02:00
2021-04-15 13:22:37 +02:00
] ,
2022-05-20 16:20:31 +02:00
copyright : ` Copyright © ${ new Date ( ) . getFullYear ( ) } ZITADEL Docs - Built with Docusaurus. ` ,
2021-04-15 13:22:37 +02:00
} ,
2021-04-20 17:10:03 +02:00
algolia : {
2022-05-30 16:51:45 +02:00
appId : "8H6ZKXENLO" ,
apiKey : "124fe1c102a184bc6fc70c75dc84f96f" ,
indexName : 'zitadel' ,
2022-05-20 16:20:31 +02:00
selector : 'div#'
} ,
2021-04-27 15:10:13 +02:00
prism : {
2022-02-02 13:45:01 +01:00
additionalLanguages : [ "csharp" , "dart" , "groovy" ] ,
2021-04-27 15:10:13 +02:00
} ,
2021-04-15 13:22:37 +02:00
} ,
presets : [
[
2022-02-02 13:45:01 +01:00
"@docusaurus/preset-classic" ,
2021-04-15 13:22:37 +02:00
{
docs : {
2022-02-02 13:45:01 +01:00
sidebarPath : require . resolve ( "./sidebars.js" ) ,
2022-05-20 16:20:31 +02:00
editUrl : "https://github.com/zitadel/zitadel/edit/v2-alpha/docs/" ,
2022-02-02 13:45:01 +01:00
remarkPlugins : [ require ( "mdx-mermaid" ) ] ,
2021-04-15 13:22:37 +02:00
} ,
theme : {
2022-02-02 13:45:01 +01:00
customCss : require . resolve ( "./src/css/custom.css" ) ,
2021-04-15 13:22:37 +02:00
} ,
} ,
] ,
] ,
2022-07-14 11:52:04 +02:00
plugins : [ require . resolve ( "docusaurus-plugin-image-zoom" ) ] ,
2021-04-15 13:22:37 +02:00
} ;