apache / apisix-website

Apache APISIX Website
https://apisix.apache.org/
Apache License 2.0
127 stars 179 forks source link

The version selector dropdown isn't in order by number #636

Closed juzhiyuan closed 2 years ago

juzhiyuan commented 3 years ago

Actual Behaviour

Hi, we noticed that the version selector dropdown is not in order by number.

Expected Behaviour

We expect that it should be next/2.10.0/2.9.0/2.8.0/xxx, but it's next/2.9.0/2.8.0/2.x.0/2.10

Steps to reproduce it

see https://apisix.apache.org/docs/apisix/architecture-design/apisix

Screenshots of the issue

image

juzhiyuan commented 3 years ago

cc @guoqqqi to take a look, you could ask help from @bzp2010 or @slorber if needed :)

juzhiyuan commented 3 years ago

I see both V1 and V2 Docusarus version selector are correct

guoqqqi commented 3 years ago

OK, let's see