zitadel/docs/docusaurus.config.js

191 lines
4.7 KiB
JavaScript
Raw Normal View History

/** @type {import('@docusaurus/types').DocusaurusConfig} */
module.exports = {
2022-02-02 12:45:01 +00:00
title: "ZITADEL Docs",
trailingSlash: false,
url: "https://docs.zitadel.com",
2022-02-02 12:45:01 +00:00
baseUrl: "/",
onBrokenLinks: "throw",
2022-02-02 12:45:01 +00:00
onBrokenMarkdownLinks: "warn",
favicon: "img/favicon.ico",
organizationName: "zitadel",
2022-02-02 12:45:01 +00:00
projectName: "zitadel",
scripts: [
{
src: "/proxy/js/script.js",
async: true,
defer: true,
"data-domain": "docs.zitadel.com",
2022-02-02 12:45:01 +00:00
"data-api": "/proxy/api/event",
},
],
themeConfig: {
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: {}
},
navbar: {
// title: 'ZITADEL',
logo: {
2022-02-02 12:45:01 +00:00
alt: "ZITADEL logo",
src: "img/zitadel-logo-dark.svg",
srcDark: "img/zitadel-logo-light.svg",
},
items: [
{
2022-02-02 12:45:01 +00:00
type: "doc",
label: "Guides",
docId: "guides/overview",
position: "left",
},
{
2022-02-02 12:45:01 +00:00
type: "doc",
docs: improve documentation for v2 release (#4046) * WIP: docs(proxy): describe proxy settings * fix nginx * refactor (docs): deploy and operate sections * chore: ignore package-lock since we use yarn * chore: update to rc1 * chore: broken links * chore: update yarn * docs: move disclaimer to bottom * chore: fix broken links * Update docs/docs/guides/operate/tls_modes.mdx Co-authored-by: Fabi <38692350+hifabienne@users.noreply.github.com> * test caddy files * syntax highlight * traefik example * refactor: docs * refactor * working state * got a working state * remove bar * mark rate limits for update * remove zitadel.ch * fix cases * docs: zitadel quickstart * docs: zitadel quickstart * docs: create app and project * docs: move customer portal docs to guides manage cloud * docs: move customer portal docs to guides manage cloud * docs: move customer portal docs to guides manage cloud * docs: add help me choose in the quickstart * docs: broken links * fix broken links * Update knative guide * styling * docs: support customer portal * update to main instead v2-alpha * use version 2 tag * docs: images * docs: move authentication and authorization guides to integrate * docs: quickstart use examples * docs: lb example * fix broken link * docs: update userinfo endpoints * docs: update userinfo endpoints * fix oidc endpoint * docs: remove unused endpoints in app.module Co-authored-by: Fabi <38692350+hifabienne@users.noreply.github.com> Co-authored-by: Fabienne <fabienne.gerschwiler@gmail.com> Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2022-07-29 08:13:45 +00:00
label: "Examples",
docId: "examples/introduction",
2022-02-02 12:45:01 +00:00
position: "left",
},
{
2022-02-02 12:45:01 +00:00
type: "doc",
label: "APIs",
docId: "apis/introduction",
position: "left",
},
{
2022-02-02 12:45:01 +00:00
type: "doc",
docId: "concepts/introduction",
label: "Concepts",
position: "left",
},
docs: restructure and add more content (#2232) * docs: restructure quickstarts * docs: quickstart libs * docs: add exlixir lib * docs: restructure * docs: restructure * docs: customization * use tabs in oauth/oidc endpoints.md * improve authorize_endpoint * improve token_endpoint and introspection_endpoint * docs: saas use case * styling * styling * begin login users * login users * login users * fix table * fix: links * fix: links * start go api * fix: policy structure * fix: saas description * fix: saas description * fix: saas description * Update docs/docs/concepts/policies.md Co-authored-by: mffap <mpa@caos.ch> * Update docs/docs/concepts/usecases/saas.md Co-authored-by: mffap <mpa@caos.ch> * Update docs/docs/concepts/usecases/saas.md Co-authored-by: mffap <mpa@caos.ch> * Update docs/docs/concepts/usecases/saas.md Co-authored-by: mffap <mpa@caos.ch> * Update docs/docs/concepts/usecases/saas.md Co-authored-by: mffap <mpa@caos.ch> * Update docs/docs/concepts/usecases/saas.md Co-authored-by: mffap <mpa@caos.ch> * Update docs/docs/concepts/usecases/saas.md Co-authored-by: mffap <mpa@caos.ch> * Update docs/docs/concepts/usecases/saas.md Co-authored-by: mffap <mpa@caos.ch> * Update docs/docs/concepts/usecases/saas.md Co-authored-by: mffap <mpa@caos.ch> * Update docs/docs/concepts/usecases/saas.md Co-authored-by: mffap <mpa@caos.ch> * docs: organisation --> organization * docs: fixes * docs: fixes * Update docs/docs/apis/openidoauth/endpoints.md Co-authored-by: Florian Forster <florian@caos.ch> * Update docs/docs/concepts/policies.md Co-authored-by: Florian Forster <florian@caos.ch> * Update docs/docs/concepts/policies.md Co-authored-by: Florian Forster <florian@caos.ch> * Update docs/docs/concepts/policies.md Co-authored-by: Florian Forster <florian@caos.ch> * Update docs/docs/apis/openidoauth/endpoints.md Co-authored-by: Florian Forster <florian@caos.ch> * Apply suggestions from code review Co-authored-by: Florian Forster <florian@caos.ch> * docs: intro * Update docs/docs/guides/customization/branding.md Co-authored-by: Florian Forster <florian@caos.ch> * fix: typo * add mermaid Co-authored-by: Livio Amstutz <livio.a@gmail.com> Co-authored-by: mffap <mpa@caos.ch> Co-authored-by: Florian Forster <florian@caos.ch>
2021-09-23 08:34:06 +00:00
{
2022-02-02 12:45:01 +00:00
type: "doc",
docId: "manuals/introduction",
label: "Help",
position: "left",
docs: restructure and add more content (#2232) * docs: restructure quickstarts * docs: quickstart libs * docs: add exlixir lib * docs: restructure * docs: restructure * docs: customization * use tabs in oauth/oidc endpoints.md * improve authorize_endpoint * improve token_endpoint and introspection_endpoint * docs: saas use case * styling * styling * begin login users * login users * login users * fix table * fix: links * fix: links * start go api * fix: policy structure * fix: saas description * fix: saas description * fix: saas description * Update docs/docs/concepts/policies.md Co-authored-by: mffap <mpa@caos.ch> * Update docs/docs/concepts/usecases/saas.md Co-authored-by: mffap <mpa@caos.ch> * Update docs/docs/concepts/usecases/saas.md Co-authored-by: mffap <mpa@caos.ch> * Update docs/docs/concepts/usecases/saas.md Co-authored-by: mffap <mpa@caos.ch> * Update docs/docs/concepts/usecases/saas.md Co-authored-by: mffap <mpa@caos.ch> * Update docs/docs/concepts/usecases/saas.md Co-authored-by: mffap <mpa@caos.ch> * Update docs/docs/concepts/usecases/saas.md Co-authored-by: mffap <mpa@caos.ch> * Update docs/docs/concepts/usecases/saas.md Co-authored-by: mffap <mpa@caos.ch> * Update docs/docs/concepts/usecases/saas.md Co-authored-by: mffap <mpa@caos.ch> * Update docs/docs/concepts/usecases/saas.md Co-authored-by: mffap <mpa@caos.ch> * docs: organisation --> organization * docs: fixes * docs: fixes * Update docs/docs/apis/openidoauth/endpoints.md Co-authored-by: Florian Forster <florian@caos.ch> * Update docs/docs/concepts/policies.md Co-authored-by: Florian Forster <florian@caos.ch> * Update docs/docs/concepts/policies.md Co-authored-by: Florian Forster <florian@caos.ch> * Update docs/docs/concepts/policies.md Co-authored-by: Florian Forster <florian@caos.ch> * Update docs/docs/apis/openidoauth/endpoints.md Co-authored-by: Florian Forster <florian@caos.ch> * Apply suggestions from code review Co-authored-by: Florian Forster <florian@caos.ch> * docs: intro * Update docs/docs/guides/customization/branding.md Co-authored-by: Florian Forster <florian@caos.ch> * fix: typo * add mermaid Co-authored-by: Livio Amstutz <livio.a@gmail.com> Co-authored-by: mffap <mpa@caos.ch> Co-authored-by: Florian Forster <florian@caos.ch>
2021-09-23 08:34:06 +00:00
},
{
2022-02-02 12:45:01 +00:00
type: "doc",
docId: "legal/introduction",
label: "Legal",
position: "left",
},
{
href: "https://github.com/zitadel/zitadel",
2022-02-02 12:45:01 +00:00
label: "GitHub",
position: "right",
},
{
href: "https://zitadel.com/chat",
label: "Chat",
position: "right",
},
{
label: "Discussions",
position: "right",
href: "https://github.com/zitadel/zitadel/discussions",
},
],
},
footer: {
links: [
{
2022-02-02 12:45:01 +00:00
title: "Community",
items: [
{
label: "Chat",
href: "https://zitadel.com/chat",
},
{
2022-02-02 12:45:01 +00:00
label: "GitHub Discussions",
href: "https://github.com/zitadel/zitadel/discussions",
},
{
2022-02-02 12:45:01 +00:00
label: "Twitter",
href: "https://twitter.com/zitadel",
},
{
2022-02-02 12:45:01 +00:00
label: "Linkedin",
href: "https://www.linkedin.com/company/zitadel/",
},
{
2022-02-02 12:45:01 +00:00
label: "Blog",
href: "https://zitadel.com/blog",
},
],
},
{
title: "Legal",
items: [
{
label: "Terms and Conditions",
href: "/docs/legal/terms-of-service",
},
{
label: "Privacy Policy",
href: "/docs/legal/privacy-policy",
},
],
},
{
title: "About",
items: [
{
label: "Website",
href: "https://zitadel.com",
},
{
2022-02-02 12:45:01 +00:00
label: "Contact",
href: "https://zitadel.com/contact/",
},
{
2022-02-02 12:45:01 +00:00
label: "GitHub",
href: "https://github.com/zitadel",
},
{
2022-02-02 12:45:01 +00:00
label: "Status",
href: "https://status.zitadel.com/",
},
{
label: "Docs v1 (deprecated)",
href: "https://docs-v1.zitadel.com/",
}
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} ZITADEL Docs - Built with Docusaurus.`,
},
algolia: {
appId: "8H6ZKXENLO",
apiKey: "124fe1c102a184bc6fc70c75dc84f96f",
indexName: 'zitadel',
selector: 'div#'
},
prism: {
2022-02-02 12:45:01 +00:00
additionalLanguages: ["csharp", "dart", "groovy"],
},
},
presets: [
[
2022-02-02 12:45:01 +00:00
"@docusaurus/preset-classic",
{
docs: {
2022-02-02 12:45:01 +00:00
sidebarPath: require.resolve("./sidebars.js"),
docs: improve documentation for v2 release (#4046) * WIP: docs(proxy): describe proxy settings * fix nginx * refactor (docs): deploy and operate sections * chore: ignore package-lock since we use yarn * chore: update to rc1 * chore: broken links * chore: update yarn * docs: move disclaimer to bottom * chore: fix broken links * Update docs/docs/guides/operate/tls_modes.mdx Co-authored-by: Fabi <38692350+hifabienne@users.noreply.github.com> * test caddy files * syntax highlight * traefik example * refactor: docs * refactor * working state * got a working state * remove bar * mark rate limits for update * remove zitadel.ch * fix cases * docs: zitadel quickstart * docs: zitadel quickstart * docs: create app and project * docs: move customer portal docs to guides manage cloud * docs: move customer portal docs to guides manage cloud * docs: move customer portal docs to guides manage cloud * docs: add help me choose in the quickstart * docs: broken links * fix broken links * Update knative guide * styling * docs: support customer portal * update to main instead v2-alpha * use version 2 tag * docs: images * docs: move authentication and authorization guides to integrate * docs: quickstart use examples * docs: lb example * fix broken link * docs: update userinfo endpoints * docs: update userinfo endpoints * fix oidc endpoint * docs: remove unused endpoints in app.module Co-authored-by: Fabi <38692350+hifabienne@users.noreply.github.com> Co-authored-by: Fabienne <fabienne.gerschwiler@gmail.com> Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2022-07-29 08:13:45 +00:00
showLastUpdateAuthor: true,
showLastUpdateTime: true,
editUrl: "https://github.com/zitadel/zitadel/edit/main/docs/",
2022-02-02 12:45:01 +00:00
remarkPlugins: [require("mdx-mermaid")],
},
theme: {
2022-02-02 12:45:01 +00:00
customCss: require.resolve("./src/css/custom.css"),
},
},
],
],
plugins: [require.resolve("docusaurus-plugin-image-zoom")],
};