hypermarkdown 0.5.0__tar.gz → 0.5.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {hypermarkdown-0.5.0 → hypermarkdown-0.5.1}/CHANGELOG.md +14 -2
- {hypermarkdown-0.5.0/src/hypermarkdown.egg-info → hypermarkdown-0.5.1}/PKG-INFO +13 -11
- {hypermarkdown-0.5.0 → hypermarkdown-0.5.1}/README.md +12 -10
- {hypermarkdown-0.5.0 → hypermarkdown-0.5.1}/src/hypermarkdown/__init__.py +1 -1
- {hypermarkdown-0.5.0 → hypermarkdown-0.5.1}/src/hypermarkdown/config.py +2 -2
- {hypermarkdown-0.5.0 → hypermarkdown-0.5.1/src/hypermarkdown.egg-info}/PKG-INFO +13 -11
- {hypermarkdown-0.5.0 → hypermarkdown-0.5.1}/LICENSE +0 -0
- {hypermarkdown-0.5.0 → hypermarkdown-0.5.1}/MANIFEST.in +0 -0
- {hypermarkdown-0.5.0 → hypermarkdown-0.5.1}/pyproject.toml +0 -0
- {hypermarkdown-0.5.0 → hypermarkdown-0.5.1}/setup.cfg +0 -0
- {hypermarkdown-0.5.0 → hypermarkdown-0.5.1}/src/hypermarkdown/cli.py +0 -0
- {hypermarkdown-0.5.0 → hypermarkdown-0.5.1}/src/hypermarkdown/diagram.py +0 -0
- {hypermarkdown-0.5.0 → hypermarkdown-0.5.1}/src/hypermarkdown/embed.py +0 -0
- {hypermarkdown-0.5.0 → hypermarkdown-0.5.1}/src/hypermarkdown/frontmatter.py +0 -0
- {hypermarkdown-0.5.0 → hypermarkdown-0.5.1}/src/hypermarkdown/frontmatter_position.py +0 -0
- {hypermarkdown-0.5.0 → hypermarkdown-0.5.1}/src/hypermarkdown/graph.py +0 -0
- {hypermarkdown-0.5.0 → hypermarkdown-0.5.1}/src/hypermarkdown/highlight.py +0 -0
- {hypermarkdown-0.5.0 → hypermarkdown-0.5.1}/src/hypermarkdown/imports.py +0 -0
- {hypermarkdown-0.5.0 → hypermarkdown-0.5.1}/src/hypermarkdown/lint/__init__.py +0 -0
- {hypermarkdown-0.5.0 → hypermarkdown-0.5.1}/src/hypermarkdown/lint/report.py +0 -0
- {hypermarkdown-0.5.0 → hypermarkdown-0.5.1}/src/hypermarkdown/lint/rules.py +0 -0
- {hypermarkdown-0.5.0 → hypermarkdown-0.5.1}/src/hypermarkdown/mkdocs_plugin.py +0 -0
- {hypermarkdown-0.5.0 → hypermarkdown-0.5.1}/src/hypermarkdown/model.py +0 -0
- {hypermarkdown-0.5.0 → hypermarkdown-0.5.1}/src/hypermarkdown/parse.py +0 -0
- {hypermarkdown-0.5.0 → hypermarkdown-0.5.1}/src/hypermarkdown/render/__init__.py +0 -0
- {hypermarkdown-0.5.0 → hypermarkdown-0.5.1}/src/hypermarkdown/render/flat.py +0 -0
- {hypermarkdown-0.5.0 → hypermarkdown-0.5.1}/src/hypermarkdown/render/ids.py +0 -0
- {hypermarkdown-0.5.0 → hypermarkdown-0.5.1}/src/hypermarkdown/resolve.py +0 -0
- {hypermarkdown-0.5.0 → hypermarkdown-0.5.1}/src/hypermarkdown/scan.py +0 -0
- {hypermarkdown-0.5.0 → hypermarkdown-0.5.1}/src/hypermarkdown/urls.py +0 -0
- {hypermarkdown-0.5.0 → hypermarkdown-0.5.1}/src/hypermarkdown.egg-info/SOURCES.txt +0 -0
- {hypermarkdown-0.5.0 → hypermarkdown-0.5.1}/src/hypermarkdown.egg-info/dependency_links.txt +0 -0
- {hypermarkdown-0.5.0 → hypermarkdown-0.5.1}/src/hypermarkdown.egg-info/entry_points.txt +0 -0
- {hypermarkdown-0.5.0 → hypermarkdown-0.5.1}/src/hypermarkdown.egg-info/requires.txt +0 -0
- {hypermarkdown-0.5.0 → hypermarkdown-0.5.1}/src/hypermarkdown.egg-info/top_level.txt +0 -0
|
@@ -13,6 +13,17 @@ only for the Python API.
|
|
|
13
13
|
|
|
14
14
|
## [Unreleased]
|
|
15
15
|
|
|
16
|
+
## [0.5.1] — 2026-11-25
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
- **A tree with no vault says "vault not found".** With no `.hmd/` in the
|
|
20
|
+
start directory or above it, and no `--root`, every command still exits 2,
|
|
21
|
+
and the error now reads the way git's does outside a repository. It starts
|
|
22
|
+
with "vault not found", names the directory searched from, and says to run
|
|
23
|
+
`hmd init` to initialize a vault or to pass `--root`.
|
|
24
|
+
- The README describes `location_path` and `hmd init --location-path`, where it
|
|
25
|
+
still described the `wiki` setting and the `--wiki` flag that 0.5.0 removed.
|
|
26
|
+
|
|
16
27
|
## [0.5.0] — 2026-11-25
|
|
17
28
|
|
|
18
29
|
### Added
|
|
@@ -161,7 +172,7 @@ only for the Python API.
|
|
|
161
172
|
## [0.4.0] — 2026-11-15
|
|
162
173
|
|
|
163
174
|
### Added
|
|
164
|
-
- **Markdown files are cards** ([HMD-0029](https://github.com/ewiger/hypermarkdown/blob/main/doc/proposals/HMD-0029/
|
|
175
|
+
- **Markdown files are cards** ([HMD-0029](https://github.com/ewiger/hypermarkdown/blob/main/doc/proposals/HMD-0029/index.hmd)).
|
|
165
176
|
A `.md` or `.markdown` file below the namespace root loads as a Markdown card:
|
|
166
177
|
`[[guide]]` resolves to `guide.md`, `[[guide#Install]]` checks its headings,
|
|
167
178
|
and `![[guide]]` transcludes its body. Its body is not scanned and not
|
|
@@ -457,7 +468,8 @@ Deliberate, and tracked per proposal under `doc/proposals/HMD-NNNN/STATUS.md`:
|
|
|
457
468
|
Both specifications — the format and the site — are still `drafted`. Expect the
|
|
458
469
|
format to move before `1.0`.
|
|
459
470
|
|
|
460
|
-
[Unreleased]: https://github.com/ewiger/hypermarkdown/compare/v0.5.
|
|
471
|
+
[Unreleased]: https://github.com/ewiger/hypermarkdown/compare/v0.5.1...HEAD
|
|
472
|
+
[0.5.1]: https://github.com/ewiger/hypermarkdown/compare/v0.5.0...v0.5.1
|
|
461
473
|
[0.5.0]: https://github.com/ewiger/hypermarkdown/compare/v0.4.0...v0.5.0
|
|
462
474
|
[0.4.0]: https://github.com/ewiger/hypermarkdown/compare/v0.3.1...v0.4.0
|
|
463
475
|
[0.3.1]: https://github.com/ewiger/hypermarkdown/compare/v0.3.0...v0.3.1
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: hypermarkdown
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.1
|
|
4
4
|
Summary: A strict, machine-checkable markdown dialect for project knowledge bases.
|
|
5
5
|
Author: Yauhen Yakimovich
|
|
6
6
|
License-Expression: MIT
|
|
@@ -55,8 +55,8 @@ Dynamic: license-file
|
|
|
55
55
|
HyperMarkDown (`.hmd`) is ordinary GitHub-flavored markdown plus the part HTML
|
|
56
56
|
had on its first day: a link that means something, a page that can be made out
|
|
57
57
|
of other pages, a document that is part of a web rather than a file in a folder.
|
|
58
|
-
Every `.md` file is already valid `.hmd
|
|
59
|
-
time.
|
|
58
|
+
Every `.md` file is already valid `.hmd`. Once a tree has a `.hmd/` directory
|
|
59
|
+
at its top, which `hmd init` creates, it can be adopted one file at a time.
|
|
60
60
|
|
|
61
61
|
This distribution is the **canonical implementation** of that format. It ships
|
|
62
62
|
three things:
|
|
@@ -154,23 +154,25 @@ Every other key is yours, and nothing will inspect it.
|
|
|
154
154
|
| `hmd info` | Show the resolved root and discovery policy |
|
|
155
155
|
| `hmd --version` | Print the installed version |
|
|
156
156
|
|
|
157
|
-
The `
|
|
158
|
-
the vault, the directory holding `.hmd/`, the cards start
|
|
159
|
-
|
|
160
|
-
namespace root, and every command but `init` takes
|
|
157
|
+
The `location_path` setting in `.hmd/config.toml` is the cards location: where
|
|
158
|
+
inside the vault, the directory holding `.hmd/`, the cards start. It defaults
|
|
159
|
+
to `.`, the vault itself, so an empty `.hmd/` directory is a complete vault. The
|
|
160
|
+
directory it names is the namespace root, and every command but `init` takes
|
|
161
|
+
`--root` to override it. A config that still sets `wiki`, the setting's name
|
|
162
|
+
before HyperMarkDown 0.1, is refused. A
|
|
161
163
|
`.hmd/` directory doubles as the project root marker, so any subtree can be
|
|
162
164
|
self-contained, and it is the only marker: a `.git` directory is not one, so a
|
|
163
165
|
tree with no `.hmd/` above it needs `--root`.
|
|
164
166
|
|
|
165
167
|
```bash
|
|
166
168
|
hmd init # here; the namespace is named after the directory
|
|
167
|
-
hmd init path/to/project --
|
|
169
|
+
hmd init path/to/project --location-path notes --name shared
|
|
168
170
|
```
|
|
169
171
|
|
|
170
172
|
`init` writes every setting at its default rather than leaving them implicit —
|
|
171
|
-
the file is where you find out which keys exist. It creates the
|
|
172
|
-
alongside the config, since a `
|
|
173
|
-
every later command reports. It refuses to replace a config it did not write;
|
|
173
|
+
the file is where you find out which keys exist. It creates the directory
|
|
174
|
+
`--location-path` names alongside the config, since a `location_path` setting
|
|
175
|
+
that points at nothing is an error every later command reports. It refuses to replace a config it did not write;
|
|
174
176
|
`--force` overrides that.
|
|
175
177
|
|
|
176
178
|
The `[namespace]` section names this tree so another project can bind to it and
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
HyperMarkDown (`.hmd`) is ordinary GitHub-flavored markdown plus the part HTML
|
|
18
18
|
had on its first day: a link that means something, a page that can be made out
|
|
19
19
|
of other pages, a document that is part of a web rather than a file in a folder.
|
|
20
|
-
Every `.md` file is already valid `.hmd
|
|
21
|
-
time.
|
|
20
|
+
Every `.md` file is already valid `.hmd`. Once a tree has a `.hmd/` directory
|
|
21
|
+
at its top, which `hmd init` creates, it can be adopted one file at a time.
|
|
22
22
|
|
|
23
23
|
This distribution is the **canonical implementation** of that format. It ships
|
|
24
24
|
three things:
|
|
@@ -116,23 +116,25 @@ Every other key is yours, and nothing will inspect it.
|
|
|
116
116
|
| `hmd info` | Show the resolved root and discovery policy |
|
|
117
117
|
| `hmd --version` | Print the installed version |
|
|
118
118
|
|
|
119
|
-
The `
|
|
120
|
-
the vault, the directory holding `.hmd/`, the cards start
|
|
121
|
-
|
|
122
|
-
namespace root, and every command but `init` takes
|
|
119
|
+
The `location_path` setting in `.hmd/config.toml` is the cards location: where
|
|
120
|
+
inside the vault, the directory holding `.hmd/`, the cards start. It defaults
|
|
121
|
+
to `.`, the vault itself, so an empty `.hmd/` directory is a complete vault. The
|
|
122
|
+
directory it names is the namespace root, and every command but `init` takes
|
|
123
|
+
`--root` to override it. A config that still sets `wiki`, the setting's name
|
|
124
|
+
before HyperMarkDown 0.1, is refused. A
|
|
123
125
|
`.hmd/` directory doubles as the project root marker, so any subtree can be
|
|
124
126
|
self-contained, and it is the only marker: a `.git` directory is not one, so a
|
|
125
127
|
tree with no `.hmd/` above it needs `--root`.
|
|
126
128
|
|
|
127
129
|
```bash
|
|
128
130
|
hmd init # here; the namespace is named after the directory
|
|
129
|
-
hmd init path/to/project --
|
|
131
|
+
hmd init path/to/project --location-path notes --name shared
|
|
130
132
|
```
|
|
131
133
|
|
|
132
134
|
`init` writes every setting at its default rather than leaving them implicit —
|
|
133
|
-
the file is where you find out which keys exist. It creates the
|
|
134
|
-
alongside the config, since a `
|
|
135
|
-
every later command reports. It refuses to replace a config it did not write;
|
|
135
|
+
the file is where you find out which keys exist. It creates the directory
|
|
136
|
+
`--location-path` names alongside the config, since a `location_path` setting
|
|
137
|
+
that points at nothing is an error every later command reports. It refuses to replace a config it did not write;
|
|
136
138
|
`--force` overrides that.
|
|
137
139
|
|
|
138
140
|
The `[namespace]` section names this tree so another project can bind to it and
|
|
@@ -140,8 +140,8 @@ def load(root_override: Path | None = None, start: Path | None = None) -> Config
|
|
|
140
140
|
project = find_project_root(start)
|
|
141
141
|
if project is None:
|
|
142
142
|
raise ConfigError(
|
|
143
|
-
f"no
|
|
144
|
-
f"Run `hmd init
|
|
143
|
+
f"vault not found: no .hmd/ directory in {start} or any directory above it. "
|
|
144
|
+
f"Run `hmd init` to initialize a vault, or pass --root to name the namespace root directly."
|
|
145
145
|
)
|
|
146
146
|
|
|
147
147
|
data, source = _read(project)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: hypermarkdown
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.1
|
|
4
4
|
Summary: A strict, machine-checkable markdown dialect for project knowledge bases.
|
|
5
5
|
Author: Yauhen Yakimovich
|
|
6
6
|
License-Expression: MIT
|
|
@@ -55,8 +55,8 @@ Dynamic: license-file
|
|
|
55
55
|
HyperMarkDown (`.hmd`) is ordinary GitHub-flavored markdown plus the part HTML
|
|
56
56
|
had on its first day: a link that means something, a page that can be made out
|
|
57
57
|
of other pages, a document that is part of a web rather than a file in a folder.
|
|
58
|
-
Every `.md` file is already valid `.hmd
|
|
59
|
-
time.
|
|
58
|
+
Every `.md` file is already valid `.hmd`. Once a tree has a `.hmd/` directory
|
|
59
|
+
at its top, which `hmd init` creates, it can be adopted one file at a time.
|
|
60
60
|
|
|
61
61
|
This distribution is the **canonical implementation** of that format. It ships
|
|
62
62
|
three things:
|
|
@@ -154,23 +154,25 @@ Every other key is yours, and nothing will inspect it.
|
|
|
154
154
|
| `hmd info` | Show the resolved root and discovery policy |
|
|
155
155
|
| `hmd --version` | Print the installed version |
|
|
156
156
|
|
|
157
|
-
The `
|
|
158
|
-
the vault, the directory holding `.hmd/`, the cards start
|
|
159
|
-
|
|
160
|
-
namespace root, and every command but `init` takes
|
|
157
|
+
The `location_path` setting in `.hmd/config.toml` is the cards location: where
|
|
158
|
+
inside the vault, the directory holding `.hmd/`, the cards start. It defaults
|
|
159
|
+
to `.`, the vault itself, so an empty `.hmd/` directory is a complete vault. The
|
|
160
|
+
directory it names is the namespace root, and every command but `init` takes
|
|
161
|
+
`--root` to override it. A config that still sets `wiki`, the setting's name
|
|
162
|
+
before HyperMarkDown 0.1, is refused. A
|
|
161
163
|
`.hmd/` directory doubles as the project root marker, so any subtree can be
|
|
162
164
|
self-contained, and it is the only marker: a `.git` directory is not one, so a
|
|
163
165
|
tree with no `.hmd/` above it needs `--root`.
|
|
164
166
|
|
|
165
167
|
```bash
|
|
166
168
|
hmd init # here; the namespace is named after the directory
|
|
167
|
-
hmd init path/to/project --
|
|
169
|
+
hmd init path/to/project --location-path notes --name shared
|
|
168
170
|
```
|
|
169
171
|
|
|
170
172
|
`init` writes every setting at its default rather than leaving them implicit —
|
|
171
|
-
the file is where you find out which keys exist. It creates the
|
|
172
|
-
alongside the config, since a `
|
|
173
|
-
every later command reports. It refuses to replace a config it did not write;
|
|
173
|
+
the file is where you find out which keys exist. It creates the directory
|
|
174
|
+
`--location-path` names alongside the config, since a `location_path` setting
|
|
175
|
+
that points at nothing is an error every later command reports. It refuses to replace a config it did not write;
|
|
174
176
|
`--force` overrides that.
|
|
175
177
|
|
|
176
178
|
The `[namespace]` section names this tree so another project can bind to it and
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|