Now that we have versions.yml we should ensure our other configurations are driven by it.
- Can we encode this list in
versions.yml or a new products.yml ?
- Ensure each product is attached to a single versioning system?
products:
elasicsearch:
display: 'Elasticsearch'
version_scheme: 'stack'
versioning_systems:
stack: &stack
base: 9.0
current: 9.1.0
We can then also expose display as a variable e.g {{ product.elasticsearch }} or maybe even {{ .elasticsearch }} as special syntax?
Ensure each mapping maps to a versioning scheme that way we can:
-
Automatically inject the base Major.Minor+ (or Major.x+) in the version dropdown based on the base of the versioning scheme.
-
display the latest version of the page.
We either display:
- the listed
products and their latest version
- the latest version according to the legacy_mapping versioning scheme.