Skip to content

Add version selector in HTML site. #99

@PhilippSalvisberg

Description

@PhilippSalvisberg

The recent versions of mike supports the material theme. See also this discussion: squidfunk/mkdocs-material#770 (comment) . We use the latest version in the current docker image v2.2. So technically this should work now with some configuration changes (to be tested).

Currently mike is used to deploy different versions in dedicated directories in the gh-pages branch only. The theme is left as is. In a static index.html a redirect is defined to the most recent version. The user may guess based on the URL how to access other versions. However, it would be nice to have a version selector (where currently the version number is displayed). User-friendlier.

Example sites using a version selector (other themes):

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions