-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{% macro license_link() -%}{%- endmacro -%} |
29 changes: 29 additions & 0 deletions
29
src/rocm_docs/rocm_docs_theme/flavors/instinct/header.jinja
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{% 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 = latest_version %} | ||
{% else %} | ||
{% set version_name = branch %} | ||
{% endif %} | ||
<a class="klavika-font hover-opacity" href="{{ projects['rocm'] }}">Instinct™ Hub</a> | ||
{%- endmacro -%} | ||
|
||
|
||
{% 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 = theme_nav_secondary_items if theme_nav_secondary_items else { | ||
"GitHub": theme_repository_url if theme_repository_url else "#", | ||
"Community": "https://github.com/ROCm/ROCm/discussions", | ||
"Blogs": "https://rocm.blogs.amd.com/", | ||
"ROCm™ docs": "https://rocm.docs.amd.com", | ||
"Support": (theme_repository_url + "/issues/new/choose") if theme_repository_url else "#" | ||
} | ||
%} |
3 changes: 3 additions & 0 deletions
3
src/rocm_docs/rocm_docs_theme/flavors/instinct/left-side-menu.jinja
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{% | ||
set main_doc_link = ("Instinct Hub", projects['instinct']) | ||
%} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters