From 9a4e2896d2f3d649f7ef257b8a0f334dd0869264 Mon Sep 17 00:00:00 2001 From: robriks <80549215+robriks@users.noreply.github.com> Date: Fri, 20 Jan 2023 13:54:51 -0500 Subject: [PATCH] All docusaurus 'editUrl' links broken in docs all 'Edit this page' links in documentation are broken due to what seems to be a renaming of all documentation markdown files from: `command-${cmd}.md` to just `${cmd}.md` I've fixed this by manually updating the editUrl attribute in the docusaurus config; regenerating the documentation statics is another option, lmk if you want me to do that --- website/docusaurus.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 52a3c47b6..9d77ffa7a 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -111,7 +111,7 @@ module.exports = { routeBasePath: '/', include: ['**/*.md', '**/*.mdx'], sidebarPath: require.resolve('./sidebars.js'), - editUrl: 'https://github.com/urigo/graphql-cli/edit/master/website/', + editUrl: 'https://github.com/urigo/graphql-cli/edit/master/website/command-', }, theme: { customCss: require.resolve('./src/css/custom.css'),