@dooc-dev/dooc 0.0.8 → 0.0.9
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/LICENSE +21 -0
- package/README.md +16 -18
- package/package.json +2 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 dooc contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,27 +1,25 @@
|
|
|
1
1
|
# dooc
|
|
2
|
-
dooc is an orchestration tool for documentation.
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
2. Build an interface for those resources.
|
|
6
|
-
3. Distribute documentation everywhere.
|
|
3
|
+

|
|
7
4
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
pnpm exec dooc edit [root] [port] # open dooc in edit mode
|
|
11
|
-
pnpm exec dooc view [root] [port] # open dooc in view mode
|
|
12
|
-
pnpm exec dooc export zip [root] [out] # zip of the content (<root>/dist/<root name>.zip)
|
|
13
|
-
pnpm exec dooc export html [root] [out] # single HTML file with everything embedded (<root>/dist/index.html)
|
|
14
|
-
pnpm exec dooc mcp [root] # stdio MCP server (all read / write operations)
|
|
15
|
-
```
|
|
5
|
+
dooc turns a folder of Markdown, data files, and schema-backed records into one browsable document.
|
|
6
|
+
`dooc.yaml` arranges the files; dooc edits, checks, and ships them as a single HTML file.
|
|
16
7
|
|
|
17
|
-
|
|
8
|
+
## Install
|
|
18
9
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
10
|
+
| Method | Command |
|
|
11
|
+
| -------- | -------------------------------------------------------------------------------------------- |
|
|
12
|
+
| npm | `npm install -g @dooc-dev/dooc` |
|
|
13
|
+
| curl | `curl -fsSL https://github.com/dooc-dev/dooc/releases/latest/download/install.sh \| sh` |
|
|
14
|
+
| mise | `mise use -g github:dooc-dev/dooc@latest` |
|
|
15
|
+
| Homebrew | `brew tap dooc-dev/dooc https://github.com/dooc-dev/dooc && brew install dooc-dev/dooc/dooc` |
|
|
22
16
|
|
|
23
|
-
|
|
17
|
+
## Documentation
|
|
24
18
|
|
|
25
|
-
|
|
19
|
+
```sh
|
|
20
|
+
dooc self docs
|
|
21
|
+
```
|
|
26
22
|
|
|
23
|
+
## License
|
|
27
24
|
|
|
25
|
+
[MIT](LICENSE)
|
package/package.json
CHANGED