Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions doc/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ code --install-extension hypermarkdown.hmd
pip install HyperMarkDown
```

<p class="hmd-fineprint hmd-fineprint--hero" markdown>The tools implement specification 0.1, a draft.</p>
<p class="hmd-fineprint hmd-fineprint--hero" markdown>The tools implement [HyperMarkDown 0.1](wiki/hmd-lang-spec.hmd), the released specification.</p>

</div>
<div class="hmd-term" markdown>
Expand Down Expand Up @@ -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 |
Expand All @@ -729,7 +729,7 @@ summary of each card beside it is planned and not built.

</div>

<p class="hmd-fineprint" markdown>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.</p>
<p class="hmd-fineprint" markdown>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.</p>

</section>

Expand Down Expand Up @@ -782,6 +782,6 @@ hmd lint

</div>

<p class="hmd-fineprint" markdown>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.</p>
<p class="hmd-fineprint" markdown>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.</p>

</section>
8 changes: 8 additions & 0 deletions doc/status/pages.hmd
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
17 changes: 17 additions & 0 deletions tests/test_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading