From 0784d68a001d9fd6673b2e99b0d7af1cc919aefb Mon Sep 17 00:00:00 2001 From: SafraNako Date: Fri, 11 Sep 2026 15:08:00 +0300 Subject: [PATCH] Fix broken default "Edit this page" URL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit docusaurus.config.js set the docs plugin's editUrl to `https://github.com/theqrl.org/documentation`, treating the docs site's custom domain (theqrl.org) as if it were the GitHub org name. That path 404s. The correct GitHub org is theQRL (github.com/theQRL/documentation), and Docusaurus's editUrl convention is the folder *containing* docs/, with /edit// appended — Docusaurus appends the file's own relative path under docs/ automatically. Only one page in the current docs set (docs/Use/Tools/ems/_emsInfo.md, a partial) lacks its own custom_edit_url override, so today's practical impact is limited to that page — but it's also the default every future page inherits unless a contributor remembers to add one. Verified: `npm run build` (onBrokenLinks: 'throw') completes clean, and https://github.com/theQRL/documentation/edit/main/docs/getting-started.md resolves (302 to GitHub login) where the previous URL 404s. Co-Authored-By: Claude Sonnet 5 --- docusaurus.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index db60e94..bace815 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -47,7 +47,7 @@ const config = { //path: 'docs/', routeBasePath: '/', // Serve the docs at the site's root editUrl: - 'https://github.com/theqrl.org/documentation', + 'https://github.com/theQRL/documentation/edit/main/', remarkPlugins: [math], rehypePlugins: [katex], },