Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/rocm_docs/data/projects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ projects:
hipcc:
target: https://rocm.docs.amd.com/projects/HIPCC/en/${version}
development_branch: amd-staging
hipcim: https://rocm.docs.amd.com/projects/hipcim/en/${version}
hipcub: https://rocm.docs.amd.com/projects/hipCUB/en/${version}
hipdf: https://rocm.docs.amd.com/projects/hipDF/en/${version}
hipfft: https://rocm.docs.amd.com/projects/hipFFT/en/${version}
Expand Down Expand Up @@ -84,6 +85,9 @@ projects:
rocm-ds-internal:
target: https://rocm.docs.amd.com/projects/rocm-ds-internal/en/${version}
development_branch: develop
rocm-ls-internal:
target: https://rocm.docs.amd.com/projects/rocm-ls-internal/en/${version}
development_branch: main
rocm-install-on-linux:
target: https://rocm.docs.amd.com/projects/install-on-linux/en/${version}
development_branch: develop
Expand Down
1 change: 1 addition & 0 deletions src/rocm_docs/rocm_docs_theme/flavors/rocm-ls/footer.jinja
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{% macro license_link() -%}{%- endmacro -%}
37 changes: 37 additions & 0 deletions src/rocm_docs/rocm_docs_theme/flavors/rocm-ls/header.jinja
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{% macro top_level_header(branch, latest_version, release_candidate_version) -%}
{% if branch in ["develop", "master", "main", "amd-master", "amd-staging"] %}
{% set version_name = "Future Release" %}
{% elif branch == "latest" %}
{% set version_name = "25.05" %}
{% else %}
{% set version_name = branch %}
{% endif %}
<a class="klavika-font hover-opacity" href="{{ projects['rocm-ls'] }}">ROCm Life Science {{ version_name }}</a>
{%- endmacro -%}

{% if theme_repository_url.endswith("-docs") %}
{% set repo_url = theme_repository_url|replace("-docs", "") %}
{% else %}
{% set repo_url = theme_repository_url %}
{% endif %}

{% set repo_url = repo_url|replace("http://", "https://") %}

{% macro version_list() -%}
{% if theme_version_list_link %}
<a class="header-all-versions" href="{{ theme_version_list_link }}">Version List</a>
{% endif %}
{%- endmacro -%}

{%
set nav_secondary_items = {
"GitHub": repo_url,
"Community": "https://github.com/ROCm/ROCm/discussions",
"Blogs": "https://rocm.blogs.amd.com/",
"ROCm&#8482; Docs": "https://rocm.docs.amd.com",
"ROCm Developer Hub": "https://www.amd.com/en/developer/resources/rocm-hub.html",
"Instinct&#8482; Docs": "https://instinct.docs.amd.com",
"Infinity Hub": "https://www.amd.com/en/developer/resources/infinity-hub.html",
"Support": repo_url + "/issues/new/choose"
}
%}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{%
set main_doc_link = ("ROCm Life Science", projects['rocm-ls'])
%}