Test Sphinx Sitemap (#162)

* Use sphinx-sitemap

* Update baseurl for sphinx-sitemap

* Regenerate doc reqs
This commit is contained in:
Sam Wu
2024-11-08 15:46:04 -07:00
committed by GitHub
parent b7ecf6d552
commit c9754cb9d8
3 changed files with 28 additions and 24 deletions

View File

@@ -95,11 +95,11 @@ article_pages = [
external_toc_path = "./sphinx/_toc.yml"
extensions = ["rocm_docs", "sphinx_reredirects"]
extensions = ["rocm_docs", "sphinx_reredirects", "sphinx_sitemap"]
external_projects_current_project = "rocm"
html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "rocm-stg.amd.com")
html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "https://rocm-stg.amd.com/")
html_context = {}
if os.environ.get("READTHEDOCS", "") == "True":
html_context["READTHEDOCS"] = True