Functions
validate
🔍 Validate site health and content quality.
Runs health checks on your site to find errors, warnin…
validate
def validate(files: tuple[Path, ...], changed: bool, watch: bool, profile: str | None, verbose: bool, suggestions: bool, incremental: bool, traceback: str | None, source: str) -> None
🔍 Validate site health and content quality.
Runs health checks on your site to find errors, warnings, and issues. By default, shows only problems (errors and warnings).
Parameters 9
| Name | Type | Default | Description |
|---|---|---|---|
files |
tuple[Path, ...] |
— | |
changed |
bool |
— | |
watch |
bool |
— | |
profile |
str | None |
— | |
verbose |
bool |
— | |
suggestions |
bool |
— | |
incremental |
bool |
— | |
traceback |
str | None |
— | |
source |
str |
— |
_run_watch_mode
Run validation in watch mode - continuously validate on file changes.
_run_watch_mode
def _run_watch_mode(site: Site, build_profile: BuildProfile, verbose: bool, suggestions: bool, incremental: bool, cli: CLIOutput) -> None
Run validation in watch mode - continuously validate on file changes.
Parameters 6
| Name | Type | Default | Description |
|---|---|---|---|
site |
Site |
— | Site instance |
build_profile |
BuildProfile |
— | Build profile to use |
verbose |
bool |
— | Whether to show verbose output |
suggestions |
bool |
— | Whether to show suggestions |
incremental |
bool |
— | Whether to use incremental validation |
cli |
CLIOutput |
— | CLI output instance |