Commit 6151ae8
refactor: restructure docs/generate.py into a Python sub-project
Replaces the monolithic 361-line script with a proper Python package
(toolbox_docs) with separated concerns: sorting, models, scanner,
renderer, and template/CSS assets. Adds 21 tests across sorting,
scanning, rendering, and integration. Output is byte-identical to
the original script.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 82509c3 commit 6151ae8
18 files changed
Lines changed: 736 additions & 354 deletions
File tree
- .github/workflows
- docs
- src/toolbox_docs
- assets
- templates
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
21 | 36 | | |
| 37 | + | |
22 | 38 | | |
23 | 39 | | |
24 | 40 | | |
| |||
27 | 43 | | |
28 | 44 | | |
29 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
30 | 49 | | |
31 | | - | |
| 50 | + | |
32 | 51 | | |
33 | 52 | | |
34 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
This file was deleted.
0 commit comments