mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-22 07:47:29 +00:00
591a460450
* doc config * css * assets * header color * transparent navbar * prettier success colors * smaller navitems * table, toast styles * more toast colors
152 lines
3.7 KiB
JavaScript
152 lines
3.7 KiB
JavaScript
/** @type {import('@docusaurus/types').DocusaurusConfig} */
|
|
module.exports = {
|
|
title: 'ZITADEL Docs',
|
|
url: 'https://docs.zitadel.ch',
|
|
baseUrl: '/',
|
|
onBrokenLinks: 'throw',
|
|
onBrokenMarkdownLinks: 'warn',
|
|
favicon: 'img/favicon.ico',
|
|
organizationName: 'caos',
|
|
projectName: 'zitadel',
|
|
themeConfig: {
|
|
zoomSelector: '.markdown :not(em) > img',
|
|
navbar: {
|
|
// title: 'ZITADEL',
|
|
logo: {
|
|
alt: 'ZITADEL logo',
|
|
src: 'img/zitadel-logo-dark.svg',
|
|
srcDark: 'img/zitadel-logo-light.svg',
|
|
},
|
|
items: [
|
|
{
|
|
type: 'doc',
|
|
label: 'Guides',
|
|
docId: 'guides/introduction',
|
|
position: 'left',
|
|
},
|
|
{
|
|
type: 'doc',
|
|
label: 'Quickstarts',
|
|
docId: 'quickstarts/introduction',
|
|
position: 'left',
|
|
},
|
|
{
|
|
type: 'doc',
|
|
label: 'APIs',
|
|
docId: 'apis/introduction',
|
|
position: 'left',
|
|
},
|
|
{
|
|
type: 'doc',
|
|
docId: 'concepts/introduction',
|
|
label: 'Concepts',
|
|
position: 'left',
|
|
},
|
|
{
|
|
type: 'doc',
|
|
docId: 'manuals/introduction',
|
|
label: 'Help',
|
|
position: 'left',
|
|
},
|
|
{
|
|
type: 'doc',
|
|
docId: 'legal/introduction',
|
|
label: 'Legal',
|
|
position: 'left',
|
|
},
|
|
{
|
|
href: 'https://github.com/caos/zitadel',
|
|
label: 'GitHub',
|
|
position: 'right',
|
|
},
|
|
],
|
|
},
|
|
footer: {
|
|
links: [
|
|
{
|
|
title: 'Community',
|
|
items: [
|
|
{
|
|
label: 'GitHub Discussions',
|
|
href: 'https://github.com/caos/zitadel/discussions',
|
|
},
|
|
{
|
|
label: 'Twitter',
|
|
href: 'https://twitter.com/zitadel_ch',
|
|
},
|
|
{
|
|
label: 'Linkedin',
|
|
href: 'https://www.linkedin.com/company/caos-ag/',
|
|
},
|
|
{
|
|
label: 'Blog',
|
|
href: 'https://zitadel.ch/blog',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: 'Company',
|
|
items: [
|
|
{
|
|
label: 'About CAOS Ltd.',
|
|
href: 'https://caos.ch/#about',
|
|
},
|
|
{
|
|
label: 'Contact',
|
|
href: 'https://zitadel.ch/contact/',
|
|
},
|
|
{
|
|
label: 'GitHub',
|
|
href: 'https://github.com/caos',
|
|
},
|
|
{
|
|
label: 'Status',
|
|
href: 'https://status.zitadel.ch/',
|
|
},
|
|
{
|
|
label: 'Terms and Conditions',
|
|
href: 'https://docs.zitadel.ch/docs/legal/terms-of-service',
|
|
},
|
|
{
|
|
label: 'Privacy Policy',
|
|
href: 'https://docs.zitadel.ch/docs/legal/privacy-policy',
|
|
},
|
|
],
|
|
},
|
|
],
|
|
copyright: `Copyright © ${new Date().getFullYear()} CAOS Ltd. Built with Docusaurus.`,
|
|
},
|
|
algolia: {
|
|
apiKey: 'bff480bce03126c2d348345647854e91',
|
|
indexName: 'zitadel',
|
|
},
|
|
prism: {
|
|
additionalLanguages: ['csharp', 'dart', 'groovy'],
|
|
},
|
|
},
|
|
presets: [
|
|
[
|
|
'@docusaurus/preset-classic',
|
|
{
|
|
docs: {
|
|
sidebarPath: require.resolve('./sidebars.js'),
|
|
editUrl: 'https://github.com/caos/zitadel/edit/main/docs/',
|
|
remarkPlugins: [require('mdx-mermaid')],
|
|
},
|
|
theme: {
|
|
customCss: require.resolve('./src/css/custom.css'),
|
|
},
|
|
},
|
|
],
|
|
],
|
|
plugins: [
|
|
[
|
|
'docusaurus-plugin-plausible',
|
|
{
|
|
domain: 'docs.zitadel.ch',
|
|
},
|
|
],
|
|
require.resolve('plugin-image-zoom'),
|
|
],
|
|
};
|