-
Notifications
You must be signed in to change notification settings - Fork 62
editUrl opens github.dev web editor instead of GitHub file view #184
Copy link
Copy link
Open
Description
File: docusaurus.config.js — Line 40
Description
The editUrl field is set to https://github.dev/Netflix/metaflow-docs/blob/master.
Docusaurus uses this to generate the "Edit this page" link shown at the bottom
of every doc page. The github.dev domain opens GitHub's in-browser VS Code editor,
not the standard GitHub file view. Contributors who click "Edit this page" expecting
to fork and raise a PR are dropped into the web editor with no clear contribution path.
Current Code
docs: {
sidebarPath: require.resolve("./sidebars.js"),
editUrl: "https://github.dev/Netflix/metaflow-docs/blob/master", // wrong domain
routeBasePath: "/",
},Fixed Code
docs: {
sidebarPath: require.resolve("./sidebars.js"),
editUrl: "https://github.com/Netflix/metaflow-docs/blob/master", // correct domain
routeBasePath: "/",
},What Changes
| Behavior | |
|---|---|
| Before | "Edit this page" opens the github.dev browser editor — confusing for contributors trying to submit a PR |
| After | "Edit this page" opens the standard GitHub file view where the normal fork → edit → PR workflow works correctly |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels