bloomberg/stricli

Broken links after refreshing the documentation page

haoqunjiang opened this issue · 1 comments

Describe the bug

After refreshing the "Overview" page on the documentation website, the links to "Alternatives" became 404.

To Reproduce

  1. Go to https://bloomberg.github.io/stricli/docs/getting-started/overview
  2. Refresh the page
  3. Click the link in the sentence "Check out the alternatives considered for a concrete breakdown."
  4. See error

Expected behavior
The link shouldn't error after refreshing.

Screenshots
Before refreshing:
image

After refreshing
image

Note the URLs changed in both the address bar and the in-page hyperlink.

Environment (please complete the following information):

  • Operating System and Version: macOS 14.7 (23H124)
  • Browser [e.g. Firefox, Safari] (if applicable): Arc Version 1.63.0 (54427), Chromium Engine Version 129.0.6668.90

Additional context

I'll send a PR soon.

Refreshing no longer adds a trailing slash to the URL (causing the links to become broken). Manually navigating to the URL with a trailing slash results in a page with broken links but I think that's just a consequence of docusaurus + github pages.