mdshelf 1.0.6 → 1.0.7
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/README.md +12 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -114,6 +114,7 @@ Open `http://127.0.0.1:4444/` for the site index.
|
|
|
114
114
|
| `mdshelf init [dir]` | Scaffold config and sample content |
|
|
115
115
|
| `mdshelf serve` | Start the web server |
|
|
116
116
|
| `mdshelf check` | Validate config and scan content |
|
|
117
|
+
| `mdshelf export` | Export a static bundle of HTML and CSS files |
|
|
117
118
|
| `mdshelf install` | Register as a native system service |
|
|
118
119
|
| `mdshelf start` | Start the installed service |
|
|
119
120
|
| `mdshelf stop` | Stop the installed service |
|
|
@@ -254,6 +255,17 @@ The site becomes accessible at the same `*.ts.net` URL from anywhere, without an
|
|
|
254
255
|
tailscale funnel off
|
|
255
256
|
```
|
|
256
257
|
|
|
258
|
+
### Static export
|
|
259
|
+
|
|
260
|
+
```bash
|
|
261
|
+
mdshelf export # all sites → ./dist
|
|
262
|
+
mdshelf export --site docs # one site, flat at output root
|
|
263
|
+
mdshelf export --site docs --site notes # selected sites, mount prefixes kept
|
|
264
|
+
mdshelf export -o ./build --force # overwrite existing output
|
|
265
|
+
```
|
|
266
|
+
|
|
267
|
+
Use `--site` with a mount path (`docs`, `/docs`) or site title. Exporting exactly one site writes a standalone bundle at the output root (no mount prefix). Exporting multiple sites keeps each under its mount path and skips the multi-site home page.
|
|
268
|
+
|
|
257
269
|
## Logging
|
|
258
270
|
|
|
259
271
|
Set `MDSHELF_LOG` (or `RUST_LOG`) for finer-grained output:
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"hasInstallScript": true,
|
|
24
24
|
"license": "MIT OR Apache-2.0",
|
|
25
25
|
"name": "mdshelf",
|
|
26
|
-
"version": "1.0.
|
|
26
|
+
"version": "1.0.7"
|
|
27
27
|
},
|
|
28
28
|
"node_modules/@isaacs/cliui": {
|
|
29
29
|
"engines": {
|
|
@@ -542,5 +542,5 @@
|
|
|
542
542
|
}
|
|
543
543
|
},
|
|
544
544
|
"requires": true,
|
|
545
|
-
"version": "1.0.
|
|
545
|
+
"version": "1.0.7"
|
|
546
546
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"artifactDownloadUrls": [
|
|
3
|
-
"https://github.com/prbski/mdshelf/releases/download/v1.0.
|
|
3
|
+
"https://github.com/prbski/mdshelf/releases/download/v1.0.7"
|
|
4
4
|
],
|
|
5
5
|
"author": "Patryk Porebski",
|
|
6
6
|
"bin": {
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"zipExt": ".tar.xz"
|
|
101
101
|
}
|
|
102
102
|
},
|
|
103
|
-
"version": "1.0.
|
|
103
|
+
"version": "1.0.7",
|
|
104
104
|
"volta": {
|
|
105
105
|
"node": "18.14.1",
|
|
106
106
|
"npm": "9.5.0"
|