docs: fix deploy preview and some links

This commit is contained in:
Thomas Tendyck 2023-11-23 16:30:01 +01:00 committed by Thomas Tendyck
parent d3b542d781
commit b94a971d8e
2 changed files with 6 additions and 5 deletions

View File

@ -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: `<a href="javascript: Cookiebot.renew()" class="footer__link-item">Cookie Settings</a>`
@ -182,7 +182,7 @@ async function createConfig() {
{
label: 'Contact Us',
href: 'https://www.edgeless.systems/contact/',
href: 'https://www.edgeless.systems/contact-us/',
},
],
},

1
docs/static/_redirects vendored Normal file
View File

@ -0,0 +1 @@
/constellation/* /:splat 200!