mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 20:27:32 +00:00
docs: local assets (#3151)
This commit is contained in:
@@ -1,117 +1,125 @@
|
||||
/** @type {import('@docusaurus/types').DocusaurusConfig} */
|
||||
module.exports = {
|
||||
title: 'ZITADEL Docs',
|
||||
title: "ZITADEL Docs",
|
||||
trailingSlash: false,
|
||||
url: 'https://docs.zitadel.ch',
|
||||
baseUrl: '/',
|
||||
onBrokenLinks: 'throw',
|
||||
onBrokenMarkdownLinks: 'warn',
|
||||
favicon: 'img/favicon.ico',
|
||||
organizationName: 'caos',
|
||||
projectName: 'zitadel',
|
||||
scripts: [{src: '/proxy/js/script.js', async: true, defer: true, 'data-domain': 'docs.zitadel.ch', 'data-api': '/proxy/api/event'}],
|
||||
url: "https://docs.zitadel.ch",
|
||||
baseUrl: "/",
|
||||
onBrokenLinks: "throw",
|
||||
onBrokenMarkdownLinks: "warn",
|
||||
favicon: "img/favicon.ico",
|
||||
organizationName: "caos",
|
||||
projectName: "zitadel",
|
||||
scripts: [
|
||||
{
|
||||
src: "/proxy/js/script.js",
|
||||
async: true,
|
||||
defer: true,
|
||||
"data-domain": "docs.zitadel.ch",
|
||||
"data-api": "/proxy/api/event",
|
||||
},
|
||||
],
|
||||
themeConfig: {
|
||||
zoomSelector: '.markdown :not(em) > img',
|
||||
zoomSelector: ".markdown :not(em) > img",
|
||||
navbar: {
|
||||
// title: 'ZITADEL',
|
||||
logo: {
|
||||
alt: 'ZITADEL logo',
|
||||
src: 'img/zitadel-logo-dark.svg',
|
||||
srcDark: 'img/zitadel-logo-light.svg',
|
||||
alt: "ZITADEL logo",
|
||||
src: "img/zitadel-logo-dark.svg",
|
||||
srcDark: "img/zitadel-logo-light.svg",
|
||||
},
|
||||
items: [
|
||||
{
|
||||
type: 'doc',
|
||||
label: 'Guides',
|
||||
docId: 'guides/overview',
|
||||
position: 'left',
|
||||
type: "doc",
|
||||
label: "Guides",
|
||||
docId: "guides/overview",
|
||||
position: "left",
|
||||
},
|
||||
{
|
||||
type: 'doc',
|
||||
label: 'Quickstarts',
|
||||
docId: 'quickstarts/introduction',
|
||||
position: 'left',
|
||||
type: "doc",
|
||||
label: "Quickstarts",
|
||||
docId: "quickstarts/introduction",
|
||||
position: "left",
|
||||
},
|
||||
{
|
||||
type: 'doc',
|
||||
label: 'APIs',
|
||||
docId: 'apis/introduction',
|
||||
position: 'left',
|
||||
type: "doc",
|
||||
label: "APIs",
|
||||
docId: "apis/introduction",
|
||||
position: "left",
|
||||
},
|
||||
{
|
||||
type: 'doc',
|
||||
docId: 'concepts/introduction',
|
||||
label: 'Concepts',
|
||||
position: 'left',
|
||||
type: "doc",
|
||||
docId: "concepts/introduction",
|
||||
label: "Concepts",
|
||||
position: "left",
|
||||
},
|
||||
{
|
||||
type: 'doc',
|
||||
docId: 'manuals/introduction',
|
||||
label: 'Help',
|
||||
position: 'left',
|
||||
type: "doc",
|
||||
docId: "manuals/introduction",
|
||||
label: "Help",
|
||||
position: "left",
|
||||
},
|
||||
{
|
||||
type: 'doc',
|
||||
docId: 'legal/introduction',
|
||||
label: 'Legal',
|
||||
position: 'left',
|
||||
type: "doc",
|
||||
docId: "legal/introduction",
|
||||
label: "Legal",
|
||||
position: "left",
|
||||
},
|
||||
{
|
||||
href: 'https://github.com/caos/zitadel',
|
||||
label: 'GitHub',
|
||||
position: 'right',
|
||||
href: "https://github.com/caos/zitadel",
|
||||
label: "GitHub",
|
||||
position: "right",
|
||||
},
|
||||
],
|
||||
},
|
||||
footer: {
|
||||
links: [
|
||||
{
|
||||
title: 'Community',
|
||||
title: "Community",
|
||||
items: [
|
||||
{
|
||||
label: 'GitHub Discussions',
|
||||
href: 'https://github.com/caos/zitadel/discussions',
|
||||
label: "GitHub Discussions",
|
||||
href: "https://github.com/caos/zitadel/discussions",
|
||||
},
|
||||
{
|
||||
label: 'Twitter',
|
||||
href: 'https://twitter.com/zitadel_ch',
|
||||
label: "Twitter",
|
||||
href: "https://twitter.com/zitadel_ch",
|
||||
},
|
||||
{
|
||||
label: 'Linkedin',
|
||||
href: 'https://www.linkedin.com/company/caos-ag/',
|
||||
label: "Linkedin",
|
||||
href: "https://www.linkedin.com/company/caos-ag/",
|
||||
},
|
||||
{
|
||||
label: 'Blog',
|
||||
href: 'https://zitadel.ch/blog',
|
||||
label: "Blog",
|
||||
href: "https://zitadel.ch/blog",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'Company',
|
||||
title: "Company",
|
||||
items: [
|
||||
{
|
||||
label: 'About CAOS Ltd.',
|
||||
href: 'https://caos.ch/#about',
|
||||
label: "About CAOS Ltd.",
|
||||
href: "https://caos.ch/#about",
|
||||
},
|
||||
{
|
||||
label: 'Contact',
|
||||
href: 'https://zitadel.ch/contact/',
|
||||
label: "Contact",
|
||||
href: "https://zitadel.ch/contact/",
|
||||
},
|
||||
{
|
||||
label: 'GitHub',
|
||||
href: 'https://github.com/caos',
|
||||
label: "GitHub",
|
||||
href: "https://github.com/caos",
|
||||
},
|
||||
{
|
||||
label: 'Status',
|
||||
href: 'https://status.zitadel.ch/',
|
||||
label: "Status",
|
||||
href: "https://status.zitadel.ch/",
|
||||
},
|
||||
{
|
||||
label: 'Terms and Conditions',
|
||||
href: 'https://docs.zitadel.ch/docs/legal/terms-of-service',
|
||||
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',
|
||||
label: "Privacy Policy",
|
||||
href: "https://docs.zitadel.ch/docs/legal/privacy-policy",
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -119,33 +127,28 @@ module.exports = {
|
||||
copyright: `Copyright © ${new Date().getFullYear()} CAOS Ltd. Built with Docusaurus.`,
|
||||
},
|
||||
algolia: {
|
||||
appId: '8H6ZKXENLO',
|
||||
apiKey: 'c3899716db098111f5e89c8987b9c427',
|
||||
indexName: 'zitadel',
|
||||
appId: "8H6ZKXENLO",
|
||||
apiKey: "c3899716db098111f5e89c8987b9c427",
|
||||
indexName: "zitadel",
|
||||
},
|
||||
prism: {
|
||||
additionalLanguages: ['csharp', 'dart', 'groovy'],
|
||||
additionalLanguages: ["csharp", "dart", "groovy"],
|
||||
},
|
||||
},
|
||||
presets: [
|
||||
[
|
||||
'@docusaurus/preset-classic',
|
||||
"@docusaurus/preset-classic",
|
||||
{
|
||||
docs: {
|
||||
sidebarPath: require.resolve('./sidebars.js'),
|
||||
editUrl: 'https://github.com/caos/zitadel/edit/main/docs/',
|
||||
remarkPlugins: [require('mdx-mermaid')],
|
||||
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'),
|
||||
customCss: require.resolve("./src/css/custom.css"),
|
||||
},
|
||||
},
|
||||
],
|
||||
],
|
||||
plugins: [
|
||||
require.resolve('plugin-image-zoom'),
|
||||
],
|
||||
stylesheets: [
|
||||
"https://maxst.icons8.com/vue-static/landings/line-awesome/line-awesome/1.3.0/css/line-awesome.min.css"
|
||||
]
|
||||
plugins: [require.resolve("plugin-image-zoom")],
|
||||
};
|
||||
|
Reference in New Issue
Block a user