doc: add v2.7 docs to version menu

Also cleaned out older versions from list, keeping v1.0,
v1.6.1, v2.0, v2.5, and v2.6.

The documentation for previous releases is still available (by editing
the URL to mention that release (e.g., /2.1/ ).

Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
This commit is contained in:
David B. Kinder 2021-12-16 09:42:51 -08:00 committed by David Kinder
parent 88f8ab0a45
commit 7f6f27be00
1 changed files with 1 additions and 7 deletions

View File

@ -192,17 +192,11 @@ html_context = {
'docs_title': docs_title,
'is_release': is_release,
'versions': ( ("latest", "/latest/"),
("2.7", "/2.7/"),
("2.6", "/2.6/"),
("2.5", "/2.5/"),
("2.4", "/2.4/"),
("2.3", "/2.3/"),
("2.2", "/2.2/"),
("2.1", "/2.1/"),
("2.0", "/2.0/"),
("1.6.1", "/1.6.1/"),
("1.6", "/1.6/"),
("1.5", "/1.5/"),
("1.4", "/1.4/"),
("1.0", "/1.0/"), # keep 1.0
)
}