mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
-Change: set the 'canonical_url' theme option to enable rendering of canonical urls, promoting the 'latest' docs to search engines. (#49190)
This commit is contained in:
parent
3b705efc93
commit
59e7a9442e
1 changed files with 4 additions and 0 deletions
|
@ -127,6 +127,10 @@ html_theme_path = ['../_themes']
|
|||
html_theme = 'sphinx_rtd_theme'
|
||||
html_short_title = 'Ansible Documentation'
|
||||
|
||||
html_theme_options = {
|
||||
'canonical_url': "https://docs.ansible.com/ansible/latest/",
|
||||
}
|
||||
|
||||
# The style sheet to use for HTML and HTML Help pages. A file of that name
|
||||
# must exist either in Sphinx' static/ path, or in one of the custom paths
|
||||
# given in html_static_path.
|
||||
|
|
Loading…
Reference in a new issue