@clidey/dory 0.24.0 → 0.27.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.
@@ -1,5 +0,0 @@
1
- ---
2
- title: 'GET /products'
3
- description: 'Get a list of products'
4
- openapi: 'GET /products'
5
- ---
@@ -1,5 +0,0 @@
1
- ---
2
- title: 'PUT /products/{id}'
3
- description: 'Update a product'
4
- openapi: 'PUT /products/{id}'
5
- ---
@@ -1,5 +0,0 @@
1
- ---
2
- title: 'SUBSCRIBE /chat'
3
- description: 'Subscribe to receive chat messages from other users'
4
- asyncapi: 'subscribe /chat'
5
- ---
@@ -1,5 +0,0 @@
1
- ---
2
- title: 'SUBSCRIBE /notifications'
3
- description: 'Subscribe to receive system notifications'
4
- asyncapi: 'subscribe /notifications'
5
- ---
@@ -1,5 +0,0 @@
1
- ---
2
- title: 'SUBSCRIBE /presence'
3
- description: 'Subscribe to receive user presence updates'
4
- asyncapi: 'subscribe /presence'
5
- ---
@@ -1,5 +0,0 @@
1
- ---
2
- title: 'PUBLISH /chat'
3
- description: 'Send a chat message to other users'
4
- asyncapi: 'publish /chat'
5
- ---
@@ -1,5 +0,0 @@
1
- ---
2
- title: 'PUBLISH /presence'
3
- description: 'Send a presence update'
4
- asyncapi: 'publish /presence'
5
- ---
package/dist/dory.json DELETED
@@ -1,64 +0,0 @@
1
- {
2
- "name": "Docucod",
3
- "favicon": "./favicon.svg",
4
- "colors": {
5
- "primary": "#0ea5e9",
6
- "light": "#0C8BC6",
7
- "dark": "#0284c7"
8
- },
9
- "fonts": {
10
- "family": "Montserrat",
11
- "source": "https://fonts.gstatic.com/s/googlesansflex/v5/t5sJIQcYNIWbFgDgAAzZ34auoVyXkJCOvp3SFWJbN5hF8Ju1x6sKCyp0l9sI40swNJwGpVd4AZzz0v6lJ4qFXNZhGjLvDSkV4USKMo6qQzwliVdHAy9jxTDHg_ugnAakpwGc-cxgUqDCIUI.woff2",
12
- "format": "woff2"
13
- },
14
- "navigation": {
15
- "tabs": [
16
- {
17
- "tab": "Documentation",
18
- "groups": [
19
- {
20
- "group": "Getting Started",
21
- "pages": [
22
- "introduction"
23
- ]
24
- },
25
- {
26
- "group": "Features",
27
- "pages": [
28
- "features"
29
- ]
30
- },
31
- {
32
- "group": "Playground",
33
- "pages": [
34
- "websocket-playground-demo"
35
- ]
36
- },
37
- {
38
- "group": "API Reference",
39
- "pages": [
40
- "api-reference/operations/create",
41
- "api-reference/operations/get",
42
- "api-reference/operations/update",
43
- "api-reference/operations/delete"
44
- ]
45
- },
46
- {
47
- "group": "WebSocket API Reference",
48
- "pages": [
49
- "api-reference/websocket-operations/send-chat-message",
50
- "api-reference/websocket-operations/receive-chat-message",
51
- "api-reference/websocket-operations/receive-notifications",
52
- "api-reference/websocket-operations/send-presence-update",
53
- "api-reference/websocket-operations/receive-presence-update"
54
- ]
55
- }
56
- ]
57
- }
58
- ]
59
- },
60
- "logo": {
61
- "light": "./logo/logo.svg",
62
- "dark": "./logo/logo.svg"
63
- }
64
- }
package/dist/features.mdx DELETED
@@ -1,440 +0,0 @@
1
- ---
2
- title: 'Features'
3
- description: 'Overview of available components and features'
4
- ---
5
-
6
- ## Headings Examples
7
-
8
- ```mdx
9
- # Heading 1
10
- ```
11
- # Heading 1
12
-
13
- ```mdx
14
- ## Heading 2
15
- ```
16
- # Heading 2
17
-
18
- ```mdx
19
- ### Heading 3
20
- ```
21
- # Heading 3
22
- ```mdx
23
- #### Heading 4
24
- ```
25
- # Heading 4
26
- ```mdx
27
- ##### Heading 5
28
- ```
29
- # Heading 5
30
- ```mdx
31
- ###### Heading 6
32
- ```
33
- # Heading 6
34
-
35
- <br />
36
-
37
- ## Lists Examples
38
-
39
- ```mdx
40
- - List item 1
41
- - List item 2
42
- - List item 3
43
- ```
44
-
45
- - List item 1
46
- - List item 2
47
- - List item 3
48
-
49
- ```mdx
50
- 1. List item 1
51
- 2. List item 2
52
- 3. List item 3
53
- ```
54
-
55
- 1. List item 1
56
- 2. List item 2
57
- 3. List item 3
58
-
59
-
60
-
61
- <br />
62
-
63
- ### Images
64
-
65
- ```mdx
66
- <img src="./assets/dory.jpeg" alt="Example image" className="object-cover w-64 h-64" />
67
- ```
68
-
69
- <img src="./assets/dory.jpeg" alt="Example image" className="object-cover w-64 h-64" />
70
-
71
-
72
- <br />
73
- <br />
74
- <br />
75
-
76
- ## Code Components
77
-
78
- ### Code Block
79
- ```typescript
80
- function example() {
81
- return "Hello World";
82
- }
83
- ```
84
-
85
- ### Code Group Block
86
-
87
- <CodeGroup>
88
- ```typescript
89
- function example(): string {
90
- return "Hello World";
91
- }
92
- ```
93
- ```javascript
94
- function example() {
95
- return "Hello World";
96
- }
97
- ```
98
- </CodeGroup>
99
-
100
-
101
- <br />
102
- <br />
103
- <br />
104
-
105
-
106
- ## Interactive Components
107
-
108
- ### Mermaid
109
-
110
- ```mdx
111
- mermaid
112
- graph TD
113
-
114
- %% Main Start
115
- Start([Start Process]) --> Validate[Validate Input]
116
-
117
- %% Decision Point
118
- Validate -->|Valid| ProcessData{Is Data Clean?}
119
- Validate -->|Invalid| Error[Show Error Message]
120
-
121
- %% Clean Data Branch
122
- ProcessData -->|Yes| Clean[Clean Data]
123
- Clean --> Analyze[Analyze Data]
124
-
125
- %% Dirty Data Branch
126
- ProcessData -->|No| Notify[Notify User]
127
- Notify --> Wait[Wait for Input]
128
- Wait --> Validate
129
-
130
- %% Parallel Branches After Analysis
131
- Analyze --> Split1 & Split2
132
-
133
- subgraph Parallel Tasks
134
- Split1[Generate Report] --> Merge
135
- Split2[Update Dashboard] --> Merge
136
- end
137
-
138
- Merge --> Decision2{Is More Input Needed?}
139
- Decision2 -->|Yes| WaitMore[Wait for More Input]
140
- WaitMore --> Validate
141
- Decision2 -->|No| End([End Process])
142
-
143
- %% Style and Class Definitions
144
- classDef decision fill:#f9f,stroke:#333,stroke-width:2px;
145
- class ProcessData,Decision2 decision;
146
-
147
- ```
148
-
149
- <strong>
150
- <p>Note: Mermaid should be inside a code block with type "mermaid"</p>
151
- </strong>
152
-
153
- ```mermaid
154
- graph TD
155
-
156
- %% Main Start
157
- Start([Start Process]) --> Validate[Validate Input]
158
-
159
- %% Decision Point
160
- Validate -->|Valid| ProcessData{Is Data Clean?}
161
- Validate -->|Invalid| Error[Show Error Message]
162
-
163
- %% Clean Data Branch
164
- ProcessData -->|Yes| Clean[Clean Data]
165
- Clean --> Analyze[Analyze Data]
166
-
167
- %% Dirty Data Branch
168
- ProcessData -->|No| Notify[Notify User]
169
- Notify --> Wait[Wait for Input]
170
- Wait --> Validate
171
-
172
- %% Parallel Branches After Analysis
173
- Analyze --> Split1 & Split2
174
-
175
- subgraph Parallel Tasks
176
- Split1[Generate Report] --> Merge
177
- Split2[Update Dashboard] --> Merge
178
- end
179
-
180
- Merge --> Decision2{Is More Input Needed?}
181
- Decision2 -->|Yes| WaitMore[Wait for More Input]
182
- WaitMore --> Validate
183
- Decision2 -->|No| End([End Process])
184
-
185
- %% Style and Class Definitions
186
- classDef decision fill:#f9f,stroke:#333,stroke-width:2px;
187
- class ProcessData,Decision2 decision;
188
-
189
- ```
190
-
191
- ### Accordion
192
-
193
- ```mdx
194
- <AccordionGroup>
195
- <Accordion title="First Section" icon="DocumentIcon">
196
- This is the content of the first accordion section.
197
- </Accordion>
198
- <Accordion title="Second Section" icon="CodeBracketIcon">
199
- This is the content of the second accordion section.
200
- </Accordion>
201
- </AccordionGroup>
202
- ```
203
-
204
- <AccordionGroup>
205
- <Accordion title="First Section" icon="DocumentIcon">
206
- This is the content of the first accordion section.
207
- </Accordion>
208
- <Accordion title="Second Section" icon="CodeBracketIcon">
209
- This is the content of the second accordion section.
210
- </Accordion>
211
- </AccordionGroup>
212
-
213
- ### Callouts
214
-
215
- ```mdx
216
- <Note>
217
- This is a note callout with important information.
218
- </Note>
219
- ```
220
-
221
- <Note>
222
- This is a note callout with important information.
223
- </Note>
224
-
225
- ```mdx
226
- <Warning>
227
- This is a warning callout for critical information.
228
- </Warning>
229
- ```
230
-
231
- <Warning>
232
- This is a warning callout for critical information.
233
- </Warning>
234
-
235
- ```mdx
236
- <Info>
237
- This is an info callout for general information.
238
- </Info>
239
- ```
240
-
241
- <Info>
242
- This is an info callout for general information.
243
- </Info>
244
-
245
- ```mdx
246
- <Tip>
247
- This is a tip callout for helpful suggestions.
248
- </Tip>
249
- ```
250
-
251
- <Tip>
252
- This is a tip callout for helpful suggestions.
253
- </Tip>
254
-
255
- ```mdx
256
- <Check>
257
- This is a check callout for completed items.
258
- </Check>
259
- ```
260
-
261
- <Check>
262
- This is a check callout for completed items.
263
- </Check>
264
-
265
-
266
- <br />
267
-
268
- ### Cards
269
- ```mdx
270
- <CardGroup cols={2}>
271
- <Card
272
- title="Example Card"
273
- description="This is an example card component with an icon and title."
274
- icon="FileText"
275
- href="#"
276
- />
277
- <Card
278
- title="Another Card"
279
- description="This is another example card with different content."
280
- icon="Code"
281
- href="#"
282
- />
283
- </CardGroup>
284
- ```
285
-
286
- <CardGroup cols={2}>
287
- <Card
288
- title="Example Card"
289
- description="This is an example card component with an icon and title."
290
- icon="FileText"
291
- href="#"
292
- />
293
- <Card
294
- title="Another Card"
295
- description="This is another example card with different content."
296
- icon="Code"
297
- href="#"
298
- />
299
- </CardGroup>
300
-
301
- <br />
302
-
303
- ### Expandable
304
-
305
- ```mdx
306
- <Expandable title="Click to Expand">
307
- This is an expandable section that can be toggled.
308
- </Expandable>
309
- ```
310
-
311
- <Expandable title="Click to Expand">
312
- This is an expandable section that can be toggled.
313
- </Expandable>
314
-
315
- ### Source
316
-
317
- ```mdx
318
- <Source url="https://github.com/clidey/dory" paths={[
319
- { path: "src/mdx/source.tsx", range: "1-46" },
320
- { path: "docs/features.mdx", range: "318-322" },
321
- ]} />
322
- ```
323
-
324
- <Source url="https://github.com/clidey/dory" paths={[
325
- { path: "src/mdx/source.tsx", range: "1-46" },
326
- { path: "docs/features.mdx", range: "318-322" },
327
- ]} />
328
-
329
- <br />
330
- <br />
331
- <br />
332
-
333
-
334
- ## Special Components
335
-
336
- ### Grids
337
-
338
- #### Rows
339
- ```mdx
340
- <Row cols={2}>
341
- <Icon icon="FileText" />
342
- <Icon icon="CheckCircle" />
343
- </Row>
344
- ```
345
-
346
- <Row cols={2}>
347
- <Icon icon="FileText" />
348
- <Icon icon="CheckCircle" />
349
- </Row>
350
-
351
- <br />
352
-
353
- #### Columns
354
-
355
- ```mdx
356
- <Col>
357
- <Icon icon="FileText" />
358
- <Icon icon="FileText" />
359
- </Col>
360
- ```
361
-
362
- <Col>
363
- <Icon icon="FileText" />
364
- <Icon icon="FileText" />
365
- </Col>
366
-
367
- <br />
368
- <br />
369
- <br />
370
-
371
- ### Latex
372
-
373
- ```mdx
374
- <Latex>
375
- E = mc^2
376
- </Latex>
377
- ```
378
-
379
- <Latex>
380
- E = mc^2
381
- </Latex>
382
-
383
- <br />
384
- <br />
385
- <br />
386
-
387
- ### Tables
388
-
389
- ```mdx
390
- | Property | Description |
391
- | -------- | ------------------------------------- |
392
- | Name | Full name of user |
393
- | Age | Reported age |
394
- | Joined | Whether the user joined the community |
395
- ```
396
-
397
- | Property | Description |
398
- | -------- | ------------------------------------- |
399
- | Name | Full name of user |
400
- | Age | Reported age |
401
- | Joined | Whether the user joined the community |
402
-
403
-
404
- ### Steps
405
-
406
- ```mdx
407
- <Steps>
408
- <Step title="First Step">
409
- This is the first step in the process.
410
- </Step>
411
- <Step title="Second Step">
412
- This is the second step in the process.
413
- </Step>
414
- </Steps>
415
- ```
416
-
417
- <Steps>
418
- <Step title="First Step">
419
- This is the first step in the process.
420
- </Step>
421
- <Step title="Second Step">
422
- This is the second step in the process.
423
- </Step>
424
- </Steps>
425
-
426
- ### Icons
427
-
428
- ```mdx
429
- <Col rows={2}>
430
- <Icon icon="Code" />
431
- <Icon icon="FileText" />
432
- <Icon icon="CheckCircle" />
433
- </Col>
434
- ```
435
-
436
- <Row cols={3}>
437
- <Icon icon="Code" />
438
- <Icon icon="FileText" />
439
- <Icon icon="CheckCircle" />
440
- </Row>
@@ -1,44 +0,0 @@
1
- ---
2
- title: 'Introduction'
3
- description: 'Welcome to Docucod and Dory documentation'
4
- ---
5
-
6
- # Introduction
7
-
8
- ## Welcome to Docucod and Dory
9
-
10
- This documentation is powered by two complementary tools:
11
-
12
- 1. **Docucod** - An AI-powered documentation assistant that automatically generates and maintains documentation
13
- 2. **Dory** - A lightweight static site generator specifically designed to deploy dory-generated documentation
14
-
15
- ## What is Docucod?
16
-
17
- Docucod analyzes your codebase and automatically:
18
- - Generates comprehensive documentation
19
- - Updates existing documentation when code changes
20
- - Maintains consistent style and formatting
21
- - Ensures accuracy and completeness
22
-
23
- ## What is Dory?
24
-
25
- Dory is a lightweight static site generator built for developers who want fast, clean, and customizable documentation. It was created specifically to deploy dory-generated documentation with:
26
-
27
- - 🧠 **Simple** — Drop in `.mdx` files and configure one `dory.json`
28
- - ⚡ **Fast** — Instant hot reload in dev, quick static builds for prod
29
- - 🌐 **Portable** — No SSR, no lock-in, deploy anywhere
30
- - 🧩 **Flexible** — Hackable theme, readable codebase, minimal magic
31
-
32
- ## Documentation Structure
33
-
34
- This documentation is organized to help you:
35
- - Get started quickly with both Docucod and Dory
36
- - Understand core concepts and features
37
- - Follow best practices and examples
38
- - Find detailed API references
39
-
40
- Let's begin exploring Docucod and Dory's capabilities!
41
-
42
- <br/>
43
- <br/>
44
- <br/>