Add custom version history (#5551)

This commit is contained in:
peterjunpark
2025-10-20 18:11:38 -04:00
committed by GitHub
parent 70acbcb27a
commit c965b7e98e
3 changed files with 42 additions and 1 deletions

23
docs/about/versions.md Normal file
View File

@@ -0,0 +1,23 @@
<head>
<meta charset="UTF-8">
<meta name="description" content="ROCm preview release history">
<meta name="keywords" content="documentation, release history, ROCm, AMD">
</head>
# ROCm preview release history
| Version | Release date |
| ------- | ------------ |
| [7.9.0](https://rocm.docs.amd.com/en/docs-7.9.0/) | October 20, 2025 |
```{important}
ROCm 7.9.0 introduces a versioning discontinuity following
the previous 7.0 releases. Versions 7.0 through 7.8 are reserved for
production stream ROCm releases, while versions 7.9 and later represent the
technology preview release stream.
Maintaining parallel release streams allows users ample time to evaluate and
adopt the new build system and dependency changes. The technology preview
stream is planned to continue through mid2026, after which it will replace the
[current production stream](https://rocm.docs.amd.com/en/latest/).
```

View File

@@ -122,13 +122,15 @@ external_toc_path = "./sphinx/_toc.yml"
# Register Sphinx extensions and static assets
sys.path.append(str(DOCS_DIR / "extension"))
# html_static_path = ["sphinx/static/css", "extension/how-to/rocm-for-ai/inference"]
html_static_path = ["sphinx/static"]
# "sphinx/static/css", "extension/how-to/rocm-for-ai/inference"]
# html_css_files = [
# "rocm_custom.css",
# "rocm_rn.css",
# "dynamic_picker.css",
# "vllm-benchmark.css",
# ]
html_js_files = ["version-history-link.js"]
templates_path = ["extension/rocm_docs_custom/templates", "extension/templates"]
extensions = [

View File

@@ -0,0 +1,16 @@
function ready(callback) {
if (document.readyState !== "loading") {
callback();
return;
}
document.addEventListener("DOMContentLoaded", callback);
}
ready(() => {
const versionListLink = document.querySelector(
"a.header-all-versions[href='https://rocm.docs.amd.com/en/latest/release/versions.html']",
);
versionListLink.textContent = "Preview versions";
versionListLink.href =
"https://rocm.docs.amd.com/en/docs-7.9.0/about/versions.html";
});