Skip to content

Commit 6710d09

Browse files
author
Sunil Thaha
committed
docs: reorganize user docs into guides and reference
Reorganize user documentation to better distinguish between step-by-step tutorials (guides) and detailed feature specifications (reference). This improves documentation discoverability and helps users quickly find the right type of documentation for their needs. Motivation: Users need different types of documentation for different purposes: - Guides answer "How do I accomplish task X?" with step-by-step instructions - Reference answers "What are all the options for feature Y?" with comprehensive specifications The previous structure mixed both types in the guides/ directory, making it harder for users to find what they need. Tutorial-style content (validating Prometheus, setting up Grafana) was alongside comprehensive specifications (PowerMonitor CR, ConfigMaps API). Changes: - Move guides/power-monitor.md → reference/power-monitor.md (comprehensive PowerMonitor CR specification and configuration options) - Move guides/custom-configmaps.md → reference/custom-configmaps.md (detailed additionalConfigMaps feature documentation with examples) - Update README.md with two distinct sections: - "Guides" section: step-by-step tutorials for common tasks - "Reference Documentation" section: detailed feature specs - Update all cross-references in 9 files: - installation/openshift.md - installation/kubernetes.md - installation/monitoring-stack-kubernetes.md - guides/upgrading.md - guides/grafana-dashboard.md - guides/troubleshooting.md - guides/validating-prometheus-integration.md - guides/experimental/redfish.md - reference/power-monitor.md (internal references) - reference/custom-configmaps.md (internal references) Result: guides/ # Step-by-step tutorials ├── experimental/ │ └── redfish.md ├── grafana-dashboard.md ├── troubleshooting.md ├── upgrading.md └── validating-prometheus-integration.md reference/ # Feature documentation & specs ├── api.md ├── custom-configmaps.md ├── power-monitor.md └── uninstallation.md Signed-off-by: Sunil Thaha <[email protected]>
1 parent 58f2ee3 commit 6710d09

File tree

11 files changed

+21
-22
lines changed

11 files changed

+21
-22
lines changed

docs/user/README.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,30 +29,29 @@ Choose your platform to begin:
2929
- Required only if you want metrics visualization
3030
- Not needed for basic Kepler installation
3131

32-
## Usage Guides
32+
## Guides
3333

34-
Once installed, learn how to use Kepler Operator:
34+
Step-by-step tutorials for common tasks:
3535

36-
- **[Creating PowerMonitor Resources](guides/power-monitor.md)** - Deploy and configure Kepler on your cluster
37-
- **[Custom ConfigMaps](guides/custom-configmaps.md)** - Advanced Kepler configuration with custom ConfigMaps
3836
- **[Validating Prometheus Integration](guides/validating-prometheus-integration.md)** - Verify Prometheus is scraping Kepler metrics
3937
- **[Setting up Grafana Dashboards](guides/grafana-dashboard.md)** - Visualize energy metrics
4038
- **[Upgrading](guides/upgrading.md)** - Upgrade the operator (Helm and OLM)
39+
- **[Troubleshooting Guide](guides/troubleshooting.md)** - Common issues and platform-specific solutions
4140

4241
### Experimental Features
4342

4443
⚠️ These features are experimental and may change in future versions:
4544

4645
- **[Redfish BMC Power Monitoring](guides/experimental/redfish.md)** - Platform-level power consumption via Baseboard Management Controllers
4746

48-
## Troubleshooting and Support
49-
50-
- **[Troubleshooting Guide](guides/troubleshooting.md)** - Common issues and platform-specific solutions
51-
- **[Uninstallation](reference/uninstallation.md)** - Clean removal procedures
52-
5347
## Reference Documentation
5448

55-
- **[API Reference](reference/api.md)** - Complete PowerMonitor API specification
49+
Detailed feature documentation and specifications:
50+
51+
- **[PowerMonitor Resources](reference/power-monitor.md)** - Complete PowerMonitor CR specification and configuration options
52+
- **[Custom ConfigMaps](reference/custom-configmaps.md)** - Advanced Kepler configuration using additionalConfigMaps
53+
- **[API Reference](reference/api.md)** - Complete API specification
54+
- **[Uninstallation](reference/uninstallation.md)** - Clean removal procedures
5655

5756
## Developer Documentation
5857

docs/user/guides/experimental/redfish.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -549,8 +549,8 @@ Planned improvements for future versions:
549549

550550
## Related Documentation
551551

552-
- **[PowerMonitor Guide](../power-monitor.md)** - Complete PowerMonitor configuration
553-
- **[Custom ConfigMaps Guide](../custom-configmaps.md)** - Using additionalConfigMaps
552+
- **[PowerMonitor Guide](../../reference/power-monitor.md)** - Complete PowerMonitor configuration
553+
- **[Custom ConfigMaps Guide](../../reference/custom-configmaps.md)** - Using additionalConfigMaps
554554
- **[Kepler Redfish Proposal](https://github.com/sustainable-computing-io/kepler/blob/main/doc/dev/EP_001-redfish-support.md)** - Technical design document
555555

556556
## Getting Help

docs/user/guides/grafana-dashboard.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,6 @@ For more troubleshooting, see the [Troubleshooting Guide](./troubleshooting.md#k
353353

354354
## Next Steps
355355

356-
- **[PowerMonitor Configuration](./power-monitor.md)** - Configure PowerMonitor resources
356+
- **[PowerMonitor Configuration](../reference/power-monitor.md)** - Configure PowerMonitor resources
357357
- **[Troubleshooting](./troubleshooting.md)** - Diagnose common issues
358358
- **[Validating Prometheus Integration](./validating-prometheus-integration.md)** - Deep dive into Prometheus setup

docs/user/guides/troubleshooting.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -835,6 +835,6 @@ If issues persist after troubleshooting:
835835

836836
## Additional Resources
837837

838-
- **[PowerMonitor Guide](./power-monitor.md)** - Creating and configuring PowerMonitors
839-
- **[PowerMonitor Configuration](./power-monitor.md)** - Configuration options
838+
- **[PowerMonitor Guide](../reference/power-monitor.md)** - Creating and configuring PowerMonitors
839+
- **[PowerMonitor Configuration](../reference/power-monitor.md)** - Configuration options
840840
- **[API Reference](../reference/api.md)** - Complete API specification

docs/user/guides/upgrading.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,4 +447,4 @@ For more troubleshooting, see the [Troubleshooting Guide](./troubleshooting.md).
447447
## Next Steps
448448

449449
- **[Troubleshooting Guide](./troubleshooting.md)** - Diagnose upgrade issues
450-
- **[PowerMonitor Configuration](./power-monitor.md)** - Review configuration options for new versions
450+
- **[PowerMonitor Configuration](../reference/power-monitor.md)** - Review configuration options for new versions

docs/user/guides/validating-prometheus-integration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ helm upgrade prometheus prometheus-community/kube-prometheus-stack \
501501
Once you've validated that Prometheus is scraping Kepler metrics:
502502

503503
- **[Set up Grafana Dashboards](./grafana-dashboard.md)** to visualize the metrics
504-
- **[Custom ConfigMaps](./custom-configmaps.md)** to adjust metric levels and collection settings
504+
- **[Custom ConfigMaps](../reference/custom-configmaps.md)** to adjust metric levels and collection settings
505505
- **[Set up Alerts](https://prometheus.io/docs/alerting/latest/overview/)** for abnormal power consumption
506506

507507
---

docs/user/installation/kubernetes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,8 @@ For complete setup and troubleshooting instructions, see:
224224

225225
Now that the operator is installed, you can:
226226

227-
1. **[Create a PowerMonitor resource](../guides/power-monitor.md)** to deploy Kepler
228-
2. **[Custom ConfigMaps](../guides/custom-configmaps.md)** for advanced Kepler configuration
227+
1. **[Create a PowerMonitor resource](../reference/power-monitor.md)** to deploy Kepler
228+
2. **[Custom ConfigMaps](../reference/custom-configmaps.md)** for advanced Kepler configuration
229229
3. **[Set up Monitoring Stack](./monitoring-stack-kubernetes.md)** (optional) - If you want to visualize metrics
230230
4. **[Validate Prometheus Integration](../guides/validating-prometheus-integration.md)** (if using Prometheus) - Ensure metrics are being scraped
231231
5. **[Set up Grafana dashboards](../guides/grafana-dashboard.md)** (if using Grafana) - Visualize metrics

docs/user/installation/monitoring-stack-kubernetes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ kubectl get servicemonitor -A | grep power-monitor
215215
Now that your monitoring stack is ready:
216216

217217
1. **[Install Kepler Operator](./kubernetes.md)** with ServiceMonitor enabled
218-
2. **[Create a PowerMonitor](../guides/power-monitor.md)** to deploy Kepler
218+
2. **[Create a PowerMonitor](../reference/power-monitor.md)** to deploy Kepler
219219
3. **[Import Grafana dashboards](../guides/grafana-dashboard.md)** to visualize metrics
220220

221221
## Troubleshooting

docs/user/installation/openshift.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,8 @@ EOF
164164

165165
Now that the operator is installed:
166166

167-
1. **[Create a PowerMonitor resource](../guides/power-monitor.md)** to deploy Kepler
168-
2. **[Configure PowerMonitor](../guides/power-monitor.md)** for your cluster
167+
1. **[Create a PowerMonitor resource](../reference/power-monitor.md)** to deploy Kepler
168+
2. **[Configure PowerMonitor](../reference/power-monitor.md)** for your cluster
169169
3. **[Set up Grafana dashboards](../guides/grafana-dashboard.md)** to visualize energy metrics
170170

171171
## Troubleshooting
File renamed without changes.

0 commit comments

Comments
 (0)