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 |
File:
docusaurus.config.js— Line 40Description
The
editUrlfield is set tohttps://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.devdomain 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
Fixed Code
What Changes
github.devbrowser editor — confusing for contributors trying to submit a PR