Conversation
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/<branch>/ 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 <noreply@anthropic.com>
✅ Deploy Preview for stalwart-palmier-0ab66c ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
docusaurus.config.jssets the docs plugin's defaulteditUrlto:That treats the docs site's custom domain (
theqrl.org) as if it were aGitHub org/user name, giving
github.com/theqrl.org/documentation—which 404s:
Fix
The GitHub org is
theQRL(github.com/theQRL/documentation), andDocusaurus's
editUrlconvention for the docs plugin is the foldercontaining
docs/with/edit/<branch>/appended — it appends eachpage's own relative path under
docs/automatically:Scope
Almost every page in
docs/already sets its owncustom_edit_urlinfrontmatter, which overrides this default — so today only one page
(
docs/Use/Tools/ems/_emsInfo.md, a partial) is directly affected. Butit's the default every future page inherits unless a contributor
remembers to add the override, so it's worth having correct.
Verification
npm run build(the site hasonBrokenLinks: 'throw') completes clean:🤖 Generated with Claude Code