mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-02 17:59:36 +07:00
Merge pull request #13646 from nextcloud/jtr/chore/admin-canonical-link
feat: Add Canonical Link Relation to `stable` branch to all manuals
This commit is contained in:
@@ -56,6 +56,12 @@ html_short_title = "Server Admin Manual"
|
||||
# disable "Created using Sphinx" in the HTML footer (default is True)
|
||||
html_show_sphinx = False
|
||||
|
||||
# Add canonical link in all generated pages linking to their respective equivalent
|
||||
# in `stable` (regardless of which version of the docs someone lands in).
|
||||
# Note, there is an argument to be made for having this link to `latest` instead,
|
||||
# but this is likely good enough and the most conservative for now.
|
||||
html_baseurl = "https://docs.nextcloud.com/server/stable/admin_manual/"
|
||||
|
||||
# -- Options for HTML help output --------------------------------------------
|
||||
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-help-output
|
||||
|
||||
|
||||
@@ -63,6 +63,12 @@ html_short_title = "Developer Manual"
|
||||
# disable "Created using Sphinx" in the HTML footer (default is True)
|
||||
html_show_sphinx = False
|
||||
|
||||
# Add canonical link in all generated pages linking to their respective equivalent
|
||||
# in `stable` (regardless of which version of the docs someone lands in).
|
||||
# Note, there is an argument to be made for having this link to `latest` instead,
|
||||
# but this is likely good enough and the most conservative for now.
|
||||
html_baseurl = "https://docs.nextcloud.com/server/stable/developer_manual/"
|
||||
|
||||
html_last_updated_fmt = "%b %d, %Y"
|
||||
|
||||
# -- Options for HTML help output --------------------------------------------
|
||||
|
||||
@@ -67,6 +67,13 @@ html_static_path = ['../_shared_assets/static']
|
||||
html_short_title = "User Manual"
|
||||
# disable "Created using Sphinx" in the HTML footer (default is True)
|
||||
html_show_sphinx = False
|
||||
|
||||
# Add canonical link in all generated pages linking to their respective equivalent
|
||||
# in `stable` (regardless of which version of the docs someone lands in).
|
||||
# Note, there is an argument to be made for having this link to `latest` instead,
|
||||
# but this is likely good enough and the most conservative for now.
|
||||
html_baseurl = "https://docs.nextcloud.com/server/stable/user_manual/"
|
||||
|
||||
# disable including the reST sources in the HTML build as _sources/name (default is True)
|
||||
html_copy_source = False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user