Skip to content

Commit

Permalink
refactor: Rename list theme to rocm-api-tools-list
Browse files Browse the repository at this point in the history
  • Loading branch information
samjwu committed Nov 28, 2023
1 parent 621b66d commit 161fe06
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/rocm_docs/data/projects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ projects:
development_branch: amd-master
rocm: https://rocm.docs.amd.com/en/${version}
rocm-docs-core: https://rocm.docs.amd.com/projects/rocm-docs-core/en/${version}
rocm-api-tools-list: https://rocm.docs.amd.com/en/${version}/reference/library-index.html
rocm_smi_lib:
target: https://rocm.docs.amd.com/projects/rocm_smi_lib/en/${version}
development_branch: master
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{%
set main_doc_link = ("ROCm API & tools list", projects['rocm-api-tools-list'])
%}
2 changes: 1 addition & 1 deletion src/rocm_docs/theme.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def _update_theme_options(app: Sphinx) -> None:
theme_opts = get_theme_options_dict(app)
_update_repo_opts(app.srcdir, theme_opts)

supported_flavors = ["rocm", "local", "list"]
supported_flavors = ["rocm", "local", "rocm-api-tools-list"]
flavor = theme_opts.get("flavor", "rocm")
if flavor not in supported_flavors:
logger.error(
Expand Down

0 comments on commit 161fe06

Please sign in to comment.