diff --git a/docs/user/reference/sitemaps.rst b/docs/user/reference/sitemaps.rst index 49483613a92..85d9e50e8d3 100644 --- a/docs/user/reference/sitemaps.rst +++ b/docs/user/reference/sitemaps.rst @@ -28,8 +28,14 @@ sorted by `semantic versioning`_. Custom ``sitemap.xml`` ---------------------- -If you need a custom sitemap, -please let us know by contacting :doc:`/support`. +You can control the sitemap that is used via the ``robots.txt`` file. +Our :doc:`/reference/robots` allows you to host a custom version of this file. + +An example would look like:: + + User-agent: * + Allow: / + + Sitemap: https://docs.example.com/en/stable/sitemap.xml .. _semantic versioning: https://semver.org/ -.. _GitHub issue #5391: https://github.com/readthedocs/readthedocs.org/issues/5391