Skip to content

Commit 714368f

Browse files
committed
docs(platform): show per-group API README as an "Overview" sidebar link
The sidebar partial (menu/group.html) skips a group's child menu entries whose weight is -1 (that value marks a section-landing headline). The consolidated per-group README.md pages were created with weight -1, so they disappeared from the left column instead of appearing as "Overview". Give the 18 per-group READMEs a positive weight (1) so they render as the first "Overview" link under each group, matching the old overview.md behavior. The top-level README stays weight -1 (it is a direct section child rendered by menu/leaf.html, which does show it, as the section headline). Signed-off-by: Tamal Saha <tamal@appscode.com>
1 parent 23750a4 commit 714368f

18 files changed

Lines changed: 18 additions & 18 deletions

File tree

docs/platform/api/ace-installer/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ menu:
55
identifier: api-ace-installer-readme
66
name: Overview
77
parent: api-ace-installer
8-
weight: -1
8+
weight: 1
99
menu_name: docsplatform_{{.version}}
1010
section_menu_id: api
1111
url: /docs/platform/{{.version}}/api/ace-installer/

docs/platform/api/ace-upgrade/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ menu:
55
identifier: api-ace-upgrade-readme
66
name: Overview
77
parent: api-ace-upgrade
8-
weight: -1
8+
weight: 1
99
menu_name: docsplatform_{{.version}}
1010
section_menu_id: api
1111
url: /docs/platform/{{.version}}/api/ace-upgrade/

docs/platform/api/administration/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ menu:
55
identifier: api-administration-readme
66
name: Overview
77
parent: api-administration
8-
weight: -1
8+
weight: 1
99
menu_name: docsplatform_{{.version}}
1010
section_menu_id: api
1111
url: /docs/platform/{{.version}}/api/administration/

docs/platform/api/authorization/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ menu:
55
identifier: api-authorization-readme
66
name: Overview
77
parent: api-authorization
8-
weight: -1
8+
weight: 1
99
menu_name: docsplatform_{{.version}}
1010
section_menu_id: api
1111
url: /docs/platform/{{.version}}/api/authorization/

docs/platform/api/billing-dashboard/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ menu:
55
identifier: api-billing-dashboard-readme
66
name: Overview
77
parent: api-billing-dashboard
8-
weight: -1
8+
weight: 1
99
menu_name: docsplatform_{{.version}}
1010
section_menu_id: api
1111
url: /docs/platform/{{.version}}/api/billing-dashboard/

docs/platform/api/chart-repositories/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ menu:
55
identifier: api-chart-repositories-readme
66
name: Overview
77
parent: api-chart-repositories
8-
weight: -1
8+
weight: 1
99
menu_name: docsplatform_{{.version}}
1010
section_menu_id: api
1111
url: /docs/platform/{{.version}}/api/chart-repositories/

docs/platform/api/client-organizations/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ menu:
55
identifier: api-client-organizations-readme
66
name: Overview
77
parent: api-client-organizations
8-
weight: -1
8+
weight: 1
99
menu_name: docsplatform_{{.version}}
1010
section_menu_id: api
1111
url: /docs/platform/{{.version}}/api/client-organizations/

docs/platform/api/cloud-providers/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ menu:
55
identifier: api-cloud-providers-readme
66
name: Overview
77
parent: api-cloud-providers
8-
weight: -1
8+
weight: 1
99
menu_name: docsplatform_{{.version}}
1010
section_menu_id: api
1111
url: /docs/platform/{{.version}}/api/cloud-providers/

docs/platform/api/cluster-management-v1/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ menu:
55
identifier: api-cluster-management-v1-readme
66
name: Overview
77
parent: api-cluster-management-v1
8-
weight: -1
8+
weight: 1
99
menu_name: docsplatform_{{.version}}
1010
section_menu_id: api
1111
url: /docs/platform/{{.version}}/api/cluster-management-v1/

docs/platform/api/cluster-management-v2/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ menu:
55
identifier: api-cluster-management-v2-readme
66
name: Overview
77
parent: api-cluster-management-v2
8-
weight: -1
8+
weight: 1
99
menu_name: docsplatform_{{.version}}
1010
section_menu_id: api
1111
url: /docs/platform/{{.version}}/api/cluster-management-v2/

0 commit comments

Comments
 (0)