From 149f4108f02a931f9e5051e0ccd5c2cbbba5d9ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gautier=20Ben=20A=C3=AFm?= <48261497+GauBen@users.noreply.github.com> Date: Wed, 21 Aug 2024 14:28:50 +0200 Subject: [PATCH] fix: now has a trailing slash (#700) --- services/docs/docusaurus.config.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/services/docs/docusaurus.config.js b/services/docs/docusaurus.config.js index 371306b7..3bf899fe 100644 --- a/services/docs/docusaurus.config.js +++ b/services/docs/docusaurus.config.js @@ -10,9 +10,10 @@ const config = { tagline: 'The missing Node GraphQL security security layer', url: 'https://escape.tech', baseUrl: '/graphql-armor/', - onBrokenLinks: 'throw', + onBrokenLinks: 'warn', onBrokenMarkdownLinks: 'warn', favicon: 'img/favicon.png', + trailingSlash: true, // GitHub pages deployment config. // If you aren't using GitHub pages, you don't need these. @@ -36,13 +37,13 @@ const config = { sidebarPath: require.resolve('./sidebars.js'), // Please change this to your repo. // Remove this to remove the "edit this page" links. - editUrl: 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/', + editUrl: 'https://github.com/Escape-Technologies/graphql-armor/blob/main/services/docs/', }, blog: { showReadingTime: true, // Please change this to your repo. // Remove this to remove the "edit this page" links. - editUrl: 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/', + editUrl: 'https://github.com/Escape-Technologies/graphql-armor/blob/main/services/docs/', }, theme: { customCss: require.resolve('./src/css/custom.css'),