From 872c172f50aa80e7a865d8f5ff76d66f143edc1f Mon Sep 17 00:00:00 2001 From: Kat Shann Date: Wed, 8 Oct 2025 15:14:22 +0100 Subject: [PATCH 1/5] Add related resources to the bottom of each tile page. --- jekyll-assets/_layouts/boxes.html | 25 +++++++++++++++++++++++ jekyll-assets/css/style.css | 34 +++++++++++++++++++++++-------- 2 files changed, 51 insertions(+), 8 deletions(-) diff --git a/jekyll-assets/_layouts/boxes.html b/jekyll-assets/_layouts/boxes.html index b86426c8a..0d991ff01 100644 --- a/jekyll-assets/_layouts/boxes.html +++ b/jekyll-assets/_layouts/boxes.html @@ -34,6 +34,31 @@

Raspberry Pi Documentation

+ + {% include legal.html %} {% include footer.html %} {% include search.html %} diff --git a/jekyll-assets/css/style.css b/jekyll-assets/css/style.css index 58465ec9b..e06f6c60b 100644 --- a/jekyll-assets/css/style.css +++ b/jekyll-assets/css/style.css @@ -234,13 +234,25 @@ div.subtitle p { margin-right: 0px; } -#container .section { +#container .section, +#related-container .section { display: flex; flex-direction: column; width: 100%; } -#docs-content #container { +#related-title{ + width: 100%; + text-align: center; +} + +#related-title h2{ + padding-top: 20px; + font-size: 1.5em; +} + +#docs-content #container, +#docs-content #related-container { align-items: start; } @@ -520,7 +532,8 @@ li > a { color: var(--subtle-text); } -#container section#content { +#container section#content, +#related-container section#content { flex-grow: 1; } @@ -1443,7 +1456,8 @@ input:not(:checked) ~ li ~ .itemcontents .sectlevel1 { max-width: 100vw; } - #container { + #container, + #related-container { justify-content: center; flex-wrap: wrap; margin-left: 3px; @@ -1544,7 +1558,8 @@ input:not(:checked) ~ li ~ .itemcontents .sectlevel1 { #content { margin-left: 0px; } - #container { + #container, + #related-container { } } @@ -1560,7 +1575,8 @@ input:not(:checked) ~ li ~ .itemcontents .sectlevel1 { ul#tab-container li a { display: none !important; } - div#container { + div#container, + div#related-container { margin-left: 0; margin-right: 0; justify-content: center !important; @@ -1581,7 +1597,8 @@ input:not(:checked) ~ li ~ .itemcontents .sectlevel1 { box-sizing: border-box; } -section#box-content { +section#box-content, +section#related-content { display: flex; flex-wrap: wrap; flex-direction: row; @@ -1639,7 +1656,8 @@ div.subtitle.error-message p a { color: var(--bg); } -#container { +#container, +#related-container { display: flex; justify-content: center; margin-right: 10px; From 3faef16f01e8f91f27efc7bde623b3f2196959d8 Mon Sep 17 00:00:00 2001 From: Kat Shann Date: Wed, 8 Oct 2025 15:31:45 +0100 Subject: [PATCH 2/5] Update PIP description. --- jekyll-assets/_layouts/boxes.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jekyll-assets/_layouts/boxes.html b/jekyll-assets/_layouts/boxes.html index 0d991ff01..7e2e1a9a3 100644 --- a/jekyll-assets/_layouts/boxes.html +++ b/jekyll-assets/_layouts/boxes.html @@ -43,7 +43,7 @@

Related resources

Product Information Portal - Compliance documentation + Documents, reports, and notices for all Raspberry Pi products From 410a5f02f0babd4f7facdc27844beb91de1df151 Mon Sep 17 00:00:00 2001 From: Kat Shann Date: Wed, 8 Oct 2025 15:33:41 +0100 Subject: [PATCH 3/5] Update jekyll-assets/css/style.css Co-authored-by: Paul Mucur --- jekyll-assets/css/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jekyll-assets/css/style.css b/jekyll-assets/css/style.css index e06f6c60b..d5d143e13 100644 --- a/jekyll-assets/css/style.css +++ b/jekyll-assets/css/style.css @@ -241,7 +241,7 @@ div.subtitle p { width: 100%; } -#related-title{ +#related-title { width: 100%; text-align: center; } From c4e2a9e21b006941f11aa7ba20d04f93bc8e5934 Mon Sep 17 00:00:00 2001 From: Kat Shann Date: Wed, 8 Oct 2025 15:34:21 +0100 Subject: [PATCH 4/5] Update jekyll-assets/css/style.css Co-authored-by: Paul Mucur --- jekyll-assets/css/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jekyll-assets/css/style.css b/jekyll-assets/css/style.css index d5d143e13..db8024b12 100644 --- a/jekyll-assets/css/style.css +++ b/jekyll-assets/css/style.css @@ -246,7 +246,7 @@ div.subtitle p { text-align: center; } -#related-title h2{ +#related-title h2 { padding-top: 20px; font-size: 1.5em; } From eef9ce0dadd0ccc8ecd3a8dcfc036fd84bee7a05 Mon Sep 17 00:00:00 2001 From: Kat Shann Date: Wed, 8 Oct 2025 15:42:57 +0100 Subject: [PATCH 5/5] Fixups from Paul M review --- jekyll-assets/_layouts/boxes.html | 111 +++++++++++++++--------------- jekyll-assets/css/style.css | 6 +- 2 files changed, 58 insertions(+), 59 deletions(-) diff --git a/jekyll-assets/_layouts/boxes.html b/jekyll-assets/_layouts/boxes.html index 7e2e1a9a3..3f8ffa3e8 100644 --- a/jekyll-assets/_layouts/boxes.html +++ b/jekyll-assets/_layouts/boxes.html @@ -1,67 +1,70 @@ - - {% include head.html %} - - - {% include header.html %} -
-

Raspberry Pi Documentation

-
- -
- {% include tabs.html %} + + {% include head.html %} + + + + {% include header.html %} + +
+

Raspberry Pi Documentation

+
+
+ {% include tabs.html %} +
-
-
- {% for item in site.data.index.tabs %} - {% if page.dir == item.path or page.dir == "/" and item.default_tab and item.default_tab == "yes" %} - {% for entry in item.subitems %} - {% if entry.path %} - - {% else %} - - {% endif %} - - {{ entry.title | markdownify }} - {{ entry.description }} - - {% endfor %} +
+
+ {% for item in site.data.index.tabs %} + {% if page.dir == item.path or page.dir == "/" and item.default_tab and item.default_tab == "yes" %} + {% for entry in item.subitems %} + {% if entry.path %} + + {% else %} + {% endif %} + + {{ entry.title | markdownify }} + {{ entry.description }} + {% endfor %} -
-
+ {% endif %} + {% endfor %} +
+
-