|
1 | 1 | { |
2 | 2 | "name": "tinydocs", |
3 | | - "timestamp": "2026-03-03 13:42:08", |
| 3 | + "timestamp": "2026-03-03 21:46:22", |
4 | 4 | "docs": [ |
5 | | - { |
6 | | - "file": "tinydocs/generator.py", |
7 | | - "docs": { |
8 | | - "marker": "module", |
9 | | - "type": "module", |
10 | | - "args": [ |
11 | | - "generator" |
12 | | - ], |
13 | | - "line": 1, |
14 | | - "children": [ |
15 | | - { |
16 | | - "marker": "class", |
17 | | - "type": "class", |
18 | | - "args": [ |
19 | | - "SiteGenerator" |
20 | | - ], |
21 | | - "line": 6, |
22 | | - "children": [ |
23 | | - { |
24 | | - "marker": "desc", |
25 | | - "type": "description", |
26 | | - "args": [ |
27 | | - "Converts the TinyDocs JSON output into a searchable HTML static site." |
28 | | - ], |
29 | | - "line": 7, |
30 | | - "children": [] |
31 | | - }, |
32 | | - { |
33 | | - "marker": "example", |
34 | | - "type": "example", |
35 | | - "args": [ |
36 | | - "gen = SiteGenerator(\"tiny.docs.json\")\ngen.generate()" |
37 | | - ], |
38 | | - "line": 9, |
39 | | - "children": [] |
40 | | - } |
41 | | - ] |
42 | | - }, |
43 | | - { |
44 | | - "marker": "method", |
45 | | - "type": "function", |
46 | | - "args": [ |
47 | | - "generate" |
48 | | - ], |
49 | | - "line": 17, |
50 | | - "children": [ |
51 | | - { |
52 | | - "marker": "desc", |
53 | | - "type": "description", |
54 | | - "args": [ |
55 | | - "Reads the JSON file and renders the Jinja2 template." |
56 | | - ], |
57 | | - "line": 18, |
58 | | - "children": [] |
59 | | - } |
60 | | - ] |
61 | | - } |
62 | | - ] |
63 | | - } |
64 | | - }, |
65 | 5 | { |
66 | 6 | "file": "tinydocs/ignore.py", |
67 | 7 | "docs": { |
|
198 | 138 | "marker": "returns", |
199 | 139 | "type": "return", |
200 | 140 | "args": [ |
201 | | - "bool True if the path should be ignored." |
| 141 | + "bool", |
| 142 | + "True if the path should be ignored." |
202 | 143 | ], |
203 | 144 | "line": 58, |
204 | 145 | "children": [] |
|
236 | 177 | "marker": "returns", |
237 | 178 | "type": "return", |
238 | 179 | "args": [ |
239 | | - "List[str] A sorted list of non-ignored file paths." |
| 180 | + "List[str]", |
| 181 | + "A sorted list of non-ignored file paths." |
240 | 182 | ], |
241 | 183 | "line": 100, |
242 | 184 | "children": [] |
|
300 | 242 | "args": [ |
301 | 243 | "Marker" |
302 | 244 | ], |
303 | | - "line": 31, |
| 245 | + "line": 30, |
304 | 246 | "children": [ |
305 | 247 | { |
306 | 248 | "marker": "desc", |
307 | 249 | "type": "description", |
308 | 250 | "args": [ |
309 | 251 | "Represents a documentation tag configuration, defining how to identify and split arguments for specific markers." |
310 | 252 | ], |
311 | | - "line": 32, |
| 253 | + "line": 31, |
312 | 254 | "children": [] |
313 | 255 | } |
314 | 256 | ] |
|
317 | 259 | "marker": "constructor", |
318 | 260 | "type": "function", |
319 | 261 | "args": [], |
320 | | - "line": 35, |
| 262 | + "line": 34, |
321 | 263 | "children": [ |
322 | 264 | { |
323 | 265 | "marker": "param", |
|
326 | 268 | "name", |
327 | 269 | "The name of the marker (e.g., 'param', 'method')" |
328 | 270 | ], |
329 | | - "line": 36, |
| 271 | + "line": 35, |
330 | 272 | "children": [] |
331 | 273 | }, |
332 | 274 | { |
|
336 | 278 | "arg", |
337 | 279 | "Whether the marker requires an argument" |
338 | 280 | ], |
339 | | - "line": 37, |
| 281 | + "line": 36, |
340 | 282 | "children": [] |
341 | 283 | }, |
342 | 284 | { |
|
346 | 288 | "argc", |
347 | 289 | "The number of expected arguments for splitting" |
348 | 290 | ], |
349 | | - "line": 38, |
| 291 | + "line": 37, |
350 | 292 | "children": [] |
351 | 293 | }, |
352 | 294 | { |
|
356 | 298 | "prefix", |
357 | 299 | "The symbol prefix, usually '@'" |
358 | 300 | ], |
359 | | - "line": 39, |
| 301 | + "line": 38, |
360 | 302 | "children": [] |
361 | 303 | } |
362 | 304 | ] |
|
367 | 309 | "args": [ |
368 | 310 | "pattern" |
369 | 311 | ], |
370 | | - "line": 54, |
| 312 | + "line": 53, |
371 | 313 | "children": [ |
372 | 314 | { |
373 | 315 | "marker": "desc", |
374 | 316 | "type": "description", |
375 | 317 | "args": [ |
376 | 318 | "Generates a regex pattern to match the marker in a string" |
377 | 319 | ], |
378 | | - "line": 55, |
| 320 | + "line": 54, |
379 | 321 | "children": [] |
380 | 322 | }, |
381 | 323 | { |
382 | 324 | "marker": "returns", |
383 | 325 | "type": "return", |
384 | 326 | "args": [ |
385 | | - "str The compiled regex pattern" |
| 327 | + "str", |
| 328 | + "The compiled regex pattern" |
386 | 329 | ], |
387 | | - "line": 56, |
| 330 | + "line": 55, |
388 | 331 | "children": [] |
389 | 332 | } |
390 | 333 | ] |
|
395 | 338 | "args": [ |
396 | 339 | "to_dict" |
397 | 340 | ], |
398 | | - "line": 68, |
| 341 | + "line": 67, |
399 | 342 | "children": [ |
400 | 343 | { |
401 | 344 | "marker": "desc", |
402 | 345 | "type": "description", |
403 | 346 | "args": [ |
404 | 347 | "Serializes the marker instance into a dictionary" |
405 | 348 | ], |
406 | | - "line": 69, |
| 349 | + "line": 68, |
407 | 350 | "children": [] |
408 | 351 | }, |
409 | 352 | { |
410 | 353 | "marker": "returns", |
411 | 354 | "type": "return", |
412 | 355 | "args": [ |
413 | | - "Dict[str, Any]" |
| 356 | + "Dict[str,", |
| 357 | + "Any]" |
414 | 358 | ], |
415 | | - "line": 70, |
| 359 | + "line": 69, |
416 | 360 | "children": [] |
417 | 361 | } |
418 | 362 | ] |
|
423 | 367 | "args": [ |
424 | 368 | "from_dict" |
425 | 369 | ], |
426 | | - "line": 80, |
| 370 | + "line": 79, |
427 | 371 | "children": [ |
428 | 372 | { |
429 | 373 | "marker": "param", |
|
432 | 376 | "d", |
433 | 377 | "The dictionary containing marker data" |
434 | 378 | ], |
435 | | - "line": 81, |
| 379 | + "line": 80, |
436 | 380 | "children": [] |
437 | 381 | }, |
438 | 382 | { |
439 | 383 | "marker": "returns", |
440 | 384 | "type": "return", |
441 | 385 | "args": [ |
442 | | - "Marker A new instance of Marker" |
| 386 | + "Marker", |
| 387 | + "A new instance of Marker" |
443 | 388 | ], |
444 | | - "line": 82, |
| 389 | + "line": 81, |
445 | 390 | "children": [] |
446 | 391 | } |
447 | 392 | ] |
|
452 | 397 | "args": [ |
453 | 398 | "parse" |
454 | 399 | ], |
455 | | - "line": 96, |
| 400 | + "line": 95, |
456 | 401 | "children": [ |
457 | 402 | { |
458 | 403 | "marker": "param", |
|
461 | 406 | "json_str", |
462 | 407 | "A JSON string representing a list of markers" |
463 | 408 | ], |
464 | | - "line": 97, |
| 409 | + "line": 96, |
465 | 410 | "children": [] |
466 | 411 | }, |
467 | 412 | { |
468 | 413 | "marker": "returns", |
469 | 414 | "type": "return", |
470 | 415 | "args": [ |
471 | | - "List[Marker] A list of parsed Marker instances" |
| 416 | + "List[Marker]", |
| 417 | + "A list of parsed Marker instances" |
472 | 418 | ], |
473 | | - "line": 98, |
| 419 | + "line": 97, |
474 | 420 | "children": [] |
475 | 421 | } |
476 | 422 | ] |
|
557 | 503 | "marker": "returns", |
558 | 504 | "type": "return", |
559 | 505 | "args": [ |
560 | | - "List[Dict[str, Any]]" |
| 506 | + "List[Dict[str,", |
| 507 | + "Any]]" |
561 | 508 | ], |
562 | 509 | "line": 27, |
563 | 510 | "children": [] |
|
0 commit comments