Skip to content

Commit

Permalink
Merge pull request #601 from samjwu/version-update
Browse files Browse the repository at this point in the history
Latest version update for ROCm header
  • Loading branch information
samjwu authored Jan 12, 2024
2 parents 904f4d3 + a729d02 commit 50880d2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/rocm_docs/projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,11 +332,11 @@ def _update_theme_configs(
"""Update configurations for use in theme.py"""
latest_version = requests.get(
"https://raw.githubusercontent.com/RadeonOpenCompute/rocm-docs-core/header-versions/latest_version.txt"
).text
).text.strip("\r\n")
latest_version_string = f"docs-{latest_version}"
release_candidate = requests.get(
"https://raw.githubusercontent.com/RadeonOpenCompute/rocm-docs-core/header-versions/release_candidate.txt"
).text
).text.strip("\r\n")
release_candidate_string = f"docs-{release_candidate}"

development_branch = _Project.default_value("development_branch")
Expand Down
2 changes: 1 addition & 1 deletion src/rocm_docs/rocm_docs_theme/theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ flavor = rocm

link_main_doc = True

header_latest_version = 6.0.0
header_latest_version = 6.0.1
header_release_candidate_version = 6.1.0
4 changes: 2 additions & 2 deletions src/rocm_docs/theme.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ 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
).text.strip("\r\n")
header_release_candidate_version = requests.get(
"https://raw.githubusercontent.com/RadeonOpenCompute/rocm-docs-core/header-versions/release_candidate.txt"
).text
).text.strip("\r\n")

default_config_opts = {
"html_show_sphinx": False,
Expand Down

0 comments on commit 50880d2

Please sign in to comment.