mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 20:27:32 +00:00
chore(docs): fix links for domain migration (#4831)
* chore(docs): fix links for domain migration * try trailing slash for netlify * trial * fix typo * test path * try preview proxied * test local proxy * try to define the domain with redirect to /docs * remove build commands * debug netlify router and fix image link * working config * fix analytics
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
module.exports = {
|
||||
title: "ZITADEL Docs",
|
||||
trailingSlash: false,
|
||||
url: "https://docs.zitadel.com",
|
||||
baseUrl: "/",
|
||||
url: "https://zitadel.com",
|
||||
baseUrl: "/docs/",
|
||||
onBrokenLinks: "throw",
|
||||
onBrokenMarkdownLinks: "warn",
|
||||
favicon: "img/favicon.ico",
|
||||
@@ -11,11 +11,11 @@ module.exports = {
|
||||
projectName: "zitadel",
|
||||
scripts: [
|
||||
{
|
||||
src: "/proxy/js/script.js",
|
||||
src: "/docs/proxy/js/script.js",
|
||||
async: true,
|
||||
defer: true,
|
||||
"data-domain": "docs.zitadel.com",
|
||||
"data-api": "/proxy/api/event",
|
||||
"data-domain": "zitadel.com",
|
||||
"data-api": "/docs/proxy/api/event",
|
||||
},
|
||||
],
|
||||
customFields: {
|
||||
@@ -135,11 +135,11 @@ module.exports = {
|
||||
items: [
|
||||
{
|
||||
label: "Terms and Conditions",
|
||||
href: "/docs/legal/terms-of-service",
|
||||
href: "/legal/terms-of-service",
|
||||
},
|
||||
{
|
||||
label: "Privacy Policy",
|
||||
href: "/docs/legal/privacy-policy",
|
||||
href: "/legal/privacy-policy",
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -191,6 +191,7 @@ module.exports = {
|
||||
"@docusaurus/preset-classic",
|
||||
{
|
||||
docs: {
|
||||
routeBasePath: "/",
|
||||
sidebarPath: require.resolve("./sidebars.js"),
|
||||
showLastUpdateAuthor: true,
|
||||
showLastUpdateTime: true,
|
||||
|
Reference in New Issue
Block a user