dlang.org icon indicating copy to clipboard operation
dlang.org copied to clipboard

[spec] Version dropdown on spec page

Open dlangBugzillaToGithub opened this issue 7 years ago • 3 comments

johanengelen reported this on 2018-06-02T12:08:03Z

Transferred from https://issues.dlang.org/show_bug.cgi?id=18935

CC List

  • berni44 (@WalterBright)
  • kinke
  • Nick Treleaven (@ntrel)

Description

The spec page has a version dropdown box to choose which version of the spec to view. The URL is changed correctly, but the dropdown box always shows "master" instead of showing the current version.

Link: https://docarchives.dlang.io/v2.080.0/spec/garbage.html

1. Show current version, instead of master
2. Provide a way to switch to _newer_ versions. (cannot switch to master, for example)

dlangBugzillaToGithub avatar Jun 02 '18 12:06 dlangBugzillaToGithub

bugzilla (@WalterBright) commented on 2019-12-24T12:37:13Z

Here, it only shows that dropdown box when "master" is displayed, which is 2.079 instead of (currently) 2.091. Seems to be completely outdated. Is docarchievs still maintained?

dlangBugzillaToGithub avatar Dec 24 '19 12:12 dlangBugzillaToGithub

kinke commented on 2020-09-23T23:53:41Z

Still showing master (well, it's actually cut off, so more like `maste`) even when selecting another version.

As to versions, the last shown one as of now is v2.081, while we're at 2.093.

Additionally, clicking on the down-arrow doesn't open the dropdown, the label has to be clicked instead.

dlangBugzillaToGithub avatar Sep 23 '20 23:09 dlangBugzillaToGithub

nick (@ntrel) commented on 2023-03-24T12:38:08Z

> clicking on the down-arrow doesn't open the dropdown

Fixed just that:
https://github.com/dlang/dlang.org/pull/3569

dlangBugzillaToGithub avatar Mar 24 '23 12:03 dlangBugzillaToGithub