Skip to content

Commit 725b13e

Browse files
author
Sunil Thaha
authored
Merge pull request #2238 from sthaha/reorg-docs
docs: reorganize documentation into user and developer sections
2 parents c094e33 + 6597a2c commit 725b13e

File tree

9 files changed

+21
-16
lines changed

9 files changed

+21
-16
lines changed

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,7 @@ coverage: test ## Coverage report generation (HTML)
139139
# Generate metrics documentation
140140
.PHONY: gen-metrics-docs
141141
gen-metrics-docs: ## Documentation generation for metrics
142-
$(GOCMD) run ./hack/gen-metric-docs/main.go --output metrics.md
143-
mv metrics.md docs/metrics/
142+
$(GOCMD) run ./hack/gen-metric-docs/main.go --output docs/user/metrics.md
144143

145144
# Run linting
146145
.PHONY: lint

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,16 @@ helm install kepler manifests/helm/kepler/ --namespace kepler --create-namespace
7373

7474
## 📖 Documentation
7575

76+
### User Documentation
77+
7678
- **[Installation Guide](docs/user/installation.md)** - Detailed installation instructions for all deployment methods
77-
- **[Configuration Guide](docs/configuration/configuration.md)** - Configuration options and examples
78-
- **[Metrics Documentation](docs/metrics/metrics.md)** - Available metrics and their descriptions
79+
- **[Configuration Guide](docs/user/configuration.md)** - Configuration options and examples
80+
- **[Metrics Documentation](docs/user/metrics.md)** - Available metrics and their descriptions
81+
82+
### Developer Documentation
83+
84+
- **[Power Attribution Guide](docs/developer/power-attribution-guide.md)** - How Kepler measures and attributes power consumption
85+
- **[Developer Documentation](docs/developer/)** - Contributing guidelines and development workflow
7986

8087
For more detailed documentation, please visit the [official Kepler documentation](https://sustainable-computing.io/kepler/).
8188

File renamed without changes.
File renamed without changes.

docs/developer/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ This section contains documentation for developers working on Kepler.
1010

1111
- [Pre-commit Setup](pre-commit.md) - Setting up pre-commit hooks for code quality
1212

13+
## Release Management
14+
15+
- [Release Process](release.md) - Kepler release process and lifecycle
16+
1317
## Contributing
1418

1519
For general contribution guidelines, please refer to the main project documentation.
File renamed without changes.

docs/index.md

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,19 @@ Welcome to the Kepler documentation. Kepler is a Prometheus exporter that measur
66

77
### [User Documentation](user/)
88

9+
Documentation for users deploying and operating Kepler:
10+
911
- [Installation Guide](user/installation.md) - How to install and deploy Kepler
12+
- [Configuration Guide](user/configuration.md) - Configuring Kepler for your environment
13+
- [Metrics Reference](user/metrics.md) - Available Prometheus metrics exported by Kepler
1014

1115
### [Developer Documentation](developer/)
1216

17+
Documentation for developers contributing to Kepler:
18+
1319
- [Power Attribution Guide](developer/power-attribution-guide.md) - How Kepler measures and attributes power consumption
1420
- [Pre-commit Setup](developer/pre-commit.md) - Development workflow setup
15-
16-
### [Configuration](configuration/)
17-
18-
- [Configuration Guide](configuration/configuration.md) - Configuring Kepler for your environment
19-
20-
### [Design Documents](design/)
21-
22-
- [Release Process](design/release.md) - Kepler release process and lifecycle
23-
24-
### [Metrics](metrics/)
25-
26-
- [Metrics Documentation](metrics/metrics.md) - Available Prometheus metrics exported by Kepler
21+
- [Release Process](developer/release.md) - Kepler release process and lifecycle
2722

2823
## Quick Start
2924

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)