diff --git a/doc/README.rst b/doc/README.rst index b9b6d63f45a..0395fa2df5a 100644 --- a/doc/README.rst +++ b/doc/README.rst @@ -1,4 +1,4 @@ -.. orphan:: true +:orphan: ================== Odoo Documentation @@ -38,6 +38,10 @@ Sphinx Customizations Additional features ------------------- +* versions switcher, uses the ``canonical_root`` setting and an additional + ``versions`` setting which should be a space-separated list of available + versions. Appends the each version and page name to the root, and displays + a list of those links on the current page * canonical urls, requires a ``canonical_root`` setting value, and optionally a ``canonical_branch`` (default: ``master``) * :guilabel:`Edit on github` link in Sphinx pages if ``github_user`` and diff --git a/doc/_themes/odoodoc/layout.html b/doc/_themes/odoodoc/layout.html index efa9ff76b10..69f7dbff2e9 100644 --- a/doc/_themes/odoodoc/layout.html +++ b/doc/_themes/odoodoc/layout.html @@ -33,6 +33,16 @@