From a53ccb7643562f59a508389d91a08a90e1ef9d5d Mon Sep 17 00:00:00 2001 From: Yauhen Yakimovich Date: Wed, 25 Nov 2026 21:20:13 +0100 Subject: [PATCH] docs(site): the cover names HyperMarkDown 0.1, released, not a draft The cover said the tools implement specification 0.1, a draft, after 0.1.0 was released and 0.1.1 followed. It now names the 0.1 release line and links the specification. A test checks the line against the Version callout and fails if the cover says draft again. --- doc/index.md | 8 ++++---- doc/status/pages.hmd | 8 ++++++++ tests/test_docs.py | 17 +++++++++++++++++ 3 files changed, 29 insertions(+), 4 deletions(-) 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.

@@ -718,7 +718,7 @@ summary of each card beside it is planned and not built. | | What it is | Links by name | Embeds | Links checked | Cells that run | Readable as plain text | Specification | | -------------- | ---------- | ------------- | ------ | ------------- | -------------- | ---------------------- | ------------- | -| **HyperMarkDown** | Markdown with links by name, embeds, metadata and cells | `[[card]]`, to a card, a heading or a block | `![[card#^block]]`: a card, a section or a block | `hmd lint`: every `[[link]]` and embed, from the command line | HQL cells; output saved in the card | Yes | Yes, for links, embeds and metadata; 0.1 is a draft | +| **HyperMarkDown** | Markdown with links by name, embeds, metadata and cells | `[[card]]`, to a card, a heading or a block | `![[card#^block]]`: a card, a section or a block | `hmd lint`: every `[[link]]` and embed, from the command line | HQL cells; output saved in the card | Yes | Yes, for links, embeds and metadata; HyperMarkDown 0.1, released | | CommonMark | Markdown specification | Paths and URLs | No | Not part of the specification | No | Yes | Yes | | GFM | CommonMark with tables, task lists, strikethrough and autolinks | Paths and URLs | No | Not part of the specification | No | Yes | Yes | | Obsidian | Note-taking app over Markdown files | `[[Note]]`, to a note, a heading or a block | `![[Note#^block]]`: a note, a heading or a block | In the app; its CLI lists unresolved links while the app runs | Not built in | Yes | Help pages; no formal specification | @@ -729,7 +729,7 @@ summary of each card beside it is planned and not built.
-

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: