Skip to content

infra: restore validation scripts #114

@marc0olo

Description

@marc0olo

Context

Validation scripts from restructuring-attempt-1 need to be restored and updated for the current structure.

Scripts to restore

  • scripts/validate-frontmatter.mjs — checks all pages have required frontmatter fields (title + description)

Steps

  1. Check out restructuring-attempt-1 to review the original script
  2. Adapt for current directory layout (docs/ not src/content/docs/)
  3. Update frontmatter schema check to match current schema (title + description required)
  4. Add to package.json as npm run validate
  5. Wire into CI (see infra: restore sync scripts #115)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions