2021-04-15 11:22:37 +00:00
|
|
|
|
/** @type {import('@docusaurus/types').DocusaurusConfig} */
|
|
|
|
|
module.exports = {
|
2022-02-02 12:45:01 +00:00
|
|
|
|
title: "ZITADEL Docs",
|
2021-12-30 08:01:47 +00:00
|
|
|
|
trailingSlash: false,
|
2022-12-06 19:33:13 +00:00
|
|
|
|
url: "https://zitadel.com",
|
2023-02-23 11:08:06 +00:00
|
|
|
|
baseUrl: "/docs",
|
2024-06-20 12:55:03 +00:00
|
|
|
|
onBrokenLinks: "warn",
|
|
|
|
|
onBrokenAnchors: "warn",
|
|
|
|
|
onBrokenMarkdownLinks: "throw",
|
2022-02-02 12:45:01 +00:00
|
|
|
|
favicon: "img/favicon.ico",
|
2022-05-16 14:01:46 +00:00
|
|
|
|
organizationName: "zitadel",
|
2022-02-02 12:45:01 +00:00
|
|
|
|
projectName: "zitadel",
|
|
|
|
|
scripts: [
|
|
|
|
|
{
|
2022-12-06 19:33:13 +00:00
|
|
|
|
src: "/docs/proxy/js/script.js",
|
2022-02-02 12:45:01 +00:00
|
|
|
|
async: true,
|
|
|
|
|
defer: true,
|
2022-12-06 19:33:13 +00:00
|
|
|
|
"data-domain": "zitadel.com",
|
|
|
|
|
"data-api": "/docs/proxy/api/event",
|
2022-02-02 12:45:01 +00:00
|
|
|
|
},
|
|
|
|
|
],
|
2022-11-08 15:15:12 +00:00
|
|
|
|
customFields: {
|
2022-12-05 17:36:12 +00:00
|
|
|
|
description:
|
2023-09-01 09:46:20 +00:00
|
|
|
|
"Documentation for ZITADEL - Identity infrastructure, simplified for you.",
|
2022-11-08 15:15:12 +00:00
|
|
|
|
},
|
2021-04-15 11:22:37 +00:00
|
|
|
|
themeConfig: {
|
2022-12-05 17:36:12 +00:00
|
|
|
|
metadata: [
|
|
|
|
|
{
|
|
|
|
|
name: "keywords",
|
|
|
|
|
content:
|
|
|
|
|
"zitadel, documentation, jwt, saml, oauth2, authentication, serverless, login, auth, authorization, sso, openid-connect, oidc, mfa, 2fa, passkeys, fido2, docker",
|
|
|
|
|
},
|
2023-01-11 10:45:35 +00:00
|
|
|
|
{
|
|
|
|
|
property: "og:type",
|
|
|
|
|
content: "website",
|
|
|
|
|
},
|
|
|
|
|
{ property: "og:url", content: "https://www.zitadel.com/docs" },
|
|
|
|
|
{
|
|
|
|
|
property: "og:image",
|
2023-02-17 10:48:37 +00:00
|
|
|
|
content: "https://www.zitadel.com/docs/img/preview.png",
|
2023-01-11 10:45:35 +00:00
|
|
|
|
},
|
|
|
|
|
{ property: "twitter:card", content: "summary_large_image" },
|
|
|
|
|
{ property: "twitter:url", content: "https://www.zitadel.com/docs" },
|
|
|
|
|
{ property: "twitter:title", content: "ZITADEL Docs" },
|
|
|
|
|
{
|
|
|
|
|
property: "twitter:image",
|
2023-02-17 10:48:37 +00:00
|
|
|
|
content: "https://www.zitadel.com/docs/img/preview.png",
|
2023-01-11 10:45:35 +00:00
|
|
|
|
},
|
2022-12-05 17:36:12 +00:00
|
|
|
|
],
|
2022-07-14 09:52:04 +00:00
|
|
|
|
zoom: {
|
2022-10-31 07:00:22 +00:00
|
|
|
|
selector: ".markdown :not(em) > img",
|
2022-07-14 09:52:04 +00:00
|
|
|
|
background: {
|
2022-10-31 07:00:22 +00:00
|
|
|
|
light: "rgb(243, 244, 246)",
|
|
|
|
|
dark: "rgb(55, 59, 82)",
|
2022-07-14 09:52:04 +00:00
|
|
|
|
},
|
|
|
|
|
// options you can specify via https://github.com/francoischalifour/medium-zoom#usage
|
2022-10-31 07:00:22 +00:00
|
|
|
|
config: {},
|
2022-07-14 09:52:04 +00:00
|
|
|
|
},
|
2021-04-15 11:22:37 +00:00
|
|
|
|
navbar: {
|
2021-10-13 08:06:12 +00:00
|
|
|
|
// title: 'ZITADEL',
|
2021-04-15 11:22:37 +00:00
|
|
|
|
logo: {
|
2022-02-02 12:45:01 +00:00
|
|
|
|
alt: "ZITADEL logo",
|
|
|
|
|
src: "img/zitadel-logo-dark.svg",
|
|
|
|
|
srcDark: "img/zitadel-logo-light.svg",
|
2024-02-06 14:52:45 +00:00
|
|
|
|
href: "https://zitadel.com",
|
|
|
|
|
target: "_blank",
|
2021-04-15 11:22:37 +00:00
|
|
|
|
},
|
|
|
|
|
items: [
|
|
|
|
|
{
|
2022-02-02 12:45:01 +00:00
|
|
|
|
type: "doc",
|
2024-03-06 18:31:49 +00:00
|
|
|
|
label: "🚀 Quick Start",
|
|
|
|
|
docId: "guides/start/quickstart",
|
|
|
|
|
position: "left",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
type: "doc",
|
2023-03-07 07:33:13 +00:00
|
|
|
|
label: "Documentation",
|
2022-02-02 12:45:01 +00:00
|
|
|
|
docId: "guides/overview",
|
|
|
|
|
position: "left",
|
2023-03-07 07:33:13 +00:00
|
|
|
|
},
|
2021-04-15 11:22:37 +00:00
|
|
|
|
{
|
2022-02-02 12:45:01 +00:00
|
|
|
|
type: "doc",
|
|
|
|
|
label: "APIs",
|
|
|
|
|
docId: "apis/introduction",
|
|
|
|
|
position: "left",
|
2021-04-15 11:22:37 +00:00
|
|
|
|
},
|
2022-12-20 10:17:27 +00:00
|
|
|
|
{
|
|
|
|
|
type: "doc",
|
|
|
|
|
label: "Self-Hosting",
|
|
|
|
|
docId: "self-hosting/deploy/overview",
|
|
|
|
|
position: "left",
|
|
|
|
|
},
|
2021-06-15 09:18:41 +00:00
|
|
|
|
{
|
2022-02-02 12:45:01 +00:00
|
|
|
|
type: "doc",
|
2023-05-12 08:51:17 +00:00
|
|
|
|
docId: "legal",
|
2022-02-02 12:45:01 +00:00
|
|
|
|
label: "Legal",
|
2023-03-07 07:33:13 +00:00
|
|
|
|
position: "right",
|
2021-06-15 09:18:41 +00:00
|
|
|
|
},
|
2021-04-15 11:22:37 +00:00
|
|
|
|
{
|
2022-12-05 17:36:12 +00:00
|
|
|
|
type: "html",
|
2022-02-02 12:45:01 +00:00
|
|
|
|
position: "right",
|
2022-12-05 17:36:12 +00:00
|
|
|
|
value:
|
|
|
|
|
'<a href="https://github.com/zitadel/zitadel/discussions" style="text-decoration: none; width: 20px; height: 24px; display: flex"><i class="las la-comments"></i></a>',
|
2021-04-15 11:22:37 +00:00
|
|
|
|
},
|
2022-07-18 15:16:45 +00:00
|
|
|
|
{
|
2022-12-05 17:36:12 +00:00
|
|
|
|
type: "html",
|
2022-07-18 15:16:45 +00:00
|
|
|
|
position: "right",
|
2022-12-05 17:36:12 +00:00
|
|
|
|
value:
|
|
|
|
|
'<a href="https://github.com/zitadel/zitadel" style="text-decoration: none; width: 20px; height: 24px; display: flex"><i class="lab la-github"></i></a>',
|
2022-07-18 15:16:45 +00:00
|
|
|
|
},
|
|
|
|
|
{
|
2022-12-05 17:36:12 +00:00
|
|
|
|
type: "html",
|
2022-07-18 15:16:45 +00:00
|
|
|
|
position: "right",
|
2022-12-05 17:36:12 +00:00
|
|
|
|
value:
|
|
|
|
|
'<a href="https://zitadel.com/chat" style="text-decoration: none; width: 20px; height: 24px; display: flex; margin: 0 .5rem 0 0"><i class="lab la-discord"></i></a>',
|
2022-07-18 15:16:45 +00:00
|
|
|
|
},
|
2021-04-15 11:22:37 +00:00
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
footer: {
|
|
|
|
|
links: [
|
|
|
|
|
{
|
2022-02-02 12:45:01 +00:00
|
|
|
|
title: "Community",
|
2021-04-15 11:22:37 +00:00
|
|
|
|
items: [
|
2022-05-23 20:53:43 +00:00
|
|
|
|
{
|
|
|
|
|
label: "Chat",
|
|
|
|
|
href: "https://zitadel.com/chat",
|
|
|
|
|
},
|
2021-04-15 11:22:37 +00:00
|
|
|
|
{
|
2022-02-02 12:45:01 +00:00
|
|
|
|
label: "GitHub Discussions",
|
2022-04-26 23:01:45 +00:00
|
|
|
|
href: "https://github.com/zitadel/zitadel/discussions",
|
2021-04-15 11:22:37 +00:00
|
|
|
|
},
|
|
|
|
|
{
|
2022-02-02 12:45:01 +00:00
|
|
|
|
label: "Twitter",
|
2022-05-16 14:01:46 +00:00
|
|
|
|
href: "https://twitter.com/zitadel",
|
2021-04-15 11:22:37 +00:00
|
|
|
|
},
|
|
|
|
|
{
|
2022-02-02 12:45:01 +00:00
|
|
|
|
label: "Linkedin",
|
2022-05-16 14:01:46 +00:00
|
|
|
|
href: "https://www.linkedin.com/company/zitadel/",
|
2021-04-15 11:22:37 +00:00
|
|
|
|
},
|
|
|
|
|
{
|
2022-02-02 12:45:01 +00:00
|
|
|
|
label: "Blog",
|
2022-05-16 14:01:46 +00:00
|
|
|
|
href: "https://zitadel.com/blog",
|
2021-04-15 11:22:37 +00:00
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
2022-05-23 20:53:43 +00:00
|
|
|
|
title: "Legal",
|
2021-04-15 11:22:37 +00:00
|
|
|
|
items: [
|
2022-05-23 20:53:43 +00:00
|
|
|
|
{
|
|
|
|
|
label: "Terms and Conditions",
|
2022-12-06 19:33:13 +00:00
|
|
|
|
href: "/legal/terms-of-service",
|
2022-05-23 20:53:43 +00:00
|
|
|
|
},
|
2021-04-15 11:22:37 +00:00
|
|
|
|
{
|
2022-05-23 20:53:43 +00:00
|
|
|
|
label: "Privacy Policy",
|
2023-11-16 09:26:25 +00:00
|
|
|
|
href: "/legal/policies/privacy-policy",
|
2022-05-23 20:53:43 +00:00
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: "About",
|
|
|
|
|
items: [
|
|
|
|
|
{
|
|
|
|
|
label: "Website",
|
|
|
|
|
href: "https://zitadel.com",
|
2021-04-15 11:22:37 +00:00
|
|
|
|
},
|
|
|
|
|
{
|
2022-02-02 12:45:01 +00:00
|
|
|
|
label: "Contact",
|
2022-05-16 14:01:46 +00:00
|
|
|
|
href: "https://zitadel.com/contact/",
|
2021-04-15 11:22:37 +00:00
|
|
|
|
},
|
|
|
|
|
{
|
2022-02-02 12:45:01 +00:00
|
|
|
|
label: "GitHub",
|
2022-05-16 14:01:46 +00:00
|
|
|
|
href: "https://github.com/zitadel",
|
2021-04-15 11:22:37 +00:00
|
|
|
|
},
|
|
|
|
|
{
|
2022-02-02 12:45:01 +00:00
|
|
|
|
label: "Status",
|
2022-08-02 18:21:57 +00:00
|
|
|
|
href: "https://status.zitadel.com/",
|
2023-01-27 14:26:13 +00:00
|
|
|
|
}
|
2021-04-15 11:22:37 +00:00
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
],
|
2022-05-20 14:20:31 +00:00
|
|
|
|
copyright: `Copyright © ${new Date().getFullYear()} ZITADEL Docs - Built with Docusaurus.`,
|
2021-04-15 11:22:37 +00:00
|
|
|
|
},
|
2021-04-20 15:10:03 +00:00
|
|
|
|
algolia: {
|
2022-05-30 14:51:45 +00:00
|
|
|
|
appId: "8H6ZKXENLO",
|
|
|
|
|
apiKey: "124fe1c102a184bc6fc70c75dc84f96f",
|
2022-10-31 07:00:22 +00:00
|
|
|
|
indexName: "zitadel",
|
|
|
|
|
selector: "div#",
|
|
|
|
|
},
|
2021-04-27 13:10:13 +00:00
|
|
|
|
prism: {
|
2024-09-18 13:38:55 +00:00
|
|
|
|
additionalLanguages: ["csharp", "dart", "groovy", "regex", "java", "php", "python", "protobuf", "json", "bash"],
|
2021-04-27 13:10:13 +00:00
|
|
|
|
},
|
2022-10-31 07:00:22 +00:00
|
|
|
|
colorMode: {
|
|
|
|
|
defaultMode: "dark",
|
|
|
|
|
disableSwitch: false,
|
|
|
|
|
respectPrefersColorScheme: true,
|
|
|
|
|
},
|
2024-07-11 05:54:04 +00:00
|
|
|
|
codeblock: {
|
|
|
|
|
showGithubLink: true,
|
|
|
|
|
githubLinkLabel: 'View on GitHub',
|
|
|
|
|
showRunmeLink: false,
|
|
|
|
|
runmeLinkLabel: 'Checkout via Runme'
|
|
|
|
|
},
|
2021-04-15 11:22:37 +00:00
|
|
|
|
},
|
2023-02-23 11:08:06 +00:00
|
|
|
|
webpack: {
|
|
|
|
|
jsLoader: (isServer) => ({
|
|
|
|
|
loader: require.resolve('swc-loader'),
|
|
|
|
|
options: {
|
|
|
|
|
jsc: {
|
|
|
|
|
parser: {
|
|
|
|
|
syntax: 'typescript',
|
|
|
|
|
tsx: true,
|
|
|
|
|
},
|
2024-06-20 12:55:03 +00:00
|
|
|
|
transform: {
|
|
|
|
|
react: {
|
|
|
|
|
runtime: 'automatic',
|
|
|
|
|
},
|
|
|
|
|
},
|
2023-02-23 11:08:06 +00:00
|
|
|
|
target: 'es2017',
|
|
|
|
|
},
|
|
|
|
|
module: {
|
|
|
|
|
type: isServer ? 'commonjs' : 'es6',
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
}),
|
|
|
|
|
},
|
2021-04-15 11:22:37 +00:00
|
|
|
|
presets: [
|
|
|
|
|
[
|
2023-02-23 11:08:06 +00:00
|
|
|
|
"classic",
|
|
|
|
|
/** @type {import('@docusaurus/preset-classic').Options} */
|
|
|
|
|
({
|
2021-04-15 11:22:37 +00:00
|
|
|
|
docs: {
|
2022-12-06 19:33:13 +00:00
|
|
|
|
routeBasePath: "/",
|
2022-02-02 12:45:01 +00:00
|
|
|
|
sidebarPath: require.resolve("./sidebars.js"),
|
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")],
|
2024-06-20 12:55:03 +00:00
|
|
|
|
|
2023-02-23 11:08:06 +00:00
|
|
|
|
docItemComponent: '@theme/ApiItem'
|
2021-04-15 11:22:37 +00:00
|
|
|
|
},
|
|
|
|
|
theme: {
|
2022-02-02 12:45:01 +00:00
|
|
|
|
customCss: require.resolve("./src/css/custom.css"),
|
2021-04-15 11:22:37 +00:00
|
|
|
|
},
|
2023-02-23 11:08:06 +00:00
|
|
|
|
})
|
2021-04-15 11:22:37 +00:00
|
|
|
|
],
|
2023-02-23 11:08:06 +00:00
|
|
|
|
|
2021-04-15 11:22:37 +00:00
|
|
|
|
],
|
2022-12-05 17:36:12 +00:00
|
|
|
|
plugins: [
|
2023-02-23 11:08:06 +00:00
|
|
|
|
[
|
|
|
|
|
'docusaurus-plugin-openapi-docs',
|
|
|
|
|
{
|
|
|
|
|
id: "apiDocs",
|
|
|
|
|
docsPluginId: "classic",
|
|
|
|
|
config: {
|
|
|
|
|
auth: {
|
|
|
|
|
specPath: ".artifacts/openapi/zitadel/auth.swagger.json",
|
2023-05-17 12:47:55 +00:00
|
|
|
|
outputDir: "docs/apis/resources/auth",
|
2023-02-23 11:08:06 +00:00
|
|
|
|
sidebarOptions: {
|
|
|
|
|
groupPathsBy: "tag",
|
2024-06-20 12:55:03 +00:00
|
|
|
|
categoryLinkSource: "tag",
|
2023-02-23 11:08:06 +00:00
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
mgmt: {
|
|
|
|
|
specPath: ".artifacts/openapi/zitadel/management.swagger.json",
|
2023-05-17 12:47:55 +00:00
|
|
|
|
outputDir: "docs/apis/resources/mgmt",
|
2023-02-23 11:08:06 +00:00
|
|
|
|
sidebarOptions: {
|
|
|
|
|
groupPathsBy: "tag",
|
2024-06-20 12:55:03 +00:00
|
|
|
|
categoryLinkSource: "tag",
|
2023-02-23 11:08:06 +00:00
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
admin: {
|
|
|
|
|
specPath: ".artifacts/openapi/zitadel/admin.swagger.json",
|
2023-05-17 12:47:55 +00:00
|
|
|
|
outputDir: "docs/apis/resources/admin",
|
2023-02-23 11:08:06 +00:00
|
|
|
|
sidebarOptions: {
|
|
|
|
|
groupPathsBy: "tag",
|
2024-06-20 12:55:03 +00:00
|
|
|
|
categoryLinkSource: "tag",
|
2023-02-23 11:08:06 +00:00
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
system: {
|
|
|
|
|
specPath: ".artifacts/openapi/zitadel/system.swagger.json",
|
2023-05-17 12:47:55 +00:00
|
|
|
|
outputDir: "docs/apis/resources/system",
|
2023-02-23 11:08:06 +00:00
|
|
|
|
sidebarOptions: {
|
|
|
|
|
groupPathsBy: "tag",
|
2024-06-20 12:55:03 +00:00
|
|
|
|
categoryLinkSource: "tag",
|
2023-02-23 11:08:06 +00:00
|
|
|
|
},
|
2023-04-26 05:47:57 +00:00
|
|
|
|
},
|
2024-07-26 10:28:28 +00:00
|
|
|
|
user_v2: {
|
|
|
|
|
specPath: ".artifacts/openapi/zitadel/user/v2/user_service.swagger.json",
|
|
|
|
|
outputDir: "docs/apis/resources/user_service_v2",
|
2023-04-26 05:47:57 +00:00
|
|
|
|
sidebarOptions: {
|
|
|
|
|
groupPathsBy: "tag",
|
2024-07-26 10:28:28 +00:00
|
|
|
|
categoryLinkSource: "tag",
|
2023-04-26 05:47:57 +00:00
|
|
|
|
},
|
2023-05-05 15:34:53 +00:00
|
|
|
|
},
|
2024-07-26 10:28:28 +00:00
|
|
|
|
session_v2: {
|
|
|
|
|
specPath: ".artifacts/openapi/zitadel/session/v2/session_service.swagger.json",
|
|
|
|
|
outputDir: "docs/apis/resources/session_service_v2",
|
2023-05-05 15:34:53 +00:00
|
|
|
|
sidebarOptions: {
|
|
|
|
|
groupPathsBy: "tag",
|
2024-07-26 10:28:28 +00:00
|
|
|
|
categoryLinkSource: "tag",
|
2023-05-05 15:34:53 +00:00
|
|
|
|
},
|
2023-05-11 09:23:40 +00:00
|
|
|
|
},
|
2024-07-26 10:28:28 +00:00
|
|
|
|
oidc_v2: {
|
|
|
|
|
specPath: ".artifacts/openapi/zitadel/oidc/v2/oidc_service.swagger.json",
|
|
|
|
|
outputDir: "docs/apis/resources/oidc_service_v2",
|
2023-07-10 13:27:00 +00:00
|
|
|
|
sidebarOptions: {
|
|
|
|
|
groupPathsBy: "tag",
|
2024-07-26 10:28:28 +00:00
|
|
|
|
categoryLinkSource: "tag",
|
2023-07-10 13:27:00 +00:00
|
|
|
|
},
|
|
|
|
|
},
|
2024-07-26 10:28:28 +00:00
|
|
|
|
settings_v2: {
|
|
|
|
|
specPath: ".artifacts/openapi/zitadel/settings/v2/settings_service.swagger.json",
|
|
|
|
|
outputDir: "docs/apis/resources/settings_service_v2",
|
2023-05-11 09:23:40 +00:00
|
|
|
|
sidebarOptions: {
|
|
|
|
|
groupPathsBy: "tag",
|
2024-07-26 10:28:28 +00:00
|
|
|
|
categoryLinkSource: "tag",
|
2023-05-11 09:23:40 +00:00
|
|
|
|
},
|
2024-02-15 05:39:10 +00:00
|
|
|
|
},
|
2024-07-26 10:28:28 +00:00
|
|
|
|
user_schema_v3: {
|
2024-08-28 19:46:45 +00:00
|
|
|
|
specPath: ".artifacts/openapi/zitadel/resources/userschema/v3alpha/user_schema_service.swagger.json",
|
2024-02-15 10:22:48 +00:00
|
|
|
|
outputDir: "docs/apis/resources/user_schema_service_v3",
|
|
|
|
|
sidebarOptions: {
|
|
|
|
|
groupPathsBy: "tag",
|
2024-07-11 05:54:04 +00:00
|
|
|
|
categoryLinkSource: "auto",
|
2024-02-15 10:22:48 +00:00
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
user_v3: {
|
2024-08-28 19:46:45 +00:00
|
|
|
|
specPath: ".artifacts/openapi/zitadel/resources/user/v3alpha/user_service.swagger.json",
|
2024-02-15 10:22:48 +00:00
|
|
|
|
outputDir: "docs/apis/resources/user_service_v3",
|
|
|
|
|
sidebarOptions: {
|
|
|
|
|
groupPathsBy: "tag",
|
2024-07-11 05:54:04 +00:00
|
|
|
|
categoryLinkSource: "auto",
|
2024-02-15 10:22:48 +00:00
|
|
|
|
},
|
|
|
|
|
},
|
2024-04-09 17:21:21 +00:00
|
|
|
|
action_v3: {
|
2024-07-31 12:42:12 +00:00
|
|
|
|
specPath: ".artifacts/openapi/zitadel/resources/action/v3alpha/action_service.swagger.json",
|
2024-04-09 17:21:21 +00:00
|
|
|
|
outputDir: "docs/apis/resources/action_service_v3",
|
2024-08-14 14:18:14 +00:00
|
|
|
|
sidebarOptions: {
|
|
|
|
|
groupPathsBy: "tag",
|
|
|
|
|
categoryLinkSource: "auto",
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
webkey_v3: {
|
|
|
|
|
specPath: ".artifacts/openapi/zitadel/resources/webkey/v3alpha/webkey_service.swagger.json",
|
|
|
|
|
outputDir: "docs/apis/resources/webkey_service_v3",
|
2024-02-15 05:39:10 +00:00
|
|
|
|
sidebarOptions: {
|
2024-02-15 10:22:48 +00:00
|
|
|
|
groupPathsBy: "tag",
|
2024-07-11 05:54:04 +00:00
|
|
|
|
categoryLinkSource: "auto",
|
2024-02-15 05:39:10 +00:00
|
|
|
|
},
|
2024-02-15 10:22:48 +00:00
|
|
|
|
},
|
2024-02-28 08:55:54 +00:00
|
|
|
|
feature_v2: {
|
2024-07-26 10:28:28 +00:00
|
|
|
|
specPath: ".artifacts/openapi/zitadel/feature/v2/feature_service.swagger.json",
|
2024-02-28 08:55:54 +00:00
|
|
|
|
outputDir: "docs/apis/resources/feature_service_v2",
|
|
|
|
|
sidebarOptions: {
|
|
|
|
|
groupPathsBy: "tag",
|
2024-07-11 05:54:04 +00:00
|
|
|
|
categoryLinkSource: "auto",
|
2024-02-28 08:55:54 +00:00
|
|
|
|
},
|
|
|
|
|
},
|
2024-08-15 04:37:06 +00:00
|
|
|
|
org_v2: {
|
|
|
|
|
specPath: ".artifacts/openapi/zitadel/org/v2/org_service.swagger.json",
|
|
|
|
|
outputDir: "docs/apis/resources/org_service_v2",
|
|
|
|
|
sidebarOptions: {
|
|
|
|
|
groupPathsBy: "tag",
|
|
|
|
|
categoryLinkSource: "auto",
|
|
|
|
|
},
|
|
|
|
|
},
|
2024-08-14 18:18:29 +00:00
|
|
|
|
idp_v2: {
|
|
|
|
|
specPath: ".artifacts/openapi/zitadel/idp/v2/idp_service.swagger.json",
|
|
|
|
|
outputDir: "docs/apis/resources/idp_service_v2",
|
|
|
|
|
sidebarOptions: {
|
|
|
|
|
groupPathsBy: "tag",
|
|
|
|
|
categoryLinkSource: "auto",
|
|
|
|
|
},
|
|
|
|
|
},
|
2024-02-15 10:22:48 +00:00
|
|
|
|
},
|
2023-02-23 11:08:06 +00:00
|
|
|
|
},
|
|
|
|
|
],
|
2022-12-05 17:36:12 +00:00
|
|
|
|
require.resolve("docusaurus-plugin-image-zoom"),
|
|
|
|
|
async function myPlugin(context, options) {
|
|
|
|
|
return {
|
|
|
|
|
name: "docusaurus-tailwindcss",
|
|
|
|
|
configurePostCss(postcssOptions) {
|
|
|
|
|
// Appends TailwindCSS and AutoPrefixer.
|
|
|
|
|
postcssOptions.plugins.push(require("tailwindcss"));
|
|
|
|
|
postcssOptions.plugins.push(require("autoprefixer"));
|
|
|
|
|
return postcssOptions;
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
],
|
2024-07-11 05:54:04 +00:00
|
|
|
|
themes: [ "docusaurus-theme-github-codeblock", "docusaurus-theme-openapi-docs"],
|
2021-04-15 11:22:37 +00:00
|
|
|
|
};
|