Links in "pre-release" page headers don't go to specific page

Open
#2,007 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript

Research direction

Start with resources/web/docs_js/index.js at the linked code around line 213 and reproduce the pre-release header behavior in Safari or Firefox. Trace how the link is rewritten, then verify that it reaches the corresponding page in the current-version book rather than the book home page in both browsers.

Written by the indexing model from the issue text.

Description

bug docs-build

Page header with link to current documentation, by default, goes to the home page of the book.

image

However, there is some JS code that rewrites this link to go to the same page in the current version book. This doesn't seem to be working in Safari or Firefox right now.

Dominant language
Ruby
Stars
265
Forks
347
Avg merge
3d 15h
Merged PRs (30d)
2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from elastic/docs

All issues in elastic/docs

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.