Dynamic archives page
The /archives
page contains all the current and past versions which you can browse and download respectively.
We need a new archives layout page which will work like:
-
Have all versions defined in a yaml file ( content/_data/versions.yml
) -
Parse online
versions and list them under the## Online versions
heading -
Parse offline
versions and list them under the## Offline versions
heading
The data/versions.yml
will look like:
latest: 10.6
online:
- edge # master branches
- 10.6
- 10.5
offline:
- 10.4
- 10.3
- 10.2
The same yaml file will be used by the versions dropdown https://gitlab.com/gitlab-com/gitlab-docs/issues/180
Edited by Achilleas Pipinellis