mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-19 02:17:09 +00:00
docs: update sync and doctor pages for .skillignore visibility
- sync: add ignored_count/ignored_skills to JSON example, note about .skillignore filtering - doctor: add Skillignore to environment checks table, update example output with skillignore line and visual spacing
This commit is contained in:
@@ -29,7 +29,12 @@ skillshare doctor
|
||||
|
||||
Checking environment
|
||||
✓ Config: ~/.config/skillshare/config.yaml
|
||||
→ Config directory: ~/.config/skillshare
|
||||
→ Data directory: ~/.local/share/skillshare
|
||||
→ State directory: ~/.local/state/skillshare
|
||||
|
||||
✓ Source: ~/.config/skillshare/skills (12 skills)
|
||||
✓ Skillignore: 2 patterns, 1 skills ignored
|
||||
✓ Link support: OK
|
||||
✓ Git: initialized with remote
|
||||
|
||||
@@ -54,6 +59,7 @@ Summary
|
||||
|-------|-----------------|
|
||||
| Config | Config file exists and is valid |
|
||||
| Source | Source directory exists and is readable |
|
||||
| Skillignore | `.skillignore` active patterns and ignored skill count |
|
||||
| Link support | System can create symlinks |
|
||||
| Git | Repository status and remote configuration |
|
||||
|
||||
|
||||
@@ -113,6 +113,8 @@ skillshare sync --json
|
||||
"local": 2,
|
||||
"updated": 0,
|
||||
"pruned": 1,
|
||||
"ignored_count": 2,
|
||||
"ignored_skills": ["_team/vendor/lib", "test-draft"],
|
||||
"dry_run": false,
|
||||
"duration": "0.234s",
|
||||
"details": [
|
||||
@@ -136,6 +138,8 @@ skillshare sync --json
|
||||
}
|
||||
```
|
||||
|
||||
The `ignored_count` and `ignored_skills` fields show skills excluded by `.skillignore`. These are filtered at discovery time and never reach any target. See [.skillignore](/docs/reference/targets/configuration#skillignore) for pattern syntax.
|
||||
|
||||
### What Happens
|
||||
|
||||
```mermaid
|
||||
|
||||
Reference in New Issue
Block a user