docs: use mike for versioned k3d.io

This commit is contained in:
iwilltry42 2021-09-02 10:25:27 +02:00
parent bcc1d60db9
commit 2032c26e29
No known key found for this signature in database
GPG Key ID: 7BA57AD1CFF16110
2 changed files with 8 additions and 2 deletions

View File

@ -4,4 +4,5 @@ pymdown-extensions
mkdocs-git-revision-date-localized-plugin mkdocs-git-revision-date-localized-plugin
mkdocs-awesome-pages-plugin mkdocs-awesome-pages-plugin
mdx_truly_sane_lists mdx_truly_sane_lists
mkdocs-include-markdown-plugin # https://github.com/mondeja/mkdocs-include-markdown-plugin mkdocs-include-markdown-plugin # https://github.com/mondeja/mkdocs-include-markdown-plugin
mike # versioned docs: https://github.com/jimporter/mike

View File

@ -71,6 +71,11 @@ plugins:
type: date type: date
- awesome-pages # https://squidfunk.github.io/mkdocs-material/plugins/awesome-pages/ - awesome-pages # https://squidfunk.github.io/mkdocs-material/plugins/awesome-pages/
- include-markdown # https://github.com/mondeja/mkdocs-include-markdown-plugin - include-markdown # https://github.com/mondeja/mkdocs-include-markdown-plugin
- mike: # Versioned Docs: https://github.com/jimporter/mike
version_selector: true # set to false to leave out the version selector
css_dir: static/css # the directory to put the version selector's CSS
javascript_dir: static/js # the directory to put the version selector's JS
canonical_version: null # the version for <link rel="canonical">; `null` uses the version specified via `mike deploy`
# Other Settings # Other Settings
strict: true # halt processing when a warning is raised strict: true # halt processing when a warning is raised