From f8aa73140806873e30637218d7d031fb02f0d07f Mon Sep 17 00:00:00 2001 From: Sam Wu Date: Wed, 22 Nov 2023 09:10:35 -0700 Subject: [PATCH] feat: Add all versions link to header --- src/rocm_docs/rocm_docs_theme/sections/header.html | 2 +- src/rocm_docs/rocm_docs_theme/static/rocm_header.css | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/rocm_docs/rocm_docs_theme/sections/header.html b/src/rocm_docs/rocm_docs_theme/sections/header.html index 50514424..6b85a8fa 100644 --- a/src/rocm_docs/rocm_docs_theme/sections/header.html +++ b/src/rocm_docs/rocm_docs_theme/sections/header.html @@ -20,9 +20,9 @@
{{ top_level_header(theme_repository_branch | replace("docs-", ""), theme_header_latest_version, theme_header_release_candidate) }} + Version List
-
diff --git a/src/rocm_docs/rocm_docs_theme/static/rocm_header.css b/src/rocm_docs/rocm_docs_theme/static/rocm_header.css index 907d4e85..33ad5ce4 100644 --- a/src/rocm_docs/rocm_docs_theme/static/rocm_header.css +++ b/src/rocm_docs/rocm_docs_theme/static/rocm_header.css @@ -929,3 +929,9 @@ header.common-header width: 60%; } } + +.header-all-versions { + position: absolute; + margin-left: 90%; + margin-right: 10%; +}