markupress 0.5.0 → 0.6.1
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.
- package/package.json +6 -6
- package/theme/chrome.html +1 -1
- package/theme/home.html +2 -2
- package/theme/shell.html +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "markupress",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "Versioned Markdown documentation built on HTMLKit and native declarative components.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"vitest": "5.0.4",
|
|
46
46
|
"playwright": "1.64.0",
|
|
47
47
|
"@axe-core/playwright": "4.13.0",
|
|
48
|
-
"@nextwebwg/html-next": "1.0.0-alpha.
|
|
49
|
-
"@threadlabs/looma": "0.30.
|
|
48
|
+
"@nextwebwg/html-next": "1.0.0-alpha.64",
|
|
49
|
+
"@threadlabs/looma": "0.30.4",
|
|
50
50
|
"@types/markdown-it": "14.2.0",
|
|
51
51
|
"jsdom": "30.1.2"
|
|
52
52
|
},
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"url": "https://github.com/threadlabs-studio/markupress/issues"
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@nextwebwg/htmlkit": "1.0.0-alpha.
|
|
63
|
+
"@nextwebwg/htmlkit": "1.0.0-alpha.64",
|
|
64
64
|
"parse5": "8.0.1",
|
|
65
65
|
"yaml": "2.9.1",
|
|
66
66
|
"postcss": "8.5.30",
|
|
@@ -68,8 +68,8 @@
|
|
|
68
68
|
"shiki": "4.5.0"
|
|
69
69
|
},
|
|
70
70
|
"peerDependencies": {
|
|
71
|
-
"@nextwebwg/html-next": "1.0.0-alpha.
|
|
72
|
-
"@threadlabs/looma": "0.30.
|
|
71
|
+
"@nextwebwg/html-next": "1.0.0-alpha.64",
|
|
72
|
+
"@threadlabs/looma": "0.30.4"
|
|
73
73
|
},
|
|
74
74
|
"bin": {
|
|
75
75
|
"markupress": "./dist/cli.js"
|
package/theme/chrome.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<defs>
|
|
5
5
|
<prop name="title" type="string" required>Site title</prop>
|
|
6
6
|
<prop name="home" type="string" required>Home URL</prop>
|
|
7
|
-
<prop name="logo" type="object({ light: string, dark: string })"
|
|
7
|
+
<prop name="logo" type="object({ light: string, dark: string })">Logo images for the light and dark themes</prop>
|
|
8
8
|
<prop name="badge" type="string" default="">Badge beside the title</prop>
|
|
9
9
|
<prop name="nav" type="list(object({ label: string, href: string, current: string, icon: string }))" required>Top navigation: the sections, then the configured links, each with an icon URL or ""</prop>
|
|
10
10
|
<prop name="dark" type="boolean" default="false">Whether the dark theme is on, which the layout's controller sets</prop></defs>
|
package/theme/home.html
CHANGED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
<link rel="icon" from:href="$favicon">
|
|
9
9
|
<prop name="title" type="string" required>Site title</prop>
|
|
10
10
|
<prop name="home" type="string" required>Home URL</prop>
|
|
11
|
-
<prop name="logo" type="object({ light: string, dark: string })"
|
|
12
|
-
<prop name="favicon" type="string"
|
|
11
|
+
<prop name="logo" type="object({ light: string, dark: string })">Logo images for the light and dark themes</prop>
|
|
12
|
+
<prop name="favicon" type="string">Site icon URL</prop>
|
|
13
13
|
<prop name="badge" type="string" default="">Badge beside the title</prop>
|
|
14
14
|
<prop name="nav" type="list(object({ label: string, href: string, current: string, icon: string }))" required>Top navigation: the sections, then the configured links</prop>
|
|
15
15
|
<prop name="footer" type="object({ columns: list(object({ title: string, items: list(object({ label: string, href: string, current: string })) })), copyright: string })" required>Footer link columns and copyright</prop>
|
package/theme/shell.html
CHANGED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
<link rel="icon" from:href="$favicon">
|
|
9
9
|
<prop name="title" type="string" required>Site title</prop>
|
|
10
10
|
<prop name="home" type="string" required>Home URL</prop>
|
|
11
|
-
<prop name="logo" type="object({ light: string, dark: string })"
|
|
12
|
-
<prop name="favicon" type="string"
|
|
11
|
+
<prop name="logo" type="object({ light: string, dark: string })">Logo images for the light and dark themes</prop>
|
|
12
|
+
<prop name="favicon" type="string">Site icon URL</prop>
|
|
13
13
|
<prop name="badge" type="string" default="">Badge beside the title</prop>
|
|
14
14
|
<prop name="nav" type="list(object({ label: string, href: string, current: string, icon: string }))" required>Top navigation: the sections, then the configured links, each with an icon URL or ""</prop>
|
|
15
15
|
<prop name="sidebar" type="list(object({ label: string, current: string, depth: number, href?: string, open?: boolean, children?: list(object({ label: string, ... })), ... }))" required>The section's sidebar: pages and links, and folders and groups with children, as <hk-nav> renders them</prop>
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
<prop name="footer" type="object({ columns: list(object({ title: string, items: list(object({ label: string, href: string, current: string })) })), copyright: string })" required>Footer link columns and copyright</prop>
|
|
19
19
|
<prop name="versions" type="list(object({ href: string, label: string, current: string, note: string }))" required>Documentation versions</prop>
|
|
20
20
|
<prop name="crumbs" type="list(object({ href: string, label: string, current: string, depth: number, pageName: string, ... }))" required>Trail from the version home to this page</prop>
|
|
21
|
-
<prop name="previous" type="object({ href: string, label: string, current: string, depth: number, pageName: string, ... })"
|
|
22
|
-
<prop name="next" type="object({ href: string, label: string, current: string, depth: number, pageName: string, ... })"
|
|
21
|
+
<prop name="previous" type="object({ href: string, label: string, current: string, depth: number, pageName: string, ... })">The page before this one</prop>
|
|
22
|
+
<prop name="next" type="object({ href: string, label: string, current: string, depth: number, pageName: string, ... })">The page after this one</prop>
|
|
23
23
|
<prop name="page" type="object({ editLink?: string, lastUpdated?: string, ... })" required>The page's front matter, with its edit link and the date its file last changed in git</prop>
|
|
24
24
|
<state name="dark" type="boolean" value="false"></state></defs>
|
|
25
25
|
<div class="site"><a class="skip" href="#documentation-content">Skip to content</a>
|