Skip to content

"Edit this page" not redirecting correctly on local build #310

@thekofimensah

Description

@thekofimensah

Describe the bug

When on a page and you'd like to edit directly, the "Edit this page" button redirects to github but with a 404.

This only happens when I try to deploy locally, not using the pre-built version.

Expected behavior

It should redirect to the correct git page and allow editing

Steps to reproduce

Go to http://localhost:3000/search-your-data.html

Redirect points to

https://github.com/elastic/unavailable/edit/elasticsearch.md/docs/search-your-data.md

Edit this page

However in the https://bookish-dollop-9p66716.pages.github.io/search-your-data.html

The redirect points to Edit this page

Tooling

  • docs-builder
  • migration tooling
  • I'm not sure

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions