From b94a971d8e80a0d72f6a00732fedc0ddada0433d Mon Sep 17 00:00:00 2001 From: Thomas Tendyck Date: Thu, 23 Nov 2023 16:30:01 +0100 Subject: [PATCH] docs: fix deploy preview and some links --- docs/docusaurus.config.js | 10 +++++----- docs/static/_redirects | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 docs/static/_redirects diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index bc1d7fbf3..2dc60e883 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -12,7 +12,7 @@ async function createConfig() { url: 'https://constellation-docs.netlify.app', baseUrl: '/constellation/', onBrokenLinks: 'throw', - onBrokenMarkdownLinks: 'warn', + onBrokenMarkdownLinks: 'throw', favicon: 'img/favicon.ico', // GitHub pages deployment config. @@ -139,7 +139,7 @@ async function createConfig() { }, { label: 'Newsletter', - href: 'https://www.edgeless.systems/#newsletter-signup' + href: 'https://www.edgeless.systems/#footer' }, ], }, @@ -170,11 +170,11 @@ async function createConfig() { items: [ { label: 'Imprint', - href: 'https://www.edgeless.systems/imprint', + href: 'https://www.edgeless.systems/imprint/', }, { label: 'Privacy Policy', - href: 'https://www.edgeless.systems/privacy', + href: 'https://www.edgeless.systems/privacy/', }, { html: `Cookie Settings` @@ -182,7 +182,7 @@ async function createConfig() { { label: 'Contact Us', - href: 'https://www.edgeless.systems/contact/', + href: 'https://www.edgeless.systems/contact-us/', }, ], }, diff --git a/docs/static/_redirects b/docs/static/_redirects new file mode 100644 index 000000000..32cfa8c84 --- /dev/null +++ b/docs/static/_redirects @@ -0,0 +1 @@ +/constellation/* /:splat 200!