[Bug report] Versions dropdown in published docs sorted incorrectly

When publishing multiple versions of a spec, the latest version is not sorted at the top of the version dropdown:

Additionally, the urls are not built correctly:

  • the top version in the dropdown has no path prefix (in my case version 2.7 has url “/…”)
  • the latest version has a path prefix (in my case version 3.1 has url “/3.1/…”)

Wouldn’t it be much easier to always assign a path prefix to versions (and not implement the root version, or make it a redirect to the latest version)?

@thomas.degroof I believe this is a bug. Can you send an email to support@stoplight.io referencing this thread and the project this is occurring in? We should be able to fix this from the backend.

@ross email sent, thanks for the reply!