add reredirect extension

add redirection for openmp documentation
This commit is contained in:
Bence Parajdi
2024-03-20 14:26:57 +01:00
parent cac5df504c
commit e7865ebe89
3 changed files with 10 additions and 10 deletions

View File

@@ -91,7 +91,7 @@ exclude_patterns = ['temp']
external_toc_path = "./sphinx/_toc.yml"
extensions = ["rocm_docs"]
extensions = ["rocm_docs", "sphinx_reredirects"]
external_projects_current_project = "rocm"
@@ -103,3 +103,7 @@ html_title = "ROCm Documentation"
html_theme_options = {
"link_main_doc": False
}
redirects = {
"reference/openmp/openmp": "../../about/compatibility/openmp.html"
}