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/ ).
@@ -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
)
}
