Skip to content

Commit 4a7d602

Browse files
authored
Merge pull request #4161 from SQLJames/main
updating links so that they point to the correct location from the docs website not only from the git repo
2 parents a2fef77 + b039ea7 commit 4a7d602

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

docs/development/plugins/common-patterns.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Show dynamic information in the top navigation bar.
3232

3333
**Example: Pod Counter**
3434

35-
See the [Pod Counter example](../../../plugins/examples/pod-counter/). It shows how to:
35+
See the [Pod Counter example](https://github.com/kubernetes-sigs/headlamp/tree/main/plugins/examples/pod-counter/). It shows how to:
3636
- Use the K8s API to count pods.
3737
- Show the count in the app bar with status colors.
3838
- Handle loading and errors.
@@ -52,7 +52,7 @@ Add new sections to the sidebar.
5252

5353
**Example: Sidebar Items**
5454

55-
See the [Sidebar example](../../../plugins/examples/sidebar/). It shows how to:
55+
See the [Sidebar example](https://github.com/kubernetes-sigs/headlamp/tree/main/plugins/examples/sidebar/). It shows how to:
5656
- Add top-level sidebar items.
5757
- Add nested items.
5858
- Remove sidebar items and routes.
@@ -72,7 +72,7 @@ Add custom sections to resource detail pages.
7272

7373
**Example: Details View Enhancements**
7474

75-
See the [Details View example](../../../plugins/examples/details-view/). It shows how to:
75+
See the [Details View example](https://github.com/kubernetes-sigs/headlamp/tree/main/plugins/examples/details-view/). It shows how to:
7676
- Add custom sections to detail pages.
7777
- Add action buttons to the header.
7878
- Access and show resource data.
@@ -92,7 +92,7 @@ Add custom actions to resource tables.
9292

9393
**Example: Table Customization**
9494

95-
See the [Tables example](../../../plugins/examples/tables/). It shows how to:
95+
See the [Tables example](https://github.com/kubernetes-sigs/headlamp/tree/main/plugins/examples/tables/). It shows how to:
9696
- Override existing table views.
9797
- Add context menus to rows.
9898
- Implement custom row actions.
@@ -110,7 +110,7 @@ Integrate with external tools and desktop app features.
110110

111111
**Example: App Menus**
112112

113-
See the [App Menus example](../../../plugins/examples/app-menus/). It shows how to:
113+
See the [App Menus example](https://github.com/kubernetes-sigs/headlamp/tree/main/plugins/examples/app-menus/). It shows how to:
114114
- Add custom menus to the desktop app.
115115
- Run local commands from the app.
116116
- Handle app-specific functions.
@@ -130,7 +130,7 @@ Manage cluster connections dynamically.
130130

131131
**Example: Dynamic Clusters**
132132

133-
See the [Dynamic Clusters example](../../../plugins/examples/dynamic-clusters/). It shows how to:
133+
See the [Dynamic Clusters example](https://github.com/kubernetes-sigs/headlamp/tree/main/plugins/examples/dynamic-clusters/). It shows how to:
134134
- Add and remove clusters dynamically.
135135
- Manage cluster configurations.
136136
- Handle cluster selection.
@@ -148,7 +148,7 @@ Create plugins with user settings.
148148

149149
**Example: Configurable Logo**
150150

151-
See the [Change Logo example](../../../plugins/examples/change-logo/). It shows how to:
151+
See the [Change Logo example](https://github.com/kubernetes-sigs/headlamp/tree/main/plugins/examples/change-logo/). It shows how to:
152152
- Create plugin settings forms.
153153
- Handle user configuration.
154154
- Persist settings.
@@ -170,7 +170,7 @@ Create custom themes for Headlamp.
170170

171171
**Example: Custom Theme**
172172

173-
See the [Custom Theme example](../../../plugins/examples/custom-theme/). It shows how to:
173+
See the [Custom Theme example](https://github.com/kubernetes-sigs/headlamp/tree/main/plugins/examples/custom-theme/). It shows how to:
174174
- Create custom color palettes.
175175
- Define typography styles.
176176
- Register new themes.
@@ -190,7 +190,7 @@ Replace the default Headlamp logo.
190190

191191
**Example: Custom Logo**
192192

193-
See the [Change Logo example](../../../plugins/examples/change-logo/). It shows how to:
193+
See the [Change Logo example](https://github.com/kubernetes-sigs/headlamp/tree/main/plugins/examples/change-logo/). It shows how to:
194194
- Create responsive logos.
195195
- Handle different logo sizes.
196196
- Support theme-aware logos.
@@ -213,7 +213,7 @@ Create custom charts for cluster data.
213213

214214
**Example: Resource Charts**
215215

216-
See the [Resource Charts example](../../../plugins/examples/resource-charts/). It shows how to:
216+
See the [Resource Charts example](https://github.com/kubernetes-sigs/headlamp/tree/main/plugins/examples/resource-charts/). It shows how to:
217217
- Create interactive charts.
218218
- Visualize Kubernetes data.
219219
- Implement custom dashboards.
@@ -231,7 +231,7 @@ Build custom UI panels and reusable components.
231231

232232
**Example: UI Panels**
233233

234-
See the [UI Panels example](../../../plugins/examples/ui-panels/). It shows how to:
234+
See the [UI Panels example](https://github.com/kubernetes-sigs/headlamp/tree/main/plugins/examples/ui-panels/). It shows how to:
235235
- Create custom UI panels.
236236
- Build reusable components.
237237
- Handle complex layouts.
@@ -249,7 +249,7 @@ Customize the cluster selection UI.
249249

250250
**Example: Cluster Chooser**
251251

252-
See the [Cluster Chooser example](../../../plugins/examples/cluster-chooser/). It shows how to:
252+
See the [Cluster Chooser example](https://github.com/kubernetes-sigs/headlamp/tree/main/plugins/examples/cluster-chooser/). It shows how to:
253253
- Customize the cluster selection UI.
254254
- Add custom cluster metadata.
255255
- Implement cluster filtering.

0 commit comments

Comments
 (0)