elastic / elastic/docs

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

Open
#2,007 0 comments 0 reactions 0 assignees View on GitHub
bug docs-build
Dominant language
Ruby
Stars
265
Forks
347
Avg merge
3d 15h
Merged PRs (30d)
2

Description

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

![image](https://user-images.githubusercontent.com/1045796/99428695-fac00c80-28d4-11eb-9ea0-ce7d896371e2.png)

However, there is [some JS code](https://github.com/elastic/docs/blob/41f693be28b1b1ad16d7a69a0117c4651701a1b1/resources/web/docs_js/index.js#L213) 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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.