-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request
Description
Documentation Reorganization Plan
Problem Statement
The current documentation feels overwhelming and could benefit from a clearer hierarchy and better organization. The README is too detailed for a quick overview, and the docs could be better structured for different user personas.
Goals
- Make README a concise entry point that gets users started quickly
- Organize documentation by user journey and common tasks
- Separate reference documentation from tutorials/guides
- Improve command documentation organization
Proposed Structure
README.md (Simplified)
# redisctl
[Badges]
Brief one-paragraph description
## Features
- 5-6 bullet points highlighting key features
## Installation
### From Binary Releases
### From Cargo
### Using Docker
## Quick Start
### 1. Configure Authentication
- Simple example for Cloud
- Simple example for Enterprise
### 2. Basic Usage Examples
- List databases
- Create a database
- Check operation status
## Documentation
Link to full documentation site
## Contributing
Brief contributing guidelines
## License
Documentation Site Structure
# Introduction
- What is redisctl
- Key concepts (profiles, deployments, async operations)
- Architecture overview
# Quick Start
- Installation (detailed)
- First-time setup
- Your first commands
- Common workflows
# Configuration
- Profiles and authentication
- Environment variables
- Configuration file reference
# Core Concepts
- Async operations and --wait flags
- Output formats and filtering
- Smart command routing
- Error handling
# Redis Cloud Commands
## Subscriptions
- list
- get
- create
- update
- delete
## Databases
- list
- get
- create
- update
- delete
- backup/import/export
## Network
- VPC Peering
- Private Service Connect
- Transit Gateway
## Access Control
- ACL rules
- ACL roles
- Users
## Account Management
- Cloud accounts
- Payment methods
- Settings
# Redis Enterprise Commands
## Cluster
- info
- update
- policy
- certificates
## Databases (BDB)
- list
- get
- create
- update
- delete
- backup/import/export
## Nodes
- list
- get
- update
- actions
## RBAC
- Users
- Roles
- LDAP
## Statistics
- Cluster stats
- Database stats
- Node stats
- Shard stats
## Modules
- list
- upload
- configure
- delete
## Logs
- list
- filter
- export
# API Reference
## Raw API Access
- Using `api cloud`
- Using `api enterprise`
- Request/response formats
## Smart Commands
- How routing works
- Available smart commands
- Deployment detection
# Tutorials
- Managing a production database
- Setting up monitoring
- Automating deployments
- Migrating between environments
# Reference
## CLI Reference
- Complete command list
- Global options
- Exit codes
## Environment Variables
- Complete list
- Precedence rules
## Configuration File
- Schema
- Examples
## Troubleshooting
- Common issues
- Debug logging
- Getting help
# Developer Guide
- Using as a library
- Adding new commands
- Testing
- Contributing
Implementation Plan
Phase 1: README Simplification
- Move detailed content to docs
- Keep only essential getting-started info
- Add clear links to documentation
Phase 2: Command Documentation
- Create one page per command group
- Include:
- Command syntax
- All flags/options
- Real-world examples
- Common patterns
- Related commands
Phase 3: Tutorials and Guides
- Create task-oriented guides
- Focus on common workflows
- Include troubleshooting tips
Phase 4: Reference Documentation
- Auto-generate from CLI help where possible
- Maintain comprehensive option reference
- Keep updated with new features
Benefits
- For new users: Clear path from installation to first success
- For regular users: Easy-to-find command reference
- For power users: Complete API documentation
- For developers: Clear contribution guidelines
Considerations
- Keep docs in sync with code (consider auto-generation)
- Ensure all examples are tested and working
- Add search functionality to docs site
- Consider versioned documentation for major releases
Next Steps
- Get feedback on proposed structure
- Create tracking issues for each phase
- Start with README simplification
- Gradually migrate content to new structure
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request