feat(tasks): add test:hugo task for Hugo-only testing
- Add test:hugo for fast Hugo-only tests (no LikeC4) - Update technical writer docs with new task
This commit is contained in:
parent
82d424aeca
commit
4935913002
2 changed files with 15 additions and 4 deletions
|
|
@ -59,6 +59,13 @@ tasks:
|
|||
- test:html
|
||||
- likec4:validate
|
||||
|
||||
test:hugo:
|
||||
desc: Run Hugo-only tests (markdown, HTML, build)
|
||||
deps:
|
||||
- test:build
|
||||
- test:markdown
|
||||
- test:html
|
||||
|
||||
test:full:
|
||||
desc: Run all tests including link check (may have errors in legacy content)
|
||||
deps:
|
||||
|
|
|
|||
|
|
@ -58,8 +58,11 @@ Your content here...
|
|||
### 4. Test and Commit
|
||||
|
||||
```bash
|
||||
# Run tests
|
||||
task test:quick
|
||||
# Run tests (fastest - Hugo only)
|
||||
task test:hugo
|
||||
|
||||
# Or run full tests (includes LikeC4 validation)
|
||||
task test
|
||||
|
||||
# Commit your changes
|
||||
git add .
|
||||
|
|
@ -223,8 +226,9 @@ task --list
|
|||
| `task serve` | Start dev server with hot reload |
|
||||
| `task build` | Build production site |
|
||||
| `task clean` | Remove build artifacts |
|
||||
| `task test` | Run all tests (build, markdown, HTML, links) |
|
||||
| `task test:quick` | Run quick tests (build, markdown) |
|
||||
| `task test` | Run all tests (includes LikeC4) |
|
||||
| `task test:hugo` | Run Hugo-only tests (fastest) |
|
||||
| `task test:full` | All tests + link checking |
|
||||
|
||||
### LikeC4 Tasks
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue