Skip to content

Commit 673e686

Browse files
authored
Merge pull request chocolatey#1111 from corbob/adjust-highlights
(maint) Adjust highlights
2 parents fe9a47e + 40fd8c0 commit 673e686

26 files changed

+102
-127
lines changed

README.md

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -122,18 +122,35 @@ A Highlight is what is shown on the home page of docs.chocolatey.org and the lef
122122

123123
### Front Page Highlight
124124

125+
For front page highlights, we should try to keep it to less than 6 highlights. When adding a new one, consider editting existing highlights to set `showOnHome` to `false`.
126+
125127
1. Navigate to `src/content/docs/en-us/highlights` then into the current year folder.
126-
1. Copy a file that does not have a `-sidebar` in the file name.
128+
1. Copy an existing file.
127129
1. Change the name of the new file to include the month number as the first characters in the name, such as `10-testing-home.md`.
128130
1. Fill in details needed and follow the current naming convention for xrefs in the file.
129131
1. Change the `ctaText` value to something unique.
130132

131133
### Left Sidebar Highlight
132134

133-
1. Navigate to `src/content/docs/en-us/highlights` then into the current year folder.
134-
1. Copy a file that has a `-sidebar` in the file name.
135-
1. Change the name of the new file to include the month number as the first characters in the name, such as `10-testing-home-sidebar.md`. Ensure the `-sidebar` in the name is retained.
136-
1. In the nested `highlight` front matter, ensure the following are set:
135+
For left sidebar highlights, we want to keep it to a minimum to reduce the amount the navigation is pushed down the page. It's recommended to edit only the top highlight file to link to the current highlighted article, and leave the bottom one to link to all highlights.
136+
137+
To edit either of these highlights:
138+
139+
1. Navigate to `src/content/docs/en-us/highlights`.
140+
1. Find the highlight you want to edit: `00-top-sidebar-highlight.md` for the top one, and `99-bottom-sidebar-highlight.md` for the bottom one.
141+
1. Edit the details as desired making note of the following `highlight` front matter settings that control the destination and link text:
142+
```markdown
143+
ctaXref: highlights
144+
ctaAnchor: december-2024
145+
ctaText: View December's highlights
146+
```
147+
148+
If it's decided that extra highlights should be added:
149+
150+
1. Navigate to `src/content/docs/en-us/highlights`.
151+
1. Copy one of the existing `*sidebar-highlight.md` files.
152+
1. Change the name of the new file to start with a number that will determine it's order in the sidebar, such as `10-testing-home-sidebar-highlight.md`. Ensure the `-sidebar-highlight` in the name is retained.
153+
1. In the nested `highlight` front matter, ensure the following are set in the nested `highlight` front matter:
137154
```markdown
138155
showOnHome: false
139156
showOnHighlights: false
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
order: 0
3+
xref: highlight-sidebar-top-highlights
4+
title: Chocolatey product releases
5+
description: We recently released new versions of Chocolatey CLI, Chocolatey Licensed Extension, and Chocolatey Agent.
6+
highlight:
7+
postedDateTime: 2024-11-12T00:00:00Z
8+
ctaXref: highlights
9+
ctaAnchor: december-2024
10+
ctaText: View December's highlights
11+
showOnHome: false
12+
showOnHighlights: false
13+
showInSidebar: true
14+
---

src/content/docs/en-us/highlights/2023/05-choco-new-in-v2.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ order: 0
33
xref: highlight-2023-05-31-choco-new-in-v2
44
title: What's new in Chocolatey CLI v2.0.0
55
description: Learn all about what's new in Chocolatey CLI v2.0.0 including NuGet v3 feed support, SemVer 2.0.0 support, .NET Framework uplift, and many other fantastic updates!
6-
showInSidebar: false
76
highlight:
87
postedDateTime: 2023-05-31T03:00:00Z
98
ctaXref: choco-new-in-v2
109
ctaText: See what's new
10+
showOnHome: false
11+
showOnHighlights: true
1112
---

src/content/docs/en-us/highlights/2023/05-choco-v2-release-notes.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ order: 0
33
xref: highlight-2023-05-31-choco-release-notes
44
title: Chocolatey CLI v2.0.0 Release Notes
55
description: Discover the new improvements, essential bug fixes, and important breaking changes in Chocolatey CLI v2.0.0 by exploring the detailed release notes.
6-
showInSidebar: false
76
highlight:
87
postedDateTime: 2023-05-31T01:00:00Z
98
ctaXref: choco-release-notes

src/content/docs/en-us/highlights/2023/05-choco-v2-upgrade-guide.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ order: 0
33
xref: highlight-2023-05-31-upgrading-to-chocolatey-v2-v6
44
title: "Upgrade Guide: Chocolatey Products v2.0.0 and Chocolatey Licensed Extension 6.0.0"
55
description: Ensure a smooth transition to the powerful Chocolatey CLI v2.0.0 by following our comprehensive upgrade guide, equipped with step-by-step instructions and helpful tips.
6-
showInSidebar: false
76
highlight:
87
postedDateTime: 2023-05-31T02:00:00Z
98
ctaXref: upgrading-to-chocolatey-v2-v6
109
ctaText: Step through the guide
10+
showOnHome: false
11+
showOnHighlights: true
1112
---

src/content/docs/en-us/highlights/2023/07-choco-troubleshooting-dependencies.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ order: 0
33
xref: highlight-2023-07-14-choco-dependency-troubles
44
title: Dependency Troubleshooting in Chocolatey CLI
55
description: Discover how to troubleshoot and resolve installation and upgrade errors caused by dependency issues. Learn step-by-step instructions on resolving package failures and ensuring a consistent state by running the appropriate commands.
6-
showInSidebar: false
76
highlight:
87
postedDateTime: 2023-07-14T03:00:00Z
98
ctaXref: choco-dependency-troubles
109
ctaText: Get dependency troubleshooting help
10+
showOnHome: false
11+
showOnHighlights: true
1112
---

src/content/docs/en-us/highlights/2023/07-choco-troubleshooting-unable-to-load-service-index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ order: 0
33
xref: highlight-2023-07-13-choco-unable-to-load-service-index
44
title: Resolving Chocolatey CLI Package Source Communication Issues
55
description: Diagnose and resolve communication issues with Chocolatey CLI package sources, including SSL/TLS and certificate errors, and find solutions to ensure seamless package management.
6-
showInSidebar: false
76
highlight:
87
postedDateTime: 2023-07-13T03:00:00Z
98
ctaXref: choco-unable-to-load-service-index
109
ctaText: Fix package source issues
10+
showOnHome: false
11+
showOnHighlights: true
1112
---

src/content/docs/en-us/highlights/2023/07-proxy-considerations-and-limitations.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ order: 0
33
xref: highlight-2023-07-14-proxy-settings
44
title: "Proxy Configuration in Chocolatey: Precedence and Known Limitations"
55
description: Explore the priority order for configuring proxies in Chocolatey and learn about known limitations affecting certain Chocolatey products' proxy settings.
6-
showInSidebar: false
76
highlight:
87
postedDateTime: 2023-07-14T04:00:00Z
98
ctaXref: proxy-settings
109
ctaText: Learn about proxies
10+
showOnHome: false
11+
showOnHighlights: true
1112
---

src/content/docs/en-us/highlights/2023/09-chocolatey-central-management-0.11.0.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ order: 0
33
xref: highlight-2023-09-19-ccm-release-notes
44
title: What's new in Chocolatey Central Management v0.11.0
55
description: Learn all about what's new in Chocolatey Central Management v0.11.0, including import/export for Deployment Plans, exporting packages.config files, new retention policies, and improved email notifications for deployments!
6-
showInSidebar: false
76
highlight:
87
postedDateTime: 2023-09-19T00:00:00Z
98
ctaXref: ccm-release-notes

src/content/docs/en-us/highlights/2023/11-chocolatey-central-management-0.12.0-sidebar.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/content/docs/en-us/highlights/2023/11-chocolatey-central-management-0.12.0.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ order: 0
33
xref: highlight-2023-11-29-ccm-release-notes
44
title: What's new in Chocolatey Central Management v0.12.0
55
description: Learn all about what's new in Chocolatey Central Management v0.12.0, including the ability to generate Deployment Plans from various different contexts, for example, from a Group, a Computer, or a piece of Software.
6-
showInSidebar: false
76
highlight:
87
postedDateTime: 2023-11-29T00:00:00Z
98
ctaXref: ccm-release-notes
109
ctaAnchor: november-29-2023
1110
ctaText: Read the release notes
11+
showOnHome: false
12+
showOnHighlights: true
1213
---

src/content/docs/en-us/highlights/2024/06-new-in-choco-v2.3.0-sidebar.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/content/docs/en-us/highlights/2024/06-new-in-choco-v2.3.0.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ order: 0
33
xref: highlight-2024-06-05-choco-new-in-v2-3-0
44
title: What's new in Chocolatey CLI v2.3.0
55
description: Learn all about what's new in Chocolatey CLI v2.3.0, including new features like the ability to save software installation location for later use, as well as many new improvements including enhanced exit codes for numerous Chocolatey CLI commands.
6-
showInSidebar: false
76
highlight:
87
postedDateTime: 2024-06-05T00:00:00Z
98
ctaXref: choco-release-notes
109
ctaAnchor: v2.3.0
1110
ctaText: Read the release notes
11+
showOnHome: false
12+
showOnHighlights: true
1213
---

src/content/docs/en-us/highlights/2024/07-chocolatey-central-management-0.13.0-sidebar.md

Lines changed: 0 additions & 15 deletions
This file was deleted.
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
---
22
order: 0
33
xref: highlight-2024-09-19-ccm-new-in-v0-13-0
4-
title: What's new in Chocolatey Central Management
4+
title: What's new in Chocolatey Central Management v0.13.0
55
description: Learn all about what's new in Chocolatey Central Management v0.13.0, including an uplift of the framework to .NET 8.0.
6-
showInSidebar: false
76
highlight:
87
postedDateTime: 2024-09-19T00:00:00Z
98
ctaXref: ccm-release-notes
109
ctaAnchor: v0.13.0
1110
ctaText: Read the release notes
11+
showOnHome: false
12+
showOnHighlights: true
1213
---
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
---
22
order: 0
33
xref: highlight-2024-10-16-ccm-new-in-v0-13-1
4-
title: What's new in Chocolatey Central Management
4+
title: What's new in Chocolatey Central Management v0.13.1
55
description: Learn all about what's new in Chocolatey Central Management v0.13.1.
6-
showInSidebar: false
76
highlight:
87
postedDateTime: 2024-10-16T00:00:00Z
98
ctaXref: ccm-release-notes
109
ctaAnchor: v0.13.1
1110
ctaText: Read the release notes
11+
showOnHome: false
12+
showOnHighlights: true
1213
---

src/content/docs/en-us/highlights/2024/08-chocolatey-central-management-0.13.1-sidebar.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/content/docs/en-us/highlights/2024/09-chocolatey-cli-2.4.0-sidebar.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/content/docs/en-us/highlights/2024/09-chocolatey-cli-2.4.0.md renamed to src/content/docs/en-us/highlights/2024/11-chocolatey-cli-2.4.0.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ order: 0
33
xref: highlight-2024-11-12-choco-release-notes
44
title: What's new in Chocolatey CLI v2.4.0
55
description: Learn all about what's new in Chocolatey CLI v2.4.0.
6-
showInSidebar: false
76
highlight:
87
postedDateTime: 2024-11-12T00:00:00Z
98
ctaXref: choco-release-notes
109
ctaAnchor: v2.4.0
1110
ctaText: Read the release notes
11+
showOnHome: false
12+
showOnHighlights: true
1213
---

src/content/docs/en-us/highlights/2024/12-chocolatey-agent-2.2.0-sidebar.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/content/docs/en-us/highlights/2024/12-chocolatey-agent-2.2.0.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ order: 0
33
xref: highlight-2024-12-04-agent-release-notes
44
title: What's new in Chocolatey Agent v2.2.0
55
description: Learn all about what's new in Chocolatey Agent v2.2.0.
6-
showInSidebar: false
76
highlight:
87
postedDateTime: 2024-12-04T00:00:00Z
98
ctaXref: agent-release-notes
109
ctaAnchor: v2.2.0
1110
ctaText: Read the release notes
11+
showOnHome: true
12+
showOnHighlights: true
1213
---
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
order: 0
3+
xref: highlight-2024-12-04-chocolatey-cli-1.4.1
4+
title: What's new in Chocolatey CLI v1.4.1
5+
description: Learn all about what's new in Chocolatey CLI v1.4.1.
6+
highlight:
7+
postedDateTime: 2024-12-04T00:00:20Z
8+
ctaXref: choco-release-notes
9+
ctaAnchor: v1.4.1
10+
ctaText: Read the release notes
11+
showOnHome: true
12+
showOnHighlights: true
13+
---
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
order: 0
3+
xref: highlight-2024-12-04-chocolatey-cli-2.4.1
4+
title: What's new in Chocolatey CLI v2.4.1
5+
description: Learn all about what's new in Chocolatey CLI v2.4.1.
6+
highlight:
7+
postedDateTime: 2024-12-04T00:00:20Z
8+
ctaXref: choco-release-notes
9+
ctaAnchor: v2.4.1
10+
ctaText: Read the release notes
11+
showOnHome: true
12+
showOnHighlights: true
13+
---

src/content/docs/en-us/highlights/2024/12-chocolatey-extension-6.3.0-sidebar.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/content/docs/en-us/highlights/2024/12-chocolatey-extension-6.3.0.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ order: 0
33
xref: highlight-2024-12-04-licensed-extension-release-notes
44
title: What's new in Chocolatey Licensed Extension v6.3.0
55
description: Learn all about what's new in Chocolatey Licensed Extension v6.3.0.
6-
showInSidebar: false
76
highlight:
8-
postedDateTime: 2024-12-04T00:00:00Z
7+
postedDateTime: 2024-12-04T00:00:20Z
98
ctaXref: choco-release-notes
109
ctaAnchor: v6.3.0
1110
ctaText: Read the release notes
11+
showOnHome: true
12+
showOnHighlights: true
1213
---
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
order: 0
3+
xref: highlight-sidebar-recent-highlights
4+
title: Highlighted documentation
5+
description: What's been happening in documentation land.
6+
highlight:
7+
postedDateTime: 2024-11-12T00:00:00Z
8+
ctaXref: highlights
9+
ctaText: See our documentation highlights
10+
showOnHome: false
11+
showOnHighlights: false
12+
showInSidebar: true
13+
---

0 commit comments

Comments
 (0)