Add link rel=canonical tag to docs
Change-Id: I11f165f59c099f3ab4a2fe4fcd0cb421cfd43285
This commit is contained in:
parent
486595438b
commit
7aea6bcc87
|
@ -71,6 +71,8 @@ pygments_style = 'sphinx'
|
|||
# The theme to use for HTML and HTML Help pages. Major themes that come with
|
||||
# Sphinx are currently 'default' and 'sphinxdoc'.
|
||||
html_theme = "sphinx_rtd_theme"
|
||||
# This adds a <link rel=canonical> tag
|
||||
html_baseurl = f'https://zuul-ci.org{doc_root}/latest'
|
||||
|
||||
if version.is_release:
|
||||
version = version.release_string
|
||||
|
|
Loading…
Reference in New Issue