facebook / fbt

A JavaScript Internationalization Framework
https://facebook.github.io/fbt
MIT License
3.88k stars 178 forks source link

Docs links broken on first open #414

Open anatolykopyl opened 4 months ago

anatolykopyl commented 4 months ago

🐛 Bug Report

When navigating directly to a page, the links to other documentation pages are leading to broken urls.

To Reproduce

Steps to reproduce the behavior:

  1. Open a new browser tab
  2. Go to https://facebook.github.io/fbt/docs/api_intro

The first link on the page (Optional attributes -> subject -> implicit subject) leads to the page https://facebook.github.io/fbt/docs/api_intro/implicit_params

Expected behavior

The first link on the page (Optional attributes -> subject -> implicit subject) leads to the page https://facebook.github.io/fbt/docs/implicit_params

Reproduction

For some reason building the docs locally and serving it does not show this bug. It only appears on the production version of the docs.