dokudocs 1.0.5 → 1.0.6
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 -4
- package/dist/assets/index-BRsKRzn0.js +203 -0
- package/dist/assets/{index-D1dGhKkJ.css → index-CmhK1o7a.css} +1 -1
- package/dist/assets/{module-RbPvjbaB.js → module-wOKrYpiJ.js} +1 -1
- package/dist/assets/{native-DDKiZHYl.js → native-yj4J3PrT.js} +1 -1
- package/dist/index.html +2 -2
- package/package.json +5 -3
- package/server/api.js +34 -0
- package/server/index.js +4 -0
- package/server/watcher.js +94 -0
- package/dist/assets/index-DYXjGroy.js +0 -196
package/README.md
CHANGED
|
@@ -11,12 +11,17 @@ A personal documentation system that stores docs as plain Markdown files and pro
|
|
|
11
11
|
- **Markdown-first** — all documents are standard `.md` files on disk, editable with any tool
|
|
12
12
|
- **WYSIWYG editor** — Notion-style block editor (BlockNote) with no raw Markdown editing
|
|
13
13
|
- **Hierarchical folders** — organize docs in nested folders with a collapsible sidebar tree
|
|
14
|
-
- **Full-text search** —
|
|
14
|
+
- **Full-text search** — search bar at the top of the sidebar with highlighted snippets
|
|
15
15
|
- **Auto-save** — changes save automatically (1-second debounce)
|
|
16
|
-
- **
|
|
17
|
-
- **
|
|
18
|
-
- **
|
|
16
|
+
- **Live reload** — external file changes are detected and reflected instantly in the browser
|
|
17
|
+
- **Dark mode** — toggle at the bottom of the sidebar, preference saved
|
|
18
|
+
- **Image support** — drag and drop images with width and alignment preserved
|
|
19
|
+
- **Resizable sidebar** — drag the edge to adjust width
|
|
20
|
+
- **Width toggle** — switch between narrow and full-width document view
|
|
19
21
|
- **Breadcrumb navigation** — clickable path segments to navigate parent pages
|
|
22
|
+
- **Table of contents** — floating heading outline on the right, hover to expand and navigate
|
|
23
|
+
- **Open folder** — open the document's file location in your OS file explorer
|
|
24
|
+
- **Frontmatter** — YAML metadata for ordering (hidden in editor)
|
|
20
25
|
- **No database** — the filesystem is the single source of truth
|
|
21
26
|
|
|
22
27
|
## AI-Friendly
|
|
@@ -55,6 +60,9 @@ git submodule update --init
|
|
|
55
60
|
node server/index.js # Backend on port 4782
|
|
56
61
|
npx vite # Frontend on port 5173 with hot reload
|
|
57
62
|
|
|
63
|
+
# Run tests
|
|
64
|
+
npm test
|
|
65
|
+
|
|
58
66
|
# Or build and run in production
|
|
59
67
|
open_docs.bat # Windows
|
|
60
68
|
./open_docs.sh # macOS/Linux
|