Hwaro::Services
Constants
CHECK_GROUPS = [CheckGroup.new(key: :config, default_heading: "config.toml", checks: [CheckSpec.new("file present & parseable", ["config-not-found", "config-parse-error"]), CheckSpec.new("base_url, title", ["base-url-missing", "base-url-trailing-slash", "title-default"]), CheckSpec.new("sitemap (changefreq, priority)", ["sitemap-changefreq-invalid", "sitemap-priority-range"]), CheckSpec.new("taxonomies (duplicates)", ["taxonomy-duplicate", "language-duplicate"]), CheckSpec.new("search (format)", ["search-format-invalid"]), CheckSpec.new("languages (default_language resolves)", ["default-language-undefined"]), CheckSpec.new("markdown / pwa (valid enums)", ["markdown-math-engine-invalid", "pwa-cache-strategy-invalid"]), CheckSpec.new("deployment / related (refs resolve)", ["deployment-target-undefined", "related-taxonomy-undefined"]), CheckSpec.new("referenced files & dirs", ["config-path-missing", "config-dir-missing"])]), CheckGroup.new(key: :templates, default_heading: "templates/", checks: [CheckSpec.new("required files (page.html, section.html)", ["template-dir-missing", "template-required-missing"]), CheckSpec.new("template syntax", ["template-syntax-error", "template-read-error"])]), CheckGroup.new(key: :content, default_heading: "content/", checks: [CheckSpec.new("front matter (TOML/YAML parse)", ["content-frontmatter-invalid", "content-read-error"])])]
Single source of truth for the inline status lines emitted by
hwaro doctor. Anything that adds a new diagnostic to
Services::Doctor should also list its issue id(s) here so the
check shows up in human output. The previous duplication —
one list in this service and another in the CLI command — is
gone, so updating one place is enough.
Nested types
- Hwaro::Services::CIConfig
- Hwaro::Services::ChangeSet
- Hwaro::Services::CharsetHandler
- Hwaro::Services::CheckGroup
- Hwaro::Services::CheckSpec
- Hwaro::Services::ConfigSnippets
- Hwaro::Services::ContentFilter
- Hwaro::Services::ContentInfo
- Hwaro::Services::ContentLister
- Hwaro::Services::ContentStats
- Hwaro::Services::ContentValidator
- Hwaro::Services::ConversionResult
- Hwaro::Services::Creator
- Hwaro::Services::CustomHeadersHandler
- Hwaro::Services::Defaults
- Hwaro::Services::Deployer
- Hwaro::Services::DevCorsHandler
- Hwaro::Services::Doctor
- Hwaro::Services::Exporters
- Hwaro::Services::FrontmatterConverter
- Hwaro::Services::FrontmatterFormat
- Hwaro::Services::GithubActionsWorkflow
- Hwaro::Services::Importers
- Hwaro::Services::IndexRewriteHandler
- Hwaro::Services::Initializer
- Hwaro::Services::Issue
- Hwaro::Services::LiveReloadHandler
- Hwaro::Services::LiveReloadInjectHandler
- Hwaro::Services::NoCacheHandler
- Hwaro::Services::NotFoundHandler
- Hwaro::Services::PlatformConfig
- Hwaro::Services::Scaffolds
- Hwaro::Services::Server
- Hwaro::Services::StatsResult
- Hwaro::Services::UnusedAssets
- Hwaro::Services::UnusedAssetsResult