Skip to content

Commit

Permalink
fix: add "generic" to supported_flavors list
Browse files Browse the repository at this point in the history
  • Loading branch information
AMD-melliott committed Nov 27, 2024
1 parent 7ee05b6 commit 8a98622
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 8a98622

Please sign in to comment.