Skip to content

Commit

Permalink
Merge pull request #533 from samjwu/versions
Browse files Browse the repository at this point in the history
feat: Add all versions link to header
  • Loading branch information
saadrahim committed Nov 22, 2023
2 parents 66f5b0c + f8aa731 commit 7515eb2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/rocm_docs/rocm_docs_theme/sections/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
</a>
<div class="vr vr mx-40 my-25"></div>
{{ top_level_header(theme_repository_branch | replace("docs-", ""), theme_header_latest_version, theme_header_release_candidate) }}
<a class="header-all-versions" href="https://rocm.docs.amd.com/en/latest/release/versions.html">Version List</a>
</div>
<div class="icon-nav text-center d-flex ms-auto">
<!-- TODO: Search icon up here maybe? -->
</div>
</div>
</nav>
Expand Down
6 changes: 6 additions & 0 deletions src/rocm_docs/rocm_docs_theme/static/rocm_header.css
Original file line number Diff line number Diff line change
Expand Up @@ -929,3 +929,9 @@ header.common-header
width: 60%;
}
}

.header-all-versions {
position: absolute;
margin-left: 90%;
margin-right: 10%;
}

0 comments on commit 7515eb2

Please sign in to comment.