Skip to content

Commit

Permalink
style(theme.py): Format file with black
Browse files Browse the repository at this point in the history
  • Loading branch information
samjwu committed Nov 17, 2023
1 parent ac808a9 commit 15a3035
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/rocm_docs/theme.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def _update_theme_options(app: Sphinx) -> None:
header_latest_version = requests.get(
"https://raw.githubusercontent.com/RadeonOpenCompute/rocm-docs-core/header-versions/latest_version.txt"
).text
header_release_candidate = requests.get(
header_release_candidate_version = requests.get(
"https://raw.githubusercontent.com/RadeonOpenCompute/rocm-docs-core/header-versions/release_candidate.txt"
).text

Expand All @@ -102,10 +102,9 @@ def _update_theme_options(app: Sphinx) -> None:
"html_favicon": "https://www.amd.com/themes/custom/amd/favicon.ico",
"notfound_context": {"title": "404 - Page Not Found"},
"notfound_template": "404.html",
"html_context":
{
"html_context": {
"header_latest_version": header_latest_version,
"header_release_candidate": header_release_candidate,
"header_release_candidate_version": header_release_candidate_version,
},
}
for key, default in default_config_opts.items():
Expand Down

0 comments on commit 15a3035

Please sign in to comment.