From 1e353943a023fcea654b06f8a8adefb07ddad1fc Mon Sep 17 00:00:00 2001 From: Sam Wu Date: Tue, 5 Sep 2023 16:40:10 -0600 Subject: [PATCH 1/3] feat(theme.conf): update header version --- src/rocm_docs/projects.py | 4 ++-- src/rocm_docs/rocm_docs_theme/theme.conf | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/rocm_docs/projects.py b/src/rocm_docs/projects.py index 7632823f..79a6f5c7 100644 --- a/src/rocm_docs/projects.py +++ b/src/rocm_docs/projects.py @@ -295,9 +295,9 @@ def _update_theme_configs( app: Sphinx, current_project: Optional[_Project], current_branch: str ) -> None: """Update configurations for use in theme.py""" - latest_version = "5.6.1" + latest_version = "5.7" latest_version_string = f"docs-{latest_version}" - release_candidate = "5.7" + release_candidate = "5.8" release_candidate_string = f"docs-{release_candidate}" development_branch = _Project.default_value("development_branch") diff --git a/src/rocm_docs/rocm_docs_theme/theme.conf b/src/rocm_docs/rocm_docs_theme/theme.conf index a5ef5fe2..11a8950e 100644 --- a/src/rocm_docs/rocm_docs_theme/theme.conf +++ b/src/rocm_docs/rocm_docs_theme/theme.conf @@ -10,5 +10,5 @@ flavor = rocm link_main_doc = True -header_latest_version = 5.6.1 -header_release_candidate = 5.7 +header_latest_version = 5.7 +header_release_candidate = 5.8 From de84f5db304b27fd4415df39ad80df4f25c33c10 Mon Sep 17 00:00:00 2001 From: Sam Wu Date: Wed, 6 Sep 2023 14:06:07 -0600 Subject: [PATCH 2/3] docs: add common 404 to gitignore --- docs/.gitignore | 2 ++ src/rocm_docs/projects.py | 2 +- src/rocm_docs/rocm_docs_theme/theme.conf | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/.gitignore b/docs/.gitignore index 68d91289..be0c0e78 100644 --- a/docs/.gitignore +++ b/docs/.gitignore @@ -1,2 +1,4 @@ /_build /_doxygen +404.md +data/AMD-404.png diff --git a/src/rocm_docs/projects.py b/src/rocm_docs/projects.py index 79a6f5c7..8a9bd92f 100644 --- a/src/rocm_docs/projects.py +++ b/src/rocm_docs/projects.py @@ -297,7 +297,7 @@ def _update_theme_configs( """Update configurations for use in theme.py""" latest_version = "5.7" latest_version_string = f"docs-{latest_version}" - release_candidate = "5.8" + release_candidate = "6.0" release_candidate_string = f"docs-{release_candidate}" development_branch = _Project.default_value("development_branch") diff --git a/src/rocm_docs/rocm_docs_theme/theme.conf b/src/rocm_docs/rocm_docs_theme/theme.conf index 11a8950e..82a124c2 100644 --- a/src/rocm_docs/rocm_docs_theme/theme.conf +++ b/src/rocm_docs/rocm_docs_theme/theme.conf @@ -11,4 +11,4 @@ flavor = rocm link_main_doc = True header_latest_version = 5.7 -header_release_candidate = 5.8 +header_release_candidate = 6.0 From cb9a8ae354e10a6b91939fa77a589504885b2579 Mon Sep 17 00:00:00 2001 From: Sam Wu Date: Wed, 6 Sep 2023 14:27:00 -0600 Subject: [PATCH 3/3] docs: use full major minor patch versions in version number for header --- src/rocm_docs/projects.py | 4 ++-- src/rocm_docs/rocm_docs_theme/theme.conf | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/rocm_docs/projects.py b/src/rocm_docs/projects.py index 8a9bd92f..f658394e 100644 --- a/src/rocm_docs/projects.py +++ b/src/rocm_docs/projects.py @@ -295,9 +295,9 @@ def _update_theme_configs( app: Sphinx, current_project: Optional[_Project], current_branch: str ) -> None: """Update configurations for use in theme.py""" - latest_version = "5.7" + latest_version = "5.7.0" latest_version_string = f"docs-{latest_version}" - release_candidate = "6.0" + release_candidate = "6.0.0" release_candidate_string = f"docs-{release_candidate}" development_branch = _Project.default_value("development_branch") diff --git a/src/rocm_docs/rocm_docs_theme/theme.conf b/src/rocm_docs/rocm_docs_theme/theme.conf index 82a124c2..ea4be153 100644 --- a/src/rocm_docs/rocm_docs_theme/theme.conf +++ b/src/rocm_docs/rocm_docs_theme/theme.conf @@ -10,5 +10,5 @@ flavor = rocm link_main_doc = True -header_latest_version = 5.7 -header_release_candidate = 6.0 +header_latest_version = 5.7.0 +header_release_candidate = 6.0.0