Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 of 3 tasks
thekofimensah opened this issue Jan 22, 2025 · 0 comments
Open
1 of 3 tasks

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

thekofimensah opened this issue Jan 22, 2025 · 0 comments
Labels

Comments

@thekofimensah
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant