@doxbrix/doxloop 0.1.0
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 +34 -0
- package/LICENSE +93 -0
- package/README.md +576 -0
- package/SECURITY.md +15 -0
- package/assets/brand/README.md +8 -0
- package/assets/brand/doxloop-favicon.png +0 -0
- package/assets/brand/doxloop-logo-dark.png +0 -0
- package/assets/brand/doxloop-logo-light.png +0 -0
- package/assets/doxbrix-preview.css +6672 -0
- package/dist/agents.d.ts +26 -0
- package/dist/agents.d.ts.map +1 -0
- package/dist/agents.js +258 -0
- package/dist/agents.js.map +1 -0
- package/dist/args.d.ts +8 -0
- package/dist/args.d.ts.map +1 -0
- package/dist/args.js +95 -0
- package/dist/args.js.map +1 -0
- package/dist/artifact-deploy.d.ts +8 -0
- package/dist/artifact-deploy.d.ts.map +1 -0
- package/dist/artifact-deploy.js +240 -0
- package/dist/artifact-deploy.js.map +1 -0
- package/dist/auth.d.ts +17 -0
- package/dist/auth.d.ts.map +1 -0
- package/dist/auth.js +245 -0
- package/dist/auth.js.map +1 -0
- package/dist/author.d.ts +30 -0
- package/dist/author.d.ts.map +1 -0
- package/dist/author.js +195 -0
- package/dist/author.js.map +1 -0
- package/dist/capture.d.ts +10 -0
- package/dist/capture.d.ts.map +1 -0
- package/dist/capture.js +299 -0
- package/dist/capture.js.map +1 -0
- package/dist/cli.d.ts +3 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +558 -0
- package/dist/cli.js.map +1 -0
- package/dist/deploy.d.ts +22 -0
- package/dist/deploy.d.ts.map +1 -0
- package/dist/deploy.js +136 -0
- package/dist/deploy.js.map +1 -0
- package/dist/doctor.d.ts +18 -0
- package/dist/doctor.d.ts.map +1 -0
- package/dist/doctor.js +222 -0
- package/dist/doctor.js.map +1 -0
- package/dist/doxbrix-markdown.d.ts +20 -0
- package/dist/doxbrix-markdown.d.ts.map +1 -0
- package/dist/doxbrix-markdown.js +873 -0
- package/dist/doxbrix-markdown.js.map +1 -0
- package/dist/errors.d.ts +8 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +15 -0
- package/dist/errors.js.map +1 -0
- package/dist/fs.d.ts +6 -0
- package/dist/fs.d.ts.map +1 -0
- package/dist/fs.js +77 -0
- package/dist/fs.js.map +1 -0
- package/dist/generator-api.d.ts +69 -0
- package/dist/generator-api.d.ts.map +1 -0
- package/dist/generator-api.js +6 -0
- package/dist/generator-api.js.map +1 -0
- package/dist/generator-manager.d.ts +13 -0
- package/dist/generator-manager.d.ts.map +1 -0
- package/dist/generator-manager.js +155 -0
- package/dist/generator-manager.js.map +1 -0
- package/dist/generator-runtime.d.ts +24 -0
- package/dist/generator-runtime.d.ts.map +1 -0
- package/dist/generator-runtime.js +265 -0
- package/dist/generator-runtime.js.map +1 -0
- package/dist/generators.d.ts +21 -0
- package/dist/generators.d.ts.map +1 -0
- package/dist/generators.js +202 -0
- package/dist/generators.js.map +1 -0
- package/dist/preview.d.ts +21 -0
- package/dist/preview.d.ts.map +1 -0
- package/dist/preview.js +691 -0
- package/dist/preview.js.map +1 -0
- package/dist/progress.d.ts +19 -0
- package/dist/progress.d.ts.map +1 -0
- package/dist/progress.js +70 -0
- package/dist/progress.js.map +1 -0
- package/dist/project.d.ts +37 -0
- package/dist/project.d.ts.map +1 -0
- package/dist/project.js +499 -0
- package/dist/project.js.map +1 -0
- package/dist/sync.d.ts +7 -0
- package/dist/sync.d.ts.map +1 -0
- package/dist/sync.js +221 -0
- package/dist/sync.js.map +1 -0
- package/dist/types.d.ts +141 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/dist/validation.d.ts +4 -0
- package/dist/validation.d.ts.map +1 -0
- package/dist/validation.js +478 -0
- package/dist/validation.js.map +1 -0
- package/dist/version.d.ts +3 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +5 -0
- package/dist/version.js.map +1 -0
- package/docs/agent-compatibility.md +41 -0
- package/docs/ci-and-automation.md +56 -0
- package/docs/doxbrix-http-api.md +182 -0
- package/docs/generator-authoring.md +59 -0
- package/docs/generator-selection.md +25 -0
- package/docs/project-format.md +97 -0
- package/docs/security-model.md +90 -0
- package/docs/troubleshooting.md +103 -0
- package/package.json +87 -0
- package/skills/doxloop-authoring/SKILL.md +381 -0
- package/skills/doxloop-authoring/agents/openai.yaml +4 -0
- package/skills/doxloop-authoring/assets/screenshot-highlight.js +83 -0
- package/skills/doxloop-authoring/references/accessibility.md +54 -0
- package/skills/doxloop-authoring/references/audience-flavors.md +93 -0
- package/skills/doxloop-authoring/references/branding.md +50 -0
- package/skills/doxloop-authoring/references/documentation-types.md +236 -0
- package/skills/doxloop-authoring/references/domain-ai-ml.md +67 -0
- package/skills/doxloop-authoring/references/domain-api-platform.md +68 -0
- package/skills/doxloop-authoring/references/domain-cli-tool.md +65 -0
- package/skills/doxloop-authoring/references/domain-data-platform.md +65 -0
- package/skills/doxloop-authoring/references/domain-developer-library.md +63 -0
- package/skills/doxloop-authoring/references/domain-ecommerce.md +63 -0
- package/skills/doxloop-authoring/references/domain-infrastructure-devops.md +67 -0
- package/skills/doxloop-authoring/references/domain-payments-fintech.md +69 -0
- package/skills/doxloop-authoring/references/domain-saas.md +71 -0
- package/skills/doxloop-authoring/references/domain-security-identity.md +65 -0
- package/skills/doxloop-authoring/references/editorial-style.md +105 -0
- package/skills/doxloop-authoring/references/examples-and-evidence.md +71 -0
- package/skills/doxloop-authoring/references/navigation-architecture.md +152 -0
- package/skills/doxloop-authoring/references/project-format.md +119 -0
- package/skills/doxloop-authoring/references/quality.md +122 -0
- package/skills/doxloop-authoring/references/reference-sites.md +207 -0
- package/skills/doxloop-authoring/references/screenshots.md +251 -0
- package/skills/doxloop-authoring/references/template-routing.md +94 -0
- package/skills/doxloop-authoring/references/type-administrator-guide.md +59 -0
- package/skills/doxloop-authoring/references/type-api-reference.md +66 -0
- package/skills/doxloop-authoring/references/type-architecture-concepts.md +61 -0
- package/skills/doxloop-authoring/references/type-cli-manual.md +61 -0
- package/skills/doxloop-authoring/references/type-deployment-operations.md +64 -0
- package/skills/doxloop-authoring/references/type-developer-portal.md +69 -0
- package/skills/doxloop-authoring/references/type-getting-started.md +59 -0
- package/skills/doxloop-authoring/references/type-integration-guide.md +59 -0
- package/skills/doxloop-authoring/references/type-migration-release.md +66 -0
- package/skills/doxloop-authoring/references/type-sdk-guide.md +63 -0
- package/skills/doxloop-authoring/references/type-troubleshooting-kb.md +63 -0
- package/skills/doxloop-authoring/references/type-user-guide.md +59 -0
- package/skills/doxloop-doxbrix/SKILL.md +83 -0
- package/skills/doxloop-doxbrix/agents/openai.yaml +4 -0
- package/skills/doxloop-doxbrix/references/api-endpoints.md +128 -0
- package/skills/doxloop-doxbrix/references/components.md +137 -0
- package/skills/doxloop-doxbrix/references/manifest.md +117 -0
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
# Doxbrix component syntax
|
|
2
|
+
|
|
3
|
+
Use standard Markdown for headings, prose, links, lists, tables, blockquotes,
|
|
4
|
+
images, and fenced code. Use these MDX components when they improve the reader
|
|
5
|
+
experience.
|
|
6
|
+
|
|
7
|
+
## Procedures and alternatives
|
|
8
|
+
|
|
9
|
+
```mdx
|
|
10
|
+
<Steps>
|
|
11
|
+
<Step title="Install the CLI">
|
|
12
|
+
Run the installer and verify the executable.
|
|
13
|
+
</Step>
|
|
14
|
+
<Step title="Authenticate">Run `tool login`.</Step>
|
|
15
|
+
</Steps>
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
````mdx
|
|
19
|
+
<CodeGroup>
|
|
20
|
+
```bash npm
|
|
21
|
+
npm install package
|
|
22
|
+
```
|
|
23
|
+
```bash pnpm
|
|
24
|
+
pnpm add package
|
|
25
|
+
```
|
|
26
|
+
</CodeGroup>
|
|
27
|
+
````
|
|
28
|
+
|
|
29
|
+
```mdx
|
|
30
|
+
<Tabs>
|
|
31
|
+
<Tab label="macOS">Install with Homebrew.</Tab>
|
|
32
|
+
<Tab label="Windows">Download the installer.</Tab>
|
|
33
|
+
</Tabs>
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
`<Tab title="…">` is also accepted for compatibility. Do not use Docusaurus
|
|
37
|
+
`<TabItem>` inside Doxbrix tabs.
|
|
38
|
+
|
|
39
|
+
## Callouts
|
|
40
|
+
|
|
41
|
+
```mdx
|
|
42
|
+
<Info>Neutral supporting information.</Info>
|
|
43
|
+
<Note>Context the reader should remember.</Note>
|
|
44
|
+
<Tip>A useful best practice.</Tip>
|
|
45
|
+
<Check>A successful result or confirmation.</Check>
|
|
46
|
+
<Warning>A risk the reader can avoid.</Warning>
|
|
47
|
+
<Danger>A destructive or critical consequence.</Danger>
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Navigation and disclosure
|
|
51
|
+
|
|
52
|
+
```mdx
|
|
53
|
+
<CardGroup cols="2">
|
|
54
|
+
<Card title="Quickstart" icon="🚀" href="/quickstart">Get started.</Card>
|
|
55
|
+
<Card title="Configuration" icon="⚙️" href="/configuration">Choose settings.</Card>
|
|
56
|
+
</CardGroup>
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
```mdx
|
|
60
|
+
<Accordion>
|
|
61
|
+
<AccordionItem title="Can I change this later?">Yes.</AccordionItem>
|
|
62
|
+
</Accordion>
|
|
63
|
+
|
|
64
|
+
<Expandable title="Show advanced options">Advanced details.</Expandable>
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
## Layout and visual blocks
|
|
68
|
+
|
|
69
|
+
```mdx
|
|
70
|
+
<Columns cols="2">
|
|
71
|
+
<Column>Left content.</Column>
|
|
72
|
+
<Column>Right content.</Column>
|
|
73
|
+
</Columns>
|
|
74
|
+
|
|
75
|
+
<Terminal>$ npm run build</Terminal>
|
|
76
|
+
<Badge color="green">New</Badge>
|
|
77
|
+
<Icon emoji="⚡" size="lg">Fast</Icon>
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
## Media, updates, diagrams, and API reference
|
|
81
|
+
|
|
82
|
+
```mdx
|
|
83
|
+
<Image src="/images/flow.png" alt="Request flow" caption="How requests move" />
|
|
84
|
+
<Frame caption="The highlighted control opens the invitation form.">
|
|
85
|
+
|
|
86
|
+

|
|
87
|
+
|
|
88
|
+
</Frame>
|
|
89
|
+
<Video url="https://example.com/video" />
|
|
90
|
+
<Embed src="https://example.com/demo" />
|
|
91
|
+
<Frame url="https://example.com" title="Live example" />
|
|
92
|
+
<File name="report.pdf" url="/files/report.pdf" fileType="pdf" />
|
|
93
|
+
|
|
94
|
+
<Update type="new" version="2.1.0" date="June 8, 2026">
|
|
95
|
+
Shipped the new workflow.
|
|
96
|
+
</Update>
|
|
97
|
+
|
|
98
|
+
<Mermaid>
|
|
99
|
+
graph TD; A[Start] --> B[Complete];
|
|
100
|
+
</Mermaid>
|
|
101
|
+
|
|
102
|
+
<Math>e = mc^2</Math>
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
```mdx
|
|
106
|
+
<ApiEndpoint method="POST" path="/users" baseUrl="https://api.example.com" summary="Create a user">
|
|
107
|
+
<Param name="name" in="body" type="string" required>Display name</Param>
|
|
108
|
+
<Response status={200} contentType="application/json" description="Created">
|
|
109
|
+
{ "id": "u_123" }
|
|
110
|
+
</Response>
|
|
111
|
+
</ApiEndpoint>
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
For API reference pages, read [api-endpoints.md](api-endpoints.md). Its complete
|
|
115
|
+
page contract and example are required; this compact component catalog example
|
|
116
|
+
is not a sufficient endpoint page by itself.
|
|
117
|
+
|
|
118
|
+
Also supported: standalone `<Card>`, `<AccordionItem>`, `<AccordionGroup>`, and
|
|
119
|
+
`<Excalidraw>`.
|
|
120
|
+
|
|
121
|
+
For standalone API blocks:
|
|
122
|
+
|
|
123
|
+
```mdx
|
|
124
|
+
<ParameterTable title="Query parameters">
|
|
125
|
+
<Param name="limit" in="query" type="number">Maximum results.</Param>
|
|
126
|
+
</ParameterTable>
|
|
127
|
+
|
|
128
|
+
<ResponseExample>
|
|
129
|
+
<Response status="200" contentType="application/json" description="Success">
|
|
130
|
+
{ "ok": true }
|
|
131
|
+
</Response>
|
|
132
|
+
</ResponseExample>
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
Never invent a component outside this catalog. After adding a rich component,
|
|
136
|
+
inspect that component in `doxloop preview`; balanced tags alone do not prove
|
|
137
|
+
that its attributes or content are correct.
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
# Doxbrix project format
|
|
2
|
+
|
|
3
|
+
The canonical manifest is `docs/docs.json` for a Doxloop project whose
|
|
4
|
+
`contentDir` is `docs`.
|
|
5
|
+
|
|
6
|
+
```json
|
|
7
|
+
{
|
|
8
|
+
"version": 1,
|
|
9
|
+
"name": "Example",
|
|
10
|
+
"description": "Learn how to use Example.",
|
|
11
|
+
"spaces": [
|
|
12
|
+
{
|
|
13
|
+
"name": "Documentation",
|
|
14
|
+
"slug": "docs",
|
|
15
|
+
"icon": "book",
|
|
16
|
+
"nav": [
|
|
17
|
+
{
|
|
18
|
+
"type": "group",
|
|
19
|
+
"label": "Get started",
|
|
20
|
+
"icon": "rocket",
|
|
21
|
+
"items": [
|
|
22
|
+
{
|
|
23
|
+
"type": "page",
|
|
24
|
+
"file": "index",
|
|
25
|
+
"title": "Overview",
|
|
26
|
+
"icon": "compass"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"type": "page",
|
|
30
|
+
"file": "quickstart",
|
|
31
|
+
"icon": "bolt"
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"type": "link",
|
|
37
|
+
"title": "Service status",
|
|
38
|
+
"href": "https://status.example.com",
|
|
39
|
+
"icon": "globe"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"type": "api",
|
|
43
|
+
"title": "HTTP API",
|
|
44
|
+
"spec": "openapi.yaml",
|
|
45
|
+
"icon": "plug"
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"theme": {
|
|
51
|
+
"primaryColor": "#6366f1",
|
|
52
|
+
"lightColor": "#4f46e5",
|
|
53
|
+
"darkColor": "#818cf8",
|
|
54
|
+
"mode": "system",
|
|
55
|
+
"font": "Inter",
|
|
56
|
+
"headingFont": "Inter",
|
|
57
|
+
"codeFont": "JetBrains Mono",
|
|
58
|
+
"logoLight": "/assets/logo-light.svg",
|
|
59
|
+
"logoDark": "/assets/logo-dark.svg",
|
|
60
|
+
"logoHref": "https://example.com",
|
|
61
|
+
"favicon": "/assets/favicon.svg",
|
|
62
|
+
"backgroundColorLight": "#ffffff",
|
|
63
|
+
"backgroundColorDark": "#12131a",
|
|
64
|
+
"fontSources": [
|
|
65
|
+
{
|
|
66
|
+
"family": "Inter",
|
|
67
|
+
"source": "/fonts/inter-regular.woff2",
|
|
68
|
+
"format": "woff2",
|
|
69
|
+
"weight": 400
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
Page `file` values are relative to the content directory without `.md` or
|
|
77
|
+
`.mdx`. A group can contain pages and nested groups.
|
|
78
|
+
|
|
79
|
+
Supported navigation nodes:
|
|
80
|
+
|
|
81
|
+
- `page`: `file`, with optional `title`, `icon`, and `hidden`;
|
|
82
|
+
- `group`: `label` and nested `items`, with optional `icon` and `hidden`;
|
|
83
|
+
- `label`: non-clickable section text;
|
|
84
|
+
- `divider`: visual separation;
|
|
85
|
+
- `link`: external or internal `title` and `href`, with optional `icon`;
|
|
86
|
+
- `api`: API reference `title` and specification path, with optional `icon`.
|
|
87
|
+
|
|
88
|
+
Every reader-facing page should appear exactly once in navigation.
|
|
89
|
+
|
|
90
|
+
## Navigation icons
|
|
91
|
+
|
|
92
|
+
Give each space and primary group, page, link, and API node a semantic `icon`.
|
|
93
|
+
Prefer stable lowercase kebab-case Doxbrix names such as `book`, `rocket`,
|
|
94
|
+
`compass`, `bolt`, `globe`, and `plug`. Reuse one icon for one concept, preserve
|
|
95
|
+
an established project vocabulary, and avoid decorative or arbitrary choices.
|
|
96
|
+
Keep the visible `name`, `label`, or `title`; an icon never replaces text.
|
|
97
|
+
For a page with an explicit navigation icon, put the same semantic icon in the
|
|
98
|
+
page frontmatter so local preview and deployed page metadata stay aligned.
|
|
99
|
+
Labels and dividers do not take icons.
|
|
100
|
+
|
|
101
|
+
## Theme values
|
|
102
|
+
|
|
103
|
+
Use six-digit hexadecimal colors. `mode` is `light`, `dark`, or `system`.
|
|
104
|
+
|
|
105
|
+
- `primaryColor`: default accent;
|
|
106
|
+
- `lightColor` and `darkColor`: accessible accent variants for each mode;
|
|
107
|
+
- `font`, `headingFont`, and `codeFont`: font-family names;
|
|
108
|
+
- `logoLight`, `logoDark`, and `favicon`: public root-relative or HTTPS assets;
|
|
109
|
+
- `logoHref`: an HTTPS or root-relative destination for the logo;
|
|
110
|
+
- `backgroundColorLight`, `backgroundColorDark`, and `backgroundImage`: reader
|
|
111
|
+
backgrounds;
|
|
112
|
+
- `fontSources`: copied local font files with `family`, `source`, `format`,
|
|
113
|
+
`weight`, and optional `style`.
|
|
114
|
+
|
|
115
|
+
Root-relative assets resolve from the documentation content directory. Copy
|
|
116
|
+
them into that directory; never point the manifest at the configured product
|
|
117
|
+
source.
|