dokudocs 1.0.5 → 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 +10 -5
- package/dist/assets/chunk-BEqpzyXh.js +1 -0
- package/dist/assets/index-Bn78YZyE.css +1 -0
- package/dist/assets/index-BpdjW83W.js +918 -0
- package/dist/index.html +3 -2
- package/package.json +7 -3
- package/server/api.js +38 -2
- package/server/index.js +4 -0
- package/server/watcher.js +94 -0
- package/dist/assets/index-D1dGhKkJ.css +0 -1
- package/dist/assets/index-DYXjGroy.js +0 -196
- package/dist/assets/module-RbPvjbaB.js +0 -716
- package/dist/assets/native-DDKiZHYl.js +0 -1
package/README.md
CHANGED
|
@@ -11,12 +11,14 @@ 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
|
-
- **
|
|
19
|
-
- **
|
|
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
|
+
- **Width toggle** — switch between narrow and full-width document view
|
|
20
|
+
- **Table of contents** — floating heading outline on the right, hover to expand and navigate
|
|
21
|
+
- **Page emoji** — set a custom emoji icon per document, shown in the sidebar and at the top of the page
|
|
20
22
|
- **No database** — the filesystem is the single source of truth
|
|
21
23
|
|
|
22
24
|
## AI-Friendly
|
|
@@ -55,6 +57,9 @@ git submodule update --init
|
|
|
55
57
|
node server/index.js # Backend on port 4782
|
|
56
58
|
npx vite # Frontend on port 5173 with hot reload
|
|
57
59
|
|
|
60
|
+
# Run tests
|
|
61
|
+
npm test
|
|
62
|
+
|
|
58
63
|
# Or build and run in production
|
|
59
64
|
open_docs.bat # Windows
|
|
60
65
|
./open_docs.sh # macOS/Linux
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(e&&(t=e(e=0)),t),s=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),c=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},l=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},u=(n,r,a)=>(a=n==null?{}:e(i(n)),l(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n)),d=e=>a.call(e,`module.exports`)?e[`module.exports`]:l(t({},`__esModule`,{value:!0}),e);export{u as a,d as i,o as n,c as r,s as t};
|