From 0384ee994e341b20c1a2bb3c0554d8693b37cdbf Mon Sep 17 00:00:00 2001 From: Greg Kaleka Date: Sat, 23 Nov 2024 09:56:46 -0500 Subject: [PATCH] Fix straggler links to old review process page (#1487) --- core/tests/content/leaf.html | 2 +- core/tests/test_renderer.py | 3 - kube/boost/templates/configmap-nginx.yaml | 6 +- stage_static_config.json | 4 - templates/docs_temp.html | 7 +- templates/includes/_header.html | 2 +- templates/includes/_header2.html | 442 ---------------------- 7 files changed, 7 insertions(+), 459 deletions(-) delete mode 100644 templates/includes/_header2.html diff --git a/core/tests/content/leaf.html b/core/tests/content/leaf.html index 39beeceb..a19a9fc4 100644 --- a/core/tests/content/leaf.html +++ b/core/tests/content/leaf.html @@ -456,7 +456,7 @@ html.dark { diff --git a/core/tests/test_renderer.py b/core/tests/test_renderer.py index bf99a2a9..e6a4c9ca 100644 --- a/core/tests/test_renderer.py +++ b/core/tests/test_renderer.py @@ -152,9 +152,6 @@ def test_get_s3_keys(): assert "/site-docs/develop/contributor-guide/index.html" in get_s3_keys( "/doc/contributor-guide/index.html" ) - assert "/site-docs/develop/formal-reviews/index.html" in get_s3_keys( - "/doc/formal-reviews/index.html" - ) assert "/site-docs/develop/release-process/index.html" in get_s3_keys( "/doc/release-process/index.html" ) diff --git a/kube/boost/templates/configmap-nginx.yaml b/kube/boost/templates/configmap-nginx.yaml index 46c355b7..c409f5f9 100644 --- a/kube/boost/templates/configmap-nginx.yaml +++ b/kube/boost/templates/configmap-nginx.yaml @@ -106,9 +106,9 @@ data: location = /community/counted_body.html { return 301 /doc/user-guide/counted-body.html; } location = /community/implementation_variations.html { return 301 /doc/user-guide/implementation-variations.html; } location = /community/requests.html { return 301 /community/; } - location = /community/reviews.html { return 301 /doc/formal-reviews/index.html; } - location = /community/review_schedule.html { return 301 /doc/formal-reviews/review-results.html; } - location = /development/submissions.html { return 301 /doc/formal-reviews/submissions.html; } + location = /community/reviews.html { return 301 /review/; } + location = /community/review_schedule.html { return 301 /review/past/; } + location = /development/submissions.html { return 301 /review/; } location = /development/bugs.html { return 301 /doc/user-guide/reporting-issues.html; } location = /development/pull_requests.php { return 301 $scheme://$host; } location = /development/testing.html { return 301 /doc/contributor-guide/testing/boost-test-matrix.html#_regression_dashboard; } diff --git a/stage_static_config.json b/stage_static_config.json index 054cff1f..0d73083c 100644 --- a/stage_static_config.json +++ b/stage_static_config.json @@ -11,10 +11,6 @@ "site_path": "/doc/contributor-guide/", "s3_path": "/site-docs/develop/contributor-guide/" }, - { - "site_path": "/doc/formal-reviews/", - "s3_path": "/site-docs/develop/formal-reviews/" - }, { "site_path": "/doc/release-process/", "s3_path": "/site-docs/develop/release-process/" diff --git a/templates/docs_temp.html b/templates/docs_temp.html index cf920916..73f269b3 100644 --- a/templates/docs_temp.html +++ b/templates/docs_temp.html @@ -92,23 +92,20 @@ make the columns go to 1
- Boost Formal Reviews + Boost Formal Reviews

Learn how new libraries are added

- + User Guide Contributor Guide - Formal Reviews + Formal Reviews
{% if not disable_theme_switcher %} diff --git a/templates/includes/_header2.html b/templates/includes/_header2.html deleted file mode 100644 index 0bd401d2..00000000 --- a/templates/includes/_header2.html +++ /dev/null @@ -1,442 +0,0 @@ -{% load static %} -{% load account socialaccount active_link_tags %} - - - -
- -
- Boost -
where
arrow_drop_down
- -
- - -
- - - - - - - - - {% if not disable_theme_switcher %} - - {% endif %} - {% comment %} - The html and context for the user avatar and profile dropdown menu are coming from the view as - and html fragment fetched view htmx get request and inserted into #avatar - {% endcomment %} - -
-
- - - -
-
-
-