From e8fc341345da3d7843924efaf05ceb22362bfc3e Mon Sep 17 00:00:00 2001 From: Peter Park Date: Fri, 2 Aug 2024 17:14:58 -0400 Subject: [PATCH] Docs housekeeping post-6.2.0 (#394) * remove leftover css Signed-off-by: Peter Jun Park * fix link to panel_config_template.yaml Signed-off-by: Peter Jun Park * add note in archived docs pointing to latest Signed-off-by: Peter Jun Park rm repetition --------- Signed-off-by: Peter Jun Park --- docs/archive/docs-1.x/index.md | 5 +++++ docs/archive/docs-2.x/index.md | 5 +++++ docs/how-to/analyze/cli.rst | 2 +- docs/sphinx/static/css/o_custom.css | 22 ---------------------- 4 files changed, 11 insertions(+), 23 deletions(-) diff --git a/docs/archive/docs-1.x/index.md b/docs/archive/docs-1.x/index.md index f3569389ed..0a8231be64 100644 --- a/docs/archive/docs-1.x/index.md +++ b/docs/archive/docs-1.x/index.md @@ -1,5 +1,10 @@ # Welcome to the [Omniperf](https://github.com/ROCm/omniperf) Documentation! +```{warning} +This version of the documentation is archived and contains out-of-date information. +See [Omniperf documentation](https://rocm.docs.amd.com/projects/omniperf/en/latest/index.html) for the latest version. +``` + ```eval_rst .. toctree:: :glob: diff --git a/docs/archive/docs-2.x/index.md b/docs/archive/docs-2.x/index.md index 3b375be0b5..bd01b87354 100644 --- a/docs/archive/docs-2.x/index.md +++ b/docs/archive/docs-2.x/index.md @@ -1,5 +1,10 @@ # Welcome to the [Omniperf](https://github.com/ROCm/omniperf) Documentation! +```{warning} +This version of the documentation is archived and contains out-of-date information. +See [Omniperf documentation](https://rocm.docs.amd.com/projects/omniperf/en/latest/index.html) for the latest version. +``` + ```eval_rst .. toctree:: :glob: diff --git a/docs/how-to/analyze/cli.rst b/docs/how-to/analyze/cli.rst index f76e3970fc..15faff8fc1 100644 --- a/docs/how-to/analyze/cli.rst +++ b/docs/how-to/analyze/cli.rst @@ -186,7 +186,7 @@ Walkthrough 3. Choose your own customized subset of metrics with the ``-b`` (or ``--block``) option. Or, build your own configuration following - `config_template `_. + `config_template `_. The following snippet shows how to generate a report containing only metric 2 (:doc:`System Speed-of-Light `). diff --git a/docs/sphinx/static/css/o_custom.css b/docs/sphinx/static/css/o_custom.css index a6cbe5718f..b4fe010b59 100644 --- a/docs/sphinx/static/css/o_custom.css +++ b/docs/sphinx/static/css/o_custom.css @@ -1,30 +1,8 @@ -:root { - --amd-teal-500: #00C2DE; - --amd-teal-750: #00788E; -} - /* Override PyData Sphinx Theme default colors */ html[data-theme='light'] { - --pst-color-primary: var(--amd-teal-750); - --pst-color-primary-bg: var(--amd-teal-500); --pst-color-table-row-hover-bg: #E2E8F0; } html[data-theme='dark'] { - --pst-color-primary: var(--amd-teal-500); - --pst-color-primary-bg: var(--amd-teal-750); --pst-color-table-row-hover-bg: #1E293B; } - -html[data-theme='light'], -html[data-theme='dark'] { - --pst-color-link: var(--pst-color-primary); -} - -a svg { - color: var(--pst-color-text-base); -} - -a svg:hover { - color: var(--pst-color-link-hover); -}