We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c76e363 commit f45f9b8Copy full SHA for f45f9b8
docs/guides/canonical.rst
@@ -31,6 +31,16 @@ Check your :guilabel:`Admin` > :guilabel:`Domains` page for the domains that we
31
Implementation
32
--------------
33
34
+If you are using :doc:`Sphinx </intro/getting-started-with-sphinx>`,
35
+Read the Docs will set the value of the html_baseurl_ setting (if isn't already set) to your canonical domain.
36
+
37
+.. _html_baseurl: https://www.sphinx-doc.org/page/usage/configuration.html#confval-html_baseurl
38
39
+If you are using :doc:`MkDocs </intro/getting-started-with-mkdocs>`,
40
+you can use the site_url_ setting.
41
42
+.. _site_url: https://www.mkdocs.org/user-guide/configuration/#site_url
43
44
If you look at the source code for documentation built after you set your canonical URL,
45
you should see a bit of HTML like this:
46
0 commit comments