|
| 1 | +# Documentation Reorganization Plan |
| 2 | + |
| 3 | +## Objective |
| 4 | + |
| 5 | +Consolidate all documentation from `docs/commands/` into `docs/guides/`, ensuring each CLI function has a comprehensive guide. Review all documents for quality, consistency, and style using `docs/guides/install.md` as the exemplar. Split the existing backup-restore guide into separate backup and restore documents. |
| 6 | + |
| 7 | +## Critical Rules |
| 8 | + |
| 9 | +1. **Use install.md as the style exemplar** - All documents must follow the structure, formatting, and tone of `docs/guides/install.md` |
| 10 | +2. **One page at a time** - Complete each document fully before moving to the next |
| 11 | +3. **Configure redirects** - Add redirect mappings in `mkdocs.yml` for all moved/renamed pages |
| 12 | +4. **Preserve content** - Do not delete information; reorganize and improve it |
| 13 | +5. **Validate after each change** - Ensure mkdocs builds successfully after each document update |
| 14 | + |
| 15 | +## Execution Plan |
| 16 | + |
| 17 | +### Phase 1: Split Backup-Restore Guide |
| 18 | + |
| 19 | +- [ ] **1.1** Create `docs/guides/backup.md` from backup-restore.md content |
| 20 | +- [ ] **1.2** Create `docs/guides/restore.md` from backup-restore.md content |
| 21 | +- [ ] **1.3** Update mkdocs.yml navigation and add redirects |
| 22 | +- [ ] **1.4** Delete obsolete backup-restore.md and command files |
| 23 | +- [ ] **1.5** Validate Phase 1 |
| 24 | + |
| 25 | +### Phase 2: Migrate Must-Gather Command |
| 26 | + |
| 27 | +- [ ] **2.1** Create comprehensive `docs/guides/must-gather.md` |
| 28 | +- [ ] **2.2** Update mkdocs.yml with navigation and redirect |
| 29 | +- [ ] **2.3** Delete `docs/commands/must-gather.md` |
| 30 | +- [ ] **2.4** Validate Phase 2 |
| 31 | + |
| 32 | +### Phase 3: Migrate Airgap Configuration |
| 33 | + |
| 34 | +- [ ] **3.1** Create comprehensive `docs/guides/configure-airgap.md` |
| 35 | +- [ ] **3.2** Update mkdocs.yml with navigation and redirect |
| 36 | +- [ ] **3.3** Delete `docs/commands/configure-airgap.md` |
| 37 | +- [ ] **3.4** Validate Phase 3 |
| 38 | + |
| 39 | +### Phase 4: Migrate Registry Commands |
| 40 | + |
| 41 | +- [ ] **4.1** Create `docs/guides/setup-registry.md` |
| 42 | +- [ ] **4.2** Create `docs/guides/teardown-registry.md` |
| 43 | +- [ ] **4.3** Update mkdocs.yml with navigation and redirects |
| 44 | +- [ ] **4.4** Delete obsolete command files |
| 45 | +- [ ] **4.5** Validate Phase 4 |
| 46 | + |
| 47 | +### Phase 5: Migrate Provisioning Commands ✅ COMPLETED |
| 48 | + |
| 49 | +- [x] **5.1** Create `docs/guides/provision-fyre.md` |
| 50 | +- [x] **5.2** Create `docs/guides/provision-roks.md` |
| 51 | +- [x] **5.3** Create `docs/guides/provision-rosa.md` |
| 52 | +- [x] **5.4** Create `docs/guides/provision-aws.md` |
| 53 | +- [x] **5.5** Update mkdocs.yml with navigation and redirects |
| 54 | +- [x] **5.6** Delete obsolete provisioning command files |
| 55 | +- [x] **5.7** Validate Phase 5 - mkdocs serving successfully |
| 56 | + |
| 57 | +### Phase 6: Migrate Remaining Commands |
| 58 | + |
| 59 | +- [ ] **6.1** Create `docs/guides/mirror-redhat-images.md` |
| 60 | +- [ ] **6.2** Create `docs/guides/configtool-oidc.md` |
| 61 | +- [ ] **6.3** Create `docs/guides/debug.md` if needed |
| 62 | +- [ ] **6.4** Update mkdocs.yml and remove Command Reference section |
| 63 | +- [ ] **6.5** Delete all remaining command files |
| 64 | +- [ ] **6.6** Validate Phase 6 |
| 65 | + |
| 66 | +### Phase 7: Review Existing Guides |
| 67 | + |
| 68 | +- [ ] **7.1** Review `docs/guides/install.md` |
| 69 | +- [ ] **7.2** Review `docs/guides/update.md` |
| 70 | +- [ ] **7.3** Review `docs/guides/upgrade.md` |
| 71 | +- [ ] **7.4** Review `docs/guides/uninstall.md` |
| 72 | +- [ ] **7.5** Review `docs/guides/aiservice-install.md` |
| 73 | +- [ ] **7.6** Review `docs/guides/image-mirroring.md` |
| 74 | +- [ ] **7.7** Review `docs/guides/image-validation.md` |
| 75 | +- [ ] **7.8** Validate Phase 7 |
| 76 | + |
| 77 | +### Phase 8: Final Cleanup |
| 78 | + |
| 79 | +- [ ] **8.1** Verify docs/commands directory is empty or removed |
| 80 | +- [ ] **8.2** Review all redirects in mkdocs.yml |
| 81 | +- [ ] **8.3** Review navigation structure |
| 82 | +- [ ] **8.4** Build and test documentation |
| 83 | +- [ ] **8.5** Create summary of changes |
| 84 | + |
| 85 | +## Validation |
| 86 | + |
| 87 | +After each phase run `mkdocs serve` and verify builds, navigation, and redirects work correctly. |
0 commit comments