Skip to content

Commit

Permalink
fix(theme.py): Add list flavor to list of supported flavors
Browse files Browse the repository at this point in the history
  • Loading branch information
samjwu committed Nov 24, 2023
1 parent 28d1482 commit 621b66d
Showing 1 changed file with 1 addition and 1 deletion.
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"]
supported_flavors = ["rocm", "local", "list"]
flavor = theme_opts.get("flavor", "rocm")
if flavor not in supported_flavors:
logger.error(
Expand Down

0 comments on commit 621b66d

Please sign in to comment.