Skip to content

Commit

Permalink
Merge pull request #1042 from AMD-melliott/generic-theme-fix
Browse files Browse the repository at this point in the history
fix: add "generic" to supported_flavors list
  • Loading branch information
samjwu authored Nov 28, 2024
2 parents 7ee05b6 + 8a98622 commit 494ebfb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/rocm_docs/theme.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,13 @@ def _update_theme_options(app: Sphinx) -> None:
theme_opts = get_theme_options_dict(app)
_update_repo_opts(str(app.srcdir), theme_opts)

supported_flavors = ["rocm", "local", "rocm-docs-home", "rocm-blogs"]
supported_flavors = [
"rocm",
"local",
"rocm-docs-home",
"rocm-blogs",
"generic",
]
flavor = theme_opts.get("flavor", "rocm")
if flavor not in supported_flavors:
logger.error(
Expand Down

0 comments on commit 494ebfb

Please sign in to comment.