From 864869abd5a57fb4e772708ae9272f8a9219f393 Mon Sep 17 00:00:00 2001 From: Ilya Grigoriev Date: Sun, 19 May 2024 18:17:05 -0700 Subject: [PATCH] docs: set canonical_version to latest Currently, https://www.google.com/search?q=jj+revsets has problematic results, one of the top links for me is https://martinvonz.github.io/jj/v0.14.0/github/ (we are currently on v0.17.1). I hope this will help them all point to `latest` instead. --- mkdocs.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mkdocs.yml b/mkdocs.yml index b07fed306..fbebd7a5d 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -39,6 +39,11 @@ validation: # IMPORTANT: any changes to plugins have to be duplicated in # `mkdocs-offline.yml`. See that file for more details. plugins: + - mike: + # Should help search engines point to latest docs + # instead of (often obsolete) v?.??.? docs. + # TODO: Arguably, this could be `prerelease` when building prerelease docs. + canonical_version: latest - include-markdown # For the CLI reference - search - redirects: