diff --git a/doc/index.md b/doc/index.md index 48a9cde..c0cfe1d 100644 --- a/doc/index.md +++ b/doc/index.md @@ -30,7 +30,7 @@ code --install-extension hypermarkdown.hmd pip install HyperMarkDown ``` -
The tools implement specification 0.1, a draft.
+The tools implement [HyperMarkDown 0.1](wiki/hmd-lang-spec.hmd), the released specification.
Each row other than the first was checked against that project's own documentation on 2026-11-22. "Not documented" means the documentation does not say. The columns are the things HyperMarkDown is for. It is also the youngest row: a draft specification, one editor extension, and GitHub shows a `.hmd` file as source and does not render it.
+Each row other than the first was checked against that project's own documentation on 2026-11-22. "Not documented" means the documentation does not say. The columns are the things HyperMarkDown is for. It is also the youngest row: a first 0.x specification, one editor extension, and GitHub shows a `.hmd` file as source and does not render it.
@@ -782,6 +782,6 @@ hmd lint -What each install gives you is the [Quick start](tools/index.md). The tools implement specification 0.1, a draft; released versions are on the [Roadmap](public/roadmap.hmd). Code is MIT, documentation and specifications are CC BY 4.0.
+What each install gives you is the [Quick start](tools/index.md). The tools implement HyperMarkDown 0.1; released versions are on the [Roadmap](public/roadmap.hmd). Code is MIT, documentation and specifications are CC BY 4.0.
diff --git a/doc/status/pages.hmd b/doc/status/pages.hmd index 6a43026..62a7a49 100644 --- a/doc/status/pages.hmd +++ b/doc/status/pages.hmd @@ -92,6 +92,12 @@ revisiting is that maths loads from a CDN at view time. ## Done +- **The cover names the released language** — it says the tools implement + HyperMarkDown 0.1, links the specification, and no longer calls it a draft. + The cover names the release line and not the patch, so a patch release + leaves it true, and a test fails when the line differs from the + specification's Version callout or the word "draft" returns + [`tests/test_docs.py`]. - **The documentation is written in HyperMarkDown** — the chapters, the trackers, the issues, the memory notes, the models, and the companion notes of the proposals are `.hmd` cards, and `hmd lint` checks all @@ -209,6 +215,8 @@ run permanently. ## Changelog +- 2026-11-25: the cover stops calling the specification a draft and names + HyperMarkDown 0.1, checked against the Version callout. - 2026-11-25: the feature list and the interop sketch removed, and every reference to them repointed at Features or dropped. - 2026-11-25: Features moved into Language; Learn regrouped; the Wiki tab diff --git a/tests/test_docs.py b/tests/test_docs.py index 5385db1..04c0d1d 100644 --- a/tests/test_docs.py +++ b/tests/test_docs.py @@ -165,6 +165,23 @@ def test_the_language_version_has_a_changelog_section(): f" version table says {row.group(1)}. Bump the table." ) + # The cover names the language's release line, X.Y, and never a full + # version (see `test_the_cover_states_no_tool_version`), so a patch release + # leaves it true. It once said "0.1, a draft" after 0.1.0 was released, so + # every line it names must be the callout's, and it must not say "draft". + line = ".".join(version.split(".")[:2]) + cover = (ROOT / "doc" / "index.md").read_text(encoding="utf-8") + named = re.findall(r"HyperMarkDown (\d+\.\d+)\b", cover) + assert named, "the cover no longer names the language's release line" + stale = sorted({v for v in named if v != line}) + assert not stale, ( + f"the spec card specifies HyperMarkDown {version}, and doc/index.md" + f" names the {', '.join(stale)} line. Bump the cover to {line}." + ) + assert not re.search(r"\bdraft\b", cover, re.I), ( + "doc/index.md calls the specification a draft; the language is released" + ) + @pytest.fixture(scope="module") def built_site(tmp_path_factory) -> Path: