Page MenuHomeElementl

Sort docs versions by latest
ClosedPublic

Authored by rexledesma on Mar 31 2021, 9:46 PM.

Details

Summary

The current docs site sorts versions by (master, 0.11.0, ..., 0.11.2, legacy).

The order should by latest release first, so we change the version order to
(master, 0.11.2, ..., 0.11.0, legacy)

Test Plan

make dev

Diff Detail

Repository
R1 dagster
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

yuhan added inline comments.
docs/next/util/useVersion.ts
43

iiuc, this assumes ALL_VERSIONS to start with master and the following versions are already sorted by oldest to latest.

maybe worth commenting the assumption here.

This revision is now accepted and ready to land.Mar 31 2021, 9:59 PM
This revision was landed with ongoing or failed builds.Mar 31 2021, 10:10 PM
This revision was automatically updated to reflect the committed changes.