docs: add next steps for docs sync setup
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
d112dab0d1
commit
ef778936b6
1 changed files with 43 additions and 0 deletions
43
docs/plans/docs-sync-next-steps.md
Normal file
43
docs/plans/docs-sync-next-steps.md
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
# Docs Sync Setup - Next Steps
|
||||
|
||||
After moving repo to `~/Code/host-uk/core`:
|
||||
|
||||
## 1. Add to repos.yaml
|
||||
|
||||
Add this to `/Users/snider/Code/host-uk/repos.yaml` under `repos:`:
|
||||
|
||||
```yaml
|
||||
# CLI (Go)
|
||||
core:
|
||||
type: foundation
|
||||
description: Core CLI - build, release, deploy for Go/Wails/PHP/containers
|
||||
docs: true
|
||||
ci: github-actions
|
||||
```
|
||||
|
||||
## 2. Test docs sync
|
||||
|
||||
```bash
|
||||
cd ~/Code/host-uk
|
||||
core docs list # Should show "core" with docs
|
||||
core docs sync --dry-run # Preview what syncs
|
||||
```
|
||||
|
||||
## 3. Add CLI section to VitePress (core-php)
|
||||
|
||||
Edit `core-php/docs/.vitepress/config.js`:
|
||||
- Add `/cli/` to nav
|
||||
- Add sidebar for CLI commands
|
||||
|
||||
## 4. Sync and verify
|
||||
|
||||
```bash
|
||||
core docs sync --output ../core-php/docs/cli
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
Current state:
|
||||
- CLI docs written in `docs/cmd/*.md` (12 files)
|
||||
- `docs/index.md` updated with command table
|
||||
- All committed to git
|
||||
Loading…
Add table
Reference in a new issue