Skip to content

Commit 4610369

Browse files
committed
Promote PowerShellBuild to its own top-level sidebar and navbar section
Moves PowerShellBuild out of the Guides sidebar into a dedicated powershellBuildSidebar so it appears as a peer of Get Started, Guides, and Reference in the navbar. Also adds a footer link under Docs. https://claude.ai/code/session_01TU1s3wRx7eGZhMJJXvY5Kz
1 parent 64a24aa commit 4610369

2 files changed

Lines changed: 19 additions & 11 deletions

File tree

docusaurus.config.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,12 @@ const config: Config = {
9292
position: 'left',
9393
label: 'Guides',
9494
},
95+
{
96+
type: 'docSidebar',
97+
sidebarId: 'powershellBuildSidebar',
98+
position: 'left',
99+
label: 'PowerShellBuild',
100+
},
95101
{
96102
type: 'docSidebar',
97103
sidebarId: 'referenceSidebar',
@@ -120,6 +126,10 @@ const config: Config = {
120126
label: 'Guides',
121127
to: '/docs/tutorial-basics/default-build-files',
122128
},
129+
{
130+
label: 'PowerShellBuild',
131+
to: '/docs/powershellbuild/introduction',
132+
},
123133
{
124134
label: 'Command Reference',
125135
to: '/docs/commands/Invoke-psake',

sidebars.ts

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -50,17 +50,6 @@ const sidebars: SidebarsConfig = {
5050
'tutorial-advanced/variable-referencing',
5151
],
5252
},
53-
{
54-
type: 'category',
55-
label: 'PowerShellBuild',
56-
items: [
57-
'powershellbuild/introduction',
58-
'powershellbuild/getting-started',
59-
'powershellbuild/task-reference',
60-
'powershellbuild/configuration',
61-
'powershellbuild/real-world-example',
62-
],
63-
},
6453
{
6554
type: 'category',
6655
label: 'Build Type Examples',
@@ -84,6 +73,15 @@ const sidebars: SidebarsConfig = {
8473
},
8574
],
8675

76+
// PowerShellBuild - Companion module for building PowerShell modules
77+
powershellBuildSidebar: [
78+
'powershellbuild/introduction',
79+
'powershellbuild/getting-started',
80+
'powershellbuild/task-reference',
81+
'powershellbuild/configuration',
82+
'powershellbuild/real-world-example',
83+
],
84+
8785
// Reference - Command reference, troubleshooting, and lookup materials
8886
referenceSidebar: [
8987
{

0 commit comments

Comments
 (0)