silverstripe / api.silverstripe.org

API documentation for the Silverstripe Framework
BSD 3-Clause "New" or "Revised" License
3 stars 14 forks source link

Swapping version numbers doesn't keep you at the API you're looking at #106

Open GuySartorelli opened 1 year ago

GuySartorelli commented 1 year ago

When you're looking at some API, and then swap versions, it kicks you back up to the namespaces page instead of showing you the new version of the API you were looking at.

e.g.

  1. go to https://api.silverstripe.org/4/SilverStripe/CMS/Model/SiteTree.html
  2. swap to "5.x"
  3. You should be taken to https://api.silverstripe.org/5/SilverStripe/CMS/Model/SiteTree.html but instead you're taken to https://api.silverstripe.org/5/index.html

PRs

andrewandante commented 1 year ago

Attempted via PR to Doctum: https://github.com/code-lts/doctum/pull/60 - though notably this is a pure JS implementation, whereas we are using jQuery, though I think that's covered in #108