validator/ holds mewslint (lint, css, fetch, DTD/CSS data); directory/ holds the mews.page service (app, db, check, pages, cli) and depends on validator/; quickstart/ holds mews-quickstart and md2mews.py for third parties who want to create Mews content without cloning the repo; spec/ consolidates doc/ and dtd/ with the canonical mews-0.1.css; site/ becomes a Pelican project with the forward-facing pages as Markdown, the check form kept as a raw HTML snippet. Root pyproject.toml is now a virtual uv workspace over validator, directory and quickstart, with cross-cutting tests that span more than one of them staying at the repo root. Makefile and flake.nix updated to match.
384 B
384 B
Packaged copies
The canonical files live in the repository's spec/ folder (mews-0.1.css
and mews-0.1.dtd), where SPEC.md and spec/check_dtd.py reference them.
These copies exist so the validator still finds them when it is installed as
a wheel, with nothing but the package on disk. tests/test_data.py at the
repository root fails if a copy and its original drift apart.