mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 17:27:31 +00:00
chore(docs): Migrate from Docusaurus v2 to v3 (#8036)
Migrate Docs to latest version of Docusaursu (3.3.2 as of time of writing) --------- Co-authored-by: Florian Forster <florian@zitadel.com>
This commit is contained in:

committed by
GitHub

parent
f9742a58f4
commit
4101e1cd49
@@ -4,8 +4,9 @@ module.exports = {
|
||||
trailingSlash: false,
|
||||
url: "https://zitadel.com",
|
||||
baseUrl: "/docs",
|
||||
onBrokenLinks: "throw",
|
||||
onBrokenMarkdownLinks: "warn",
|
||||
onBrokenLinks: "warn",
|
||||
onBrokenAnchors: "warn",
|
||||
onBrokenMarkdownLinks: "throw",
|
||||
favicon: "img/favicon.ico",
|
||||
organizationName: "zitadel",
|
||||
projectName: "zitadel",
|
||||
@@ -203,6 +204,11 @@ module.exports = {
|
||||
syntax: 'typescript',
|
||||
tsx: true,
|
||||
},
|
||||
transform: {
|
||||
react: {
|
||||
runtime: 'automatic',
|
||||
},
|
||||
},
|
||||
target: 'es2017',
|
||||
},
|
||||
module: {
|
||||
@@ -223,7 +229,7 @@ module.exports = {
|
||||
showLastUpdateTime: true,
|
||||
editUrl: "https://github.com/zitadel/zitadel/edit/main/docs/",
|
||||
remarkPlugins: [require("mdx-mermaid")],
|
||||
docLayoutComponent: "@theme/DocPage",
|
||||
|
||||
docItemComponent: '@theme/ApiItem'
|
||||
},
|
||||
theme: {
|
||||
@@ -245,6 +251,7 @@ module.exports = {
|
||||
outputDir: "docs/apis/resources/auth",
|
||||
sidebarOptions: {
|
||||
groupPathsBy: "tag",
|
||||
categoryLinkSource: "tag",
|
||||
},
|
||||
},
|
||||
mgmt: {
|
||||
@@ -252,6 +259,7 @@ module.exports = {
|
||||
outputDir: "docs/apis/resources/mgmt",
|
||||
sidebarOptions: {
|
||||
groupPathsBy: "tag",
|
||||
categoryLinkSource: "tag",
|
||||
},
|
||||
},
|
||||
admin: {
|
||||
@@ -259,6 +267,7 @@ module.exports = {
|
||||
outputDir: "docs/apis/resources/admin",
|
||||
sidebarOptions: {
|
||||
groupPathsBy: "tag",
|
||||
categoryLinkSource: "tag",
|
||||
},
|
||||
},
|
||||
system: {
|
||||
@@ -266,6 +275,7 @@ module.exports = {
|
||||
outputDir: "docs/apis/resources/system",
|
||||
sidebarOptions: {
|
||||
groupPathsBy: "tag",
|
||||
categoryLinkSource: "tag",
|
||||
},
|
||||
},
|
||||
user: {
|
||||
@@ -273,6 +283,7 @@ module.exports = {
|
||||
outputDir: "docs/apis/resources/user_service",
|
||||
sidebarOptions: {
|
||||
groupPathsBy: "tag",
|
||||
categoryLinkSource: "tag",
|
||||
},
|
||||
},
|
||||
session: {
|
||||
@@ -280,6 +291,7 @@ module.exports = {
|
||||
outputDir: "docs/apis/resources/session_service",
|
||||
sidebarOptions: {
|
||||
groupPathsBy: "tag",
|
||||
categoryLinkSource: "tag",
|
||||
},
|
||||
},
|
||||
oidc: {
|
||||
@@ -287,6 +299,7 @@ module.exports = {
|
||||
outputDir: "docs/apis/resources/oidc_service",
|
||||
sidebarOptions: {
|
||||
groupPathsBy: "tag",
|
||||
categoryLinkSource: "tag",
|
||||
},
|
||||
},
|
||||
settings: {
|
||||
@@ -294,6 +307,7 @@ module.exports = {
|
||||
outputDir: "docs/apis/resources/settings_service",
|
||||
sidebarOptions: {
|
||||
groupPathsBy: "tag",
|
||||
categoryLinkSource: "tag",
|
||||
},
|
||||
},
|
||||
user_schema: {
|
||||
@@ -301,6 +315,7 @@ module.exports = {
|
||||
outputDir: "docs/apis/resources/user_schema_service_v3",
|
||||
sidebarOptions: {
|
||||
groupPathsBy: "tag",
|
||||
categoryLinkSource: "tag",
|
||||
},
|
||||
},
|
||||
user_v3: {
|
||||
@@ -308,6 +323,7 @@ module.exports = {
|
||||
outputDir: "docs/apis/resources/user_service_v3",
|
||||
sidebarOptions: {
|
||||
groupPathsBy: "tag",
|
||||
categoryLinkSource: "tag",
|
||||
},
|
||||
},
|
||||
action_v3: {
|
||||
@@ -315,6 +331,7 @@ module.exports = {
|
||||
outputDir: "docs/apis/resources/action_service_v3",
|
||||
sidebarOptions: {
|
||||
groupPathsBy: "tag",
|
||||
categoryLinkSource: "tag",
|
||||
},
|
||||
},
|
||||
feature_v2: {
|
||||
@@ -322,6 +339,7 @@ module.exports = {
|
||||
outputDir: "docs/apis/resources/feature_service_v2",
|
||||
sidebarOptions: {
|
||||
groupPathsBy: "tag",
|
||||
categoryLinkSource: "tag",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user