Skip to content

editUrl opens github.dev web editor instead of GitHub file view #184

@adity1raut

Description

@adity1raut

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions