@doxbrix/doxloop 0.1.0 → 0.1.2
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/CHANGELOG.md +15 -0
- package/README.md +156 -450
- package/assets/doxbrix-preview.css +191 -1
- package/dist/agents.js +1 -1
- package/dist/agents.js.map +1 -1
- package/dist/args.d.ts.map +1 -1
- package/dist/args.js +1 -0
- package/dist/args.js.map +1 -1
- package/dist/artifact-deploy.d.ts +1 -0
- package/dist/artifact-deploy.d.ts.map +1 -1
- package/dist/artifact-deploy.js +6 -2
- package/dist/artifact-deploy.js.map +1 -1
- package/dist/author.js +1 -1
- package/dist/author.js.map +1 -1
- package/dist/cli.js +10 -2
- package/dist/cli.js.map +1 -1
- package/dist/deploy.d.ts +1 -0
- package/dist/deploy.d.ts.map +1 -1
- package/dist/deploy.js +6 -3
- package/dist/deploy.js.map +1 -1
- package/dist/deployment-visibility.d.ts +7 -0
- package/dist/deployment-visibility.d.ts.map +1 -0
- package/dist/deployment-visibility.js +14 -0
- package/dist/deployment-visibility.js.map +1 -0
- package/dist/doxbrix-markdown.js +33 -2
- package/dist/doxbrix-markdown.js.map +1 -1
- package/dist/preview.d.ts.map +1 -1
- package/dist/preview.js +224 -3
- package/dist/preview.js.map +1 -1
- package/dist/public-deploy-confirmation.d.ts +5 -0
- package/dist/public-deploy-confirmation.d.ts.map +1 -0
- package/dist/public-deploy-confirmation.js +22 -0
- package/dist/public-deploy-confirmation.js.map +1 -0
- package/dist/validation.d.ts.map +1 -1
- package/dist/validation.js +151 -8
- package/dist/validation.js.map +1 -1
- package/docs/doxbrix-http-api.md +10 -5
- package/docs/releasing.md +60 -0
- package/docs/security-model.md +2 -0
- package/package.json +32 -27
- package/skills/doxloop-doxbrix/SKILL.md +3 -1
- package/skills/doxloop-doxbrix/references/api-endpoints.md +8 -36
package/README.md
CHANGED
|
@@ -6,364 +6,246 @@
|
|
|
6
6
|
</picture>
|
|
7
7
|
</p>
|
|
8
8
|
|
|
9
|
-
<h1 align="center">
|
|
9
|
+
<h1 align="center">Documentation your coding agent can actually ship</h1>
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
**Create professional product documentation from your source code with the
|
|
16
|
-
coding agent you already use.**
|
|
11
|
+
<p align="center">
|
|
12
|
+
Turn source code or an API specification into a polished, validated documentation site<br>
|
|
13
|
+
with Codex, Claude Code, or Gemini.
|
|
14
|
+
</p>
|
|
17
15
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
16
|
+
<p align="center">
|
|
17
|
+
<a href="https://www.npmjs.com/package/@doxbrix/doxloop"><img alt="npm version" src="https://img.shields.io/npm/v/@doxbrix/doxloop.svg"></a>
|
|
18
|
+
<a href="https://nodejs.org"><img alt="Node.js version" src="https://img.shields.io/node/v/@doxbrix/doxloop.svg"></a>
|
|
19
|
+
<a href="./LICENSE"><img alt="License" src="https://img.shields.io/badge/license-proprietary-red.svg"></a>
|
|
20
|
+
</p>
|
|
22
21
|
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
<p align="center">
|
|
23
|
+
<a href="#quickstart">Quickstart</a> ·
|
|
24
|
+
<a href="#real-examples">Real examples</a> ·
|
|
25
|
+
<a href="#use-doxloop-in-vs-code-codex-or-claude">Editor and agent apps</a> ·
|
|
26
|
+
<a href="#everyday-workflow">Commands</a> ·
|
|
27
|
+
<a href="#guides">Guides</a>
|
|
28
|
+
</p>
|
|
25
29
|
|
|
26
|
-
```
|
|
27
|
-
|
|
30
|
+
```mermaid
|
|
31
|
+
flowchart LR
|
|
32
|
+
A["Source code<br>or OpenAPI"] --> B["Doxloop +<br>your coding agent"]
|
|
33
|
+
B --> C["Structured<br>documentation"]
|
|
34
|
+
C --> D["Preview, validate,<br>and publish"]
|
|
28
35
|
```
|
|
29
36
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
## Why Doxloop?
|
|
36
|
-
|
|
37
|
-
- **Grounded in your product.** The agent researches configured source code,
|
|
38
|
-
public interfaces, tests, examples, and configuration instead of inventing
|
|
39
|
-
product behavior.
|
|
40
|
-
- **Complete documentation planning.** Before editing, it identifies likely
|
|
41
|
-
readers, important workflows, and the documentation types supported by the
|
|
42
|
-
source.
|
|
43
|
-
- **Professional authoring standards.** Pages follow consistent editorial,
|
|
44
|
-
accessibility, information-architecture, example, and verification rules.
|
|
45
|
-
- **Generator-native output.** Doxloop creates the correct navigation,
|
|
46
|
-
frontmatter, components, configuration, and page format for the selected
|
|
47
|
-
generator.
|
|
48
|
-
- **Consistent future updates.** Reader, scope, terminology, tone, and
|
|
49
|
-
accessibility decisions are saved with the project and reused by later runs.
|
|
50
|
-
- **Focused maintenance.** Doxloop tracks the source revision used for the last
|
|
51
|
-
independently validated documentation run, including committed and
|
|
52
|
-
uncommitted source content, and directs the agent to relevant changes.
|
|
53
|
-
- **Local control.** Source inspection, authoring, validation, and preview happen
|
|
54
|
-
locally. Publishing is always a separate command.
|
|
55
|
-
|
|
56
|
-
## Requirements
|
|
57
|
-
|
|
58
|
-
- Node.js 20.12 or later
|
|
59
|
-
- For automatic agent launch, at least one supported agent CLI on `PATH`:
|
|
60
|
-
[Codex](https://developers.openai.com/codex/cli),
|
|
61
|
-
[Claude Code](https://claude.com/claude-code), or
|
|
62
|
-
[Gemini CLI](https://github.com/google-gemini/gemini-cli)
|
|
63
|
-
|
|
64
|
-
If you prefer to work in an IDE or desktop agent, use `--print` to generate the
|
|
65
|
-
prepared prompt and paste it into a local agent session.
|
|
66
|
-
|
|
67
|
-
## Documentation
|
|
68
|
-
|
|
69
|
-
Jump directly to:
|
|
70
|
-
|
|
71
|
-
- [Quickstart](#quickstart)
|
|
72
|
-
- [Documentation requests and expert templates](#describe-the-documentation-you-want)
|
|
73
|
-
- [Application guide screenshots](#add-application-guide-screenshots)
|
|
74
|
-
- [Agent selection and compatibility](#choose-an-agent)
|
|
75
|
-
- [Updates and source synchronization](#keep-documentation-current)
|
|
76
|
-
- [Independent documentation review](#review-documentation)
|
|
77
|
-
- [Design references](#use-a-design-reference)
|
|
78
|
-
- [Generator selection](#choose-a-generator)
|
|
79
|
-
- [Project structure](#how-doxloop-works)
|
|
80
|
-
- [Validation and preview](#validate-and-preview)
|
|
81
|
-
- [Troubleshooting](#troubleshooting)
|
|
82
|
-
- [Free deployment with Doxbrix](#deploy-for-free-with-doxbrix)
|
|
83
|
-
- [Security](#security)
|
|
37
|
+
Doxloop gives your coding agent a repeatable documentation workflow: inspect
|
|
38
|
+
the source, identify the audience, plan the content, write generator-native
|
|
39
|
+
pages, build navigation, and validate the result. Your product source stays
|
|
40
|
+
separate from the generated documentation project.
|
|
84
41
|
|
|
85
42
|
## Quickstart
|
|
86
43
|
|
|
87
|
-
Install
|
|
44
|
+
### 1. Install
|
|
45
|
+
|
|
46
|
+
Requires Node.js 20.12 or later.
|
|
88
47
|
|
|
89
48
|
```bash
|
|
90
49
|
npm install --global @doxbrix/doxloop
|
|
91
50
|
```
|
|
92
51
|
|
|
93
|
-
|
|
52
|
+
### 2. Generate
|
|
53
|
+
|
|
54
|
+
Run this from your product directory:
|
|
94
55
|
|
|
95
56
|
```bash
|
|
96
|
-
doxloop create
|
|
57
|
+
doxloop create \
|
|
58
|
+
--source . \
|
|
59
|
+
--output ../my-docs \
|
|
60
|
+
"Create developer documentation with a quickstart and API reference."
|
|
97
61
|
```
|
|
98
62
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
1. researches the configured product source;
|
|
103
|
-
2. identifies the readers, public capabilities, and important workflows;
|
|
104
|
-
3. proposes a prioritized documentation plan;
|
|
105
|
-
4. asks once for any decisions that cannot be resolved from the request or
|
|
106
|
-
source;
|
|
107
|
-
5. saves the confirmed documentation brief;
|
|
108
|
-
6. creates or improves the complete agreed documentation set;
|
|
109
|
-
7. adds every reader-facing page to generator-native navigation; and
|
|
110
|
-
8. verifies the result against Doxloop's quality requirements.
|
|
63
|
+
Doxloop automatically starts the first supported agent it finds. Choose one
|
|
64
|
+
explicitly with `--agent codex`, `--agent claude`, or `--agent gemini`.
|
|
111
65
|
|
|
112
|
-
Preview and validate
|
|
66
|
+
### 3. Preview and validate
|
|
113
67
|
|
|
114
68
|
```bash
|
|
115
|
-
cd my-docs
|
|
69
|
+
cd ../my-docs
|
|
116
70
|
doxloop preview --open
|
|
117
71
|
doxloop test
|
|
118
72
|
```
|
|
119
73
|
|
|
120
|
-
|
|
74
|
+
Your source and docs remain separate:
|
|
121
75
|
|
|
122
76
|
```text
|
|
123
77
|
workspace/
|
|
124
|
-
├── my-product/
|
|
125
|
-
└── my-docs/
|
|
78
|
+
├── my-product/ ← read-only source evidence
|
|
79
|
+
└── my-docs/ ← editable and deployable documentation
|
|
126
80
|
```
|
|
127
81
|
|
|
128
|
-
|
|
129
|
-
Markdoc, or HTML—depending on the selected generator—so you can review, edit,
|
|
130
|
-
and version it like any other project.
|
|
82
|
+
## Real examples
|
|
131
83
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
Pass additional instructions directly to `doxloop create`:
|
|
135
|
-
|
|
136
|
-
```bash
|
|
137
|
-
doxloop create "Write for platform engineers. Include installation, Kubernetes deployment, authentication, a production-readiness checklist, and troubleshooting."
|
|
138
|
-
```
|
|
84
|
+
### Lodash developer docs from the CLI
|
|
139
85
|
|
|
140
|
-
|
|
141
|
-
|
|
86
|
+
This command was run from the
|
|
87
|
+
[Lodash](https://github.com/lodash/lodash) source directory:
|
|
142
88
|
|
|
143
89
|
```bash
|
|
144
|
-
doxloop create
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
90
|
+
doxloop create \
|
|
91
|
+
--source . \
|
|
92
|
+
--output ../lodash-docs \
|
|
93
|
+
--agent claude \
|
|
94
|
+
--model claude-sonnet-5 \
|
|
95
|
+
"Create documentation for developers for this utility library. Include a quickstart and also include class and function API reference for the developers and simplified example of each function."
|
|
149
96
|
```
|
|
150
97
|
|
|
151
|
-
|
|
152
|
-
decisions are saved in `.doxloop/project.json` and reused during future updates
|
|
153
|
-
and reviews.
|
|
98
|
+
**Generated documentation:** <https://apps-lodash-docs.sites.doxbrix.com/>
|
|
154
99
|
|
|
155
|
-
###
|
|
100
|
+
### Petstore API docs from VS Code with Codex
|
|
156
101
|
|
|
157
|
-
|
|
158
|
-
infers the most relevant domain expertise and documentation-type playbooks from
|
|
159
|
-
the configured source, existing pages, persisted brief, and current request. It
|
|
160
|
-
then applies the audience inside that combination to adjust depth, terminology,
|
|
161
|
-
examples, risk guidance, and navigation.
|
|
162
|
-
|
|
163
|
-
For new or restructured sites, the agent also composes navigation from a shared
|
|
164
|
-
professional frame, the selected documentation-type blocks, domain-specific
|
|
165
|
-
overlays, and audience ordering. It presents a top-navigation and left-navigation
|
|
166
|
-
outline before authoring, removes unsupported or duplicate destinations, and
|
|
167
|
-
translates the result into the selected generator's native navigation system.
|
|
168
|
-
|
|
169
|
-
For example, this request combines payments-domain expertise, a developer-portal
|
|
170
|
-
playbook, and application-developer audience flavor:
|
|
102
|
+
First, initialize a documentation project and open it in VS Code:
|
|
171
103
|
|
|
172
104
|
```bash
|
|
173
|
-
doxloop
|
|
105
|
+
doxloop init petstore-docs
|
|
106
|
+
code petstore-docs
|
|
174
107
|
```
|
|
175
108
|
|
|
176
|
-
|
|
177
|
-
and workspace-administrator flavor:
|
|
109
|
+
Then give Codex this prompt:
|
|
178
110
|
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
```
|
|
111
|
+
> Using Doxloop authoring, create API documentation for this OpenAPI document:
|
|
112
|
+
> https://petstore3.swagger.io/api/v3/openapi.json
|
|
182
113
|
|
|
183
|
-
|
|
184
|
-
|
|
114
|
+
Because `doxloop init` installs the Doxloop authoring skills inside the project,
|
|
115
|
+
Codex can inspect the OpenAPI document and create the pages, endpoint reference,
|
|
116
|
+
examples, and navigation directly in the opened folder.
|
|
185
117
|
|
|
186
|
-
|
|
187
|
-
doxloop update "Restructure the existing documentation as an administrator guide. Preserve verified content, remove duplication, and make configuration effects explicit."
|
|
188
|
-
```
|
|
189
|
-
|
|
190
|
-
The agent states the inferred expertise profile in its discovery summary. It
|
|
191
|
-
asks only when competing profiles would materially change the reader, scope, or
|
|
192
|
-
outcomes. Template checklists guide investigation but never establish product
|
|
193
|
-
facts; every included capability still requires configured source evidence.
|
|
194
|
-
|
|
195
|
-
### Add application guide screenshots
|
|
118
|
+
**Generated documentation:** <https://apps-pet-store.sites.doxbrix.com/>
|
|
196
119
|
|
|
197
|
-
|
|
120
|
+
When it finishes:
|
|
198
121
|
|
|
199
122
|
```bash
|
|
200
|
-
|
|
123
|
+
cd petstore-docs
|
|
124
|
+
doxloop preview --open
|
|
125
|
+
doxloop test
|
|
201
126
|
```
|
|
202
127
|
|
|
203
|
-
|
|
128
|
+
## Use Doxloop in VS Code, Codex, or Claude
|
|
204
129
|
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
doxloop update --screenshots "Refresh the billing workflow guide."
|
|
208
|
-
```
|
|
130
|
+
Prefer working in Visual Studio Code, the Codex app, Claude Code, or another
|
|
131
|
+
local agent experience? Initialize the project first:
|
|
209
132
|
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
continues to collect ignored evidence from external design references.
|
|
213
|
-
|
|
214
|
-
Configure an application surface in `.doxloop/project.json` when Doxloop should
|
|
215
|
-
start or connect to a local test application:
|
|
216
|
-
|
|
217
|
-
```json
|
|
218
|
-
{
|
|
219
|
-
"application": {
|
|
220
|
-
"baseUrl": "http://localhost:3000/",
|
|
221
|
-
"source": "product",
|
|
222
|
-
"startCommand": "npm run dev",
|
|
223
|
-
"readyPath": "/health",
|
|
224
|
-
"screenshots": {
|
|
225
|
-
"policy": "requested",
|
|
226
|
-
"viewport": { "width": 1440, "height": 900 },
|
|
227
|
-
"highlight": true
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
}
|
|
133
|
+
```bash
|
|
134
|
+
doxloop init my-docs --source product=../my-product
|
|
231
135
|
```
|
|
232
136
|
|
|
233
|
-
|
|
234
|
-
assets and inserted beside the step they illustrate. When highlighting is
|
|
235
|
-
enabled, the authoring workflow adds a temporary high-contrast focus ring and
|
|
236
|
-
numbered marker before capture; the annotation is baked into the image without
|
|
237
|
-
modifying application source.
|
|
137
|
+
Then open the generated folder where you want to work:
|
|
238
138
|
|
|
239
|
-
|
|
139
|
+
| Where | Open the project |
|
|
140
|
+
| --- | --- |
|
|
141
|
+
| VS Code with Codex | `code my-docs` |
|
|
142
|
+
| Codex app | Open the `my-docs` folder |
|
|
143
|
+
| Claude Code | `cd my-docs && claude` |
|
|
240
144
|
|
|
241
|
-
|
|
242
|
-
explicitly when needed:
|
|
145
|
+
Ask the agent to use Doxloop authoring:
|
|
243
146
|
|
|
244
|
-
```
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
doxloop create --agent gemini
|
|
147
|
+
```text
|
|
148
|
+
Use Doxloop authoring to create developer documentation for this project.
|
|
149
|
+
Start with a five-minute quickstart, then add task guides and API reference.
|
|
248
150
|
```
|
|
249
151
|
|
|
250
|
-
|
|
152
|
+
`doxloop init` installs project-local skills for the supported agent
|
|
153
|
+
ecosystems:
|
|
251
154
|
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
155
|
+
| Agent experience | Installed skills |
|
|
156
|
+
| --- | --- |
|
|
157
|
+
| Codex and Gemini | `.agents/skills/` |
|
|
158
|
+
| Claude Code | `.claude/skills/` |
|
|
255
159
|
|
|
256
|
-
|
|
160
|
+
If an editor does not load project skills automatically, prepare a complete
|
|
161
|
+
prompt and paste it into the agent session:
|
|
257
162
|
|
|
258
163
|
```bash
|
|
259
|
-
doxloop create --
|
|
164
|
+
doxloop create --print \
|
|
165
|
+
"Create developer documentation with a quickstart and API reference."
|
|
260
166
|
```
|
|
261
167
|
|
|
262
|
-
|
|
168
|
+
> `--print` cannot record when the external agent finishes. Use a
|
|
169
|
+
> Doxloop-launched CLI agent when automatic source-change tracking is important.
|
|
263
170
|
|
|
264
|
-
|
|
265
|
-
Doxloop to start a CLI:
|
|
171
|
+
## What Doxloop handles
|
|
266
172
|
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
173
|
+
| Capability | What you get |
|
|
174
|
+
| --- | --- |
|
|
175
|
+
| 🔎 **Source-grounded research** | Uses code, public interfaces, tests, examples, and configuration as evidence. |
|
|
176
|
+
| 🧭 **Documentation planning** | Identifies readers, important workflows, page coverage, and navigation before writing. |
|
|
177
|
+
| ✍️ **Generator-native output** | Creates the right Markdown, MDX, configuration, components, and theme for the selected generator. |
|
|
178
|
+
| ✅ **Built-in quality checks** | Validates pages, navigation, links, metadata, code fences, and generator conventions. |
|
|
179
|
+
| 🔄 **Focused updates** | Tracks the source revision and directs the agent to documentation affected by product changes. |
|
|
180
|
+
| 🔐 **Local-first control** | Keeps authoring, validation, and preview local; publishing is always a separate command. |
|
|
270
181
|
|
|
271
|
-
|
|
272
|
-
root. Project skills are installed under `.agents/skills` for Codex and Gemini,
|
|
273
|
-
and `.claude/skills` for Claude Code.
|
|
182
|
+
## Everyday workflow
|
|
274
183
|
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
184
|
+
| Goal | Command |
|
|
185
|
+
| --- | --- |
|
|
186
|
+
| Create a docs project | `doxloop init my-docs` |
|
|
187
|
+
| Generate documentation | `doxloop create "Describe what you need"` |
|
|
188
|
+
| Update docs after code changes | `doxloop update` |
|
|
189
|
+
| Run a read-only quality review | `doxloop review` |
|
|
190
|
+
| Preview locally | `doxloop preview --open` |
|
|
191
|
+
| Validate the project | `doxloop test` |
|
|
192
|
+
| Check setup and agent readiness | `doxloop doctor` |
|
|
193
|
+
| See project status | `doxloop status` |
|
|
279
194
|
|
|
280
|
-
|
|
195
|
+
Run `doxloop <command> --help` for every option.
|
|
281
196
|
|
|
282
|
-
|
|
197
|
+
### Choose an agent or model
|
|
283
198
|
|
|
284
199
|
```bash
|
|
285
|
-
doxloop
|
|
200
|
+
doxloop create --agent codex --reasoning high
|
|
201
|
+
doxloop create --agent claude --model <model-name>
|
|
202
|
+
doxloop create --agent gemini
|
|
286
203
|
```
|
|
287
204
|
|
|
288
|
-
|
|
289
|
-
includes committed and uncommitted changes in the agent prompt, and directs the
|
|
290
|
-
agent to update affected reader-visible documentation.
|
|
291
|
-
|
|
292
|
-
Add instructions when an update needs special handling:
|
|
205
|
+
### Ask for exactly what you need
|
|
293
206
|
|
|
294
207
|
```bash
|
|
295
|
-
doxloop
|
|
208
|
+
doxloop create \
|
|
209
|
+
"Write for platform engineers. Include installation, Kubernetes deployment, authentication, a production-readiness checklist, and troubleshooting."
|
|
296
210
|
```
|
|
297
211
|
|
|
298
|
-
The synchronization baseline is stored in `.doxloop/sync-state.json`. Commit
|
|
299
|
-
this file when a team should share the same documentation update point.
|
|
300
|
-
|
|
301
|
-
## Review documentation
|
|
302
|
-
|
|
303
|
-
Run an independent, read-only documentation review:
|
|
304
|
-
|
|
305
212
|
```bash
|
|
306
|
-
doxloop
|
|
213
|
+
doxloop update \
|
|
214
|
+
"Document webhook retries and remove the legacy import workflow."
|
|
307
215
|
```
|
|
308
216
|
|
|
309
|
-
|
|
217
|
+
You can describe the audience, desired outcomes, required pages, tone,
|
|
218
|
+
priorities, or exclusions in plain language.
|
|
310
219
|
|
|
311
|
-
|
|
312
|
-
- reader workflows and coverage;
|
|
313
|
-
- information architecture and navigation;
|
|
314
|
-
- examples and reference depth;
|
|
315
|
-
- editorial quality and terminology;
|
|
316
|
-
- accessibility and presentation; and
|
|
317
|
-
- maintainability and release readiness.
|
|
220
|
+
## Preview, test, and publish
|
|
318
221
|
|
|
319
|
-
|
|
320
|
-
Supported agents run review in their read-only or plan mode.
|
|
321
|
-
|
|
322
|
-
## Use a design reference
|
|
323
|
-
|
|
324
|
-
Doxloop can adapt the information architecture and design language of a public
|
|
325
|
-
documentation site while keeping your product's identity and content separate:
|
|
222
|
+
Authoring never publishes automatically.
|
|
326
223
|
|
|
327
224
|
```bash
|
|
328
|
-
doxloop
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
```
|
|
332
|
-
|
|
333
|
-
You can also add a reference while creating documentation:
|
|
334
|
-
|
|
335
|
-
```bash
|
|
336
|
-
doxloop create \
|
|
337
|
-
--reference https://docs.example.com/ \
|
|
338
|
-
"Use this site as an information-architecture and presentation reference."
|
|
225
|
+
doxloop status
|
|
226
|
+
doxloop test
|
|
227
|
+
doxloop preview --open
|
|
339
228
|
```
|
|
340
229
|
|
|
341
|
-
|
|
342
|
-
captures layout, typography, color, navigation, and component patterns. It does
|
|
343
|
-
not use the reference site's product claims, examples, names, or navigation
|
|
344
|
-
labels as evidence for your product.
|
|
345
|
-
|
|
346
|
-
When the selected agent has no browser capability, capture measured local
|
|
347
|
-
evidence with:
|
|
230
|
+
To deploy through [Doxbrix](https://www.doxbrix.com/):
|
|
348
231
|
|
|
349
232
|
```bash
|
|
350
|
-
doxloop
|
|
233
|
+
doxloop login
|
|
234
|
+
doxloop deploy --dry-run
|
|
235
|
+
doxloop deploy
|
|
351
236
|
```
|
|
352
237
|
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
`.doxloop/cache/reference/`. Capture is limited to configured reference
|
|
356
|
-
origins.
|
|
238
|
+
Deployments are private by default. To make the site accessible to anyone, run
|
|
239
|
+
`doxloop deploy --public` and confirm the public-access warning.
|
|
357
240
|
|
|
358
|
-
##
|
|
241
|
+
## Supported generators
|
|
359
242
|
|
|
360
|
-
Doxbrix is
|
|
361
|
-
|
|
362
|
-
the integration it uses.
|
|
243
|
+
Doxbrix is built in and selected by default. External generators use a separate
|
|
244
|
+
adapter package, so each documentation project installs only what it needs.
|
|
363
245
|
|
|
364
246
|
| Generator | Package | Source format | Build output |
|
|
365
247
|
| --- | --- | --- | --- |
|
|
366
|
-
| Doxbrix | Included | Markdown and Doxbrix MDX | Doxbrix bundle |
|
|
248
|
+
| **Doxbrix** | Included | Markdown and Doxbrix MDX | Doxbrix bundle |
|
|
367
249
|
| Docusaurus | `@doxbrix/doxloop-generator-docusaurus` | Markdown and MDX | `build/` |
|
|
368
250
|
| MkDocs Material | `@doxbrix/doxloop-generator-mkdocs` | Material Markdown | `site/` |
|
|
369
251
|
| Sphinx | `@doxbrix/doxloop-generator-sphinx` | reStructuredText | `_build/html/` |
|
|
@@ -375,198 +257,22 @@ the integration it uses.
|
|
|
375
257
|
| Jekyll | `@doxbrix/doxloop-generator-jekyll` | Markdown and Liquid | `_site/` |
|
|
376
258
|
| Static HTML | `@doxbrix/doxloop-generator-static` | HTML | `site/` |
|
|
377
259
|
|
|
378
|
-
|
|
379
|
-
generator package
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
cd my-docs
|
|
384
|
-
npm init --yes
|
|
385
|
-
npm install --save-dev \
|
|
386
|
-
@doxbrix/doxloop \
|
|
387
|
-
@doxbrix/doxloop-generator-mkdocs
|
|
388
|
-
|
|
389
|
-
npx doxloop init . \
|
|
390
|
-
--source product=../my-product \
|
|
391
|
-
--generator mkdocs
|
|
392
|
-
|
|
393
|
-
npx doxloop create
|
|
394
|
-
```
|
|
395
|
-
|
|
396
|
-
Inspect and manage generator packages with:
|
|
397
|
-
|
|
398
|
-
```bash
|
|
399
|
-
doxloop generator list
|
|
400
|
-
doxloop generator add mkdocs
|
|
401
|
-
doxloop generator info mkdocs
|
|
402
|
-
doxloop generator doctor
|
|
403
|
-
```
|
|
404
|
-
|
|
405
|
-
`generator add` installs support; it does not convert the current project or
|
|
406
|
-
change its selected generator. To change generators, create or initialize a
|
|
407
|
-
project with the new generator, carry over the confirmed documentation brief
|
|
408
|
-
and source bindings, translate the content and navigation, then run
|
|
409
|
-
`doxloop test` and the new generator's strict build before changing public
|
|
410
|
-
URLs.
|
|
411
|
-
|
|
412
|
-
`doxloop preview` uses the selected generator's native development workflow.
|
|
413
|
-
Run `doxloop generator info <generator>` to see its build command and output
|
|
414
|
-
directory.
|
|
260
|
+
Pass `--generator <name>` to `doxloop init` to select one. Doxbrix needs no
|
|
261
|
+
extra installation; install an external generator's adapter package before
|
|
262
|
+
initializing its project. The
|
|
263
|
+
[public generator guide](https://doxloop.sites.doxbrix.com/generators) covers
|
|
264
|
+
installation, selection, inspection, removal, and migration.
|
|
415
265
|
|
|
416
|
-
##
|
|
266
|
+
## Guides
|
|
417
267
|
|
|
418
|
-
|
|
419
|
-
|
|
268
|
+
| Author and maintain | Configure and extend | Operate safely |
|
|
269
|
+
| --- | --- | --- |
|
|
270
|
+
| [Create documentation](https://doxloop.sites.doxbrix.com/create) | [Project configuration](https://doxloop.sites.doxbrix.com/project-configuration) | [Troubleshooting](https://doxloop.sites.doxbrix.com/troubleshooting) |
|
|
271
|
+
| [Update documentation](https://doxloop.sites.doxbrix.com/update) | [Generators](https://doxloop.sites.doxbrix.com/generators) | [Security](https://doxloop.sites.doxbrix.com/security) |
|
|
272
|
+
| [Agent compatibility](https://doxloop.sites.doxbrix.com/agent-compatibility) | [CLI reference](https://doxloop.sites.doxbrix.com/cli) | [CI and automation](https://doxloop.sites.doxbrix.com/ci-automation) |
|
|
273
|
+
| [Review documentation](https://doxloop.sites.doxbrix.com/review) | [Guide screenshots](https://doxloop.sites.doxbrix.com/guide-screenshots) | [Publish documentation](https://doxloop.sites.doxbrix.com/publish) |
|
|
420
274
|
|
|
421
|
-
|
|
422
|
-
| --- | --- |
|
|
423
|
-
| `doxloop-authoring` | Discovery, consultation, coverage planning, evidence, editorial quality, accessibility, maintenance, and review |
|
|
424
|
-
| `doxloop-<generator>` | Native files, navigation, frontmatter, components, configuration, theme, preview, and generator-specific validation |
|
|
425
|
-
|
|
426
|
-
The project keeps the authoring context needed for consistent future work:
|
|
427
|
-
|
|
428
|
-
```text
|
|
429
|
-
my-docs/
|
|
430
|
-
├── .doxloop/
|
|
431
|
-
│ ├── project.json # sources, generator, design references, and editorial brief
|
|
432
|
-
│ ├── sync-state.json # last successful source synchronization
|
|
433
|
-
│ └── last-run.json # ignored local validation receipt
|
|
434
|
-
├── .agents/skills/ # Codex and Gemini project skills
|
|
435
|
-
├── .claude/skills/ # Claude Code project skills
|
|
436
|
-
└── docs/ # documentation content for the default generator
|
|
437
|
-
```
|
|
438
|
-
|
|
439
|
-
Manage installed skills with:
|
|
440
|
-
|
|
441
|
-
```bash
|
|
442
|
-
doxloop agent status
|
|
443
|
-
doxloop agent setup
|
|
444
|
-
doxloop agent update
|
|
445
|
-
```
|
|
446
|
-
|
|
447
|
-
## Validate and preview
|
|
448
|
-
|
|
449
|
-
Check the project at any time:
|
|
450
|
-
|
|
451
|
-
```bash
|
|
452
|
-
doxloop status
|
|
453
|
-
doxloop test
|
|
454
|
-
doxloop preview --open
|
|
455
|
-
```
|
|
456
|
-
|
|
457
|
-
- `status` summarizes the generator, pages, sources, references, errors, and
|
|
458
|
-
warnings.
|
|
459
|
-
- `test` validates the documentation structure, navigation, links, metadata,
|
|
460
|
-
code fences, and supported generator conventions.
|
|
461
|
-
- `preview` starts the selected generator's local preview with live reload where
|
|
462
|
-
supported.
|
|
463
|
-
|
|
464
|
-
Use `doxloop test --format json` or `doxloop status --format json` in
|
|
465
|
-
automation.
|
|
466
|
-
|
|
467
|
-
## Troubleshooting
|
|
468
|
-
|
|
469
|
-
Run `doxloop doctor` inside an existing documentation project to check the
|
|
470
|
-
project configuration, source paths, selected agent, installed skills,
|
|
471
|
-
generator readiness, authentication, and documentation structure. Before a
|
|
472
|
-
project exists, provide the intended locations explicitly:
|
|
473
|
-
|
|
474
|
-
```bash
|
|
475
|
-
doxloop doctor --source ./my-product --output ./my-docs
|
|
476
|
-
```
|
|
477
|
-
|
|
478
|
-
Useful recovery commands include:
|
|
479
|
-
|
|
480
|
-
```bash
|
|
481
|
-
doxloop agent setup
|
|
482
|
-
doxloop agent update
|
|
483
|
-
doxloop generator doctor
|
|
484
|
-
doxloop login
|
|
485
|
-
doxloop preview --port 4400 --open
|
|
486
|
-
```
|
|
487
|
-
|
|
488
|
-
If validation fails, run `doxloop test`, resolve every reported error, and run
|
|
489
|
-
the selected generator's strict build. If deployment authentication fails,
|
|
490
|
-
sign in again with `doxloop login`; Doxbrix API URLs must use HTTPS and Doxbrix
|
|
491
|
-
tokens start with `dxb_`.
|
|
492
|
-
|
|
493
|
-
## Deploy for free with Doxbrix
|
|
494
|
-
|
|
495
|
-
[Doxbrix](https://www.doxbrix.com/) is the hosted documentation platform that
|
|
496
|
-
works with Doxloop. Doxloop handles source-grounded authoring, maintenance,
|
|
497
|
-
validation, and preview on your machine. Doxbrix makes your documentation
|
|
498
|
-
agentic by adding an Ask AI feature to your published docs by default.
|
|
499
|
-
|
|
500
|
-
Publishing is separate from authoring, and **you can deploy a project for free
|
|
501
|
-
on Doxbrix**. Paid plans are optional and add higher limits and additional
|
|
502
|
-
platform features. You can also build your documentation with a supported
|
|
503
|
-
external generator and deploy its static output to your preferred hosting
|
|
504
|
-
provider.
|
|
505
|
-
|
|
506
|
-
Create a free Doxbrix account at
|
|
507
|
-
[app.doxbrix.com/sign-up](https://app.doxbrix.com/sign-up), then:
|
|
508
|
-
|
|
509
|
-
```bash
|
|
510
|
-
doxloop login
|
|
511
|
-
doxloop deploy --dry-run
|
|
512
|
-
doxloop deploy
|
|
513
|
-
```
|
|
514
|
-
|
|
515
|
-
For the native Doxbrix generator, `deploy --dry-run` validates and summarizes the
|
|
516
|
-
documentation bundle. For Docusaurus, MkDocs, Sphinx, Hugo, VitePress, Markdoc,
|
|
517
|
-
Nextra, Starlight, Jekyll, and static HTML, it runs the configured build locally
|
|
518
|
-
and validates/packages the generated static output. `deploy` then creates or
|
|
519
|
-
reuses a compatible Connected Docs project, uploads the checksum-bound artifact,
|
|
520
|
-
and waits for Doxbrix indexing and deployment. Only the documentation bundle or
|
|
521
|
-
generated site is uploaded; configured product source directories are not part
|
|
522
|
-
of the deployment.
|
|
523
|
-
|
|
524
|
-
Doxloop never installs dependencies during deploy. Install them first and make
|
|
525
|
-
sure the generator build works locally. Only the generator's declared output
|
|
526
|
-
directory is traversed (product source directories are not collected separately),
|
|
527
|
-
Doxloop credentials are removed from the build environment, source maps are omitted,
|
|
528
|
-
and likely secret files or symbolic links stop deployment.
|
|
529
|
-
|
|
530
|
-
## Command reference
|
|
531
|
-
|
|
532
|
-
| Command | Purpose |
|
|
533
|
-
| --- | --- |
|
|
534
|
-
| `doxloop init` | Create a documentation project |
|
|
535
|
-
| `doxloop create` | Research the product and generate documentation |
|
|
536
|
-
| `doxloop update` | Update documentation after product changes |
|
|
537
|
-
| `doxloop review` | Run a read-only professional quality review |
|
|
538
|
-
| `doxloop status` | Summarize the project and validation state |
|
|
539
|
-
| `doxloop test` | Validate documentation |
|
|
540
|
-
| `doxloop preview` | Start the local documentation preview |
|
|
541
|
-
| `doxloop capture` | Capture design-reference screenshots and styles |
|
|
542
|
-
| `doxloop agent` | Manage project-local authoring skills |
|
|
543
|
-
| `doxloop generator` | Manage generator packages |
|
|
544
|
-
| `doxloop login` | Sign in to Doxbrix |
|
|
545
|
-
| `doxloop logout` | Remove the local Doxbrix token |
|
|
546
|
-
| `doxloop whoami` | Show the current Doxbrix account |
|
|
547
|
-
| `doxloop deploy` | Publish a native bundle or locally-built static site to Doxbrix |
|
|
548
|
-
|
|
549
|
-
Run `doxloop <command> --help` for complete command options.
|
|
550
|
-
|
|
551
|
-
## Security
|
|
552
|
-
|
|
553
|
-
- The authoring workflow treats configured product sources as its evidence
|
|
554
|
-
boundary. The coding agent retains the filesystem permissions granted by its
|
|
555
|
-
host; this is a policy boundary rather than an operating-system sandbox.
|
|
556
|
-
- Authoring, validation, preview, and design-reference capture run locally.
|
|
557
|
-
- The authoring workflow prohibits reading credential files or publishing as
|
|
558
|
-
part of documentation creation.
|
|
559
|
-
- Source files and external pages are treated as untrusted evidence rather than
|
|
560
|
-
instructions.
|
|
561
|
-
- Documentation content directories must remain inside the project and cannot
|
|
562
|
-
contain symbolic links.
|
|
563
|
-
- Deployment is restricted to documentation pages, permitted media, and the
|
|
564
|
-
selected generator's manifest.
|
|
565
|
-
- Doxbrix credentials are stored in the user's configuration directory with
|
|
566
|
-
user-only permissions where the operating system supports them.
|
|
567
|
-
- Deployment uploads only the native documentation bundle or the selected
|
|
568
|
-
external generator's validated static output. It does not upload configured
|
|
569
|
-
product source directories.
|
|
275
|
+
Browse all documentation at <https://doxloop.sites.doxbrix.com/>.
|
|
570
276
|
|
|
571
277
|
## License
|
|
572
278
|
|