Multiple globs in one site configuration
- Dominant language
- JavaScript
- Stars
- 598
- Forks
- 371
- PR merge metrics
- No merged PRs in 30d
Description
Would be a big win for readability if multiple `GlobObject` specs were allowed on a `siteConfig`.
E.g.
```
"sites": {
"docs": {
"parent" : "root",
"dest" : "./out",
"glob" : [{
"pattern" : "docs/**/*.md"
}, {
"cwd" : "../Scripts/some-namespace",
"pattern" : "{cherry,picked,files}.js"
}, {
"cwd" : "../Scripts/some-other-namespace",
"pattern" : "**/*.js",
"ignore" : "{ignore,only,these,files}.js"
}]
}
}
```
Having to roll that up into one glob leads to an unreadable, unmaintainable mess.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the siteConfig and GlobObject definitions and the existing glob-processing entry point. Compare how one glob is currently parsed with the issue's array example. Done means a site configuration accepts multiple GlobObject specs, including separate cwd, pattern, and ignore values, while preserving existing single-glob behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- documentation
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100