Commit 5adb109
committed
feat(docs[_ext]): Add safety badges to homepage section headings
why: The homepage "What you can do" section had parenthesized tier names
like "Inspect (readonly)" — should use colored badges like tools/index.
what:
- Extend _add_section_badges to run on both tools/index and index pages
- Match parenthesized headings ("Inspect (readonly)") and replace the
parenthesized text with a colored badge
- Add 2 tests: parenthesized variant, homepage page scoping1 parent 989c41a commit 5adb109
2 files changed
Lines changed: 56 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
798 | 798 | | |
799 | 799 | | |
800 | 800 | | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
801 | 804 | | |
802 | 805 | | |
803 | 806 | | |
804 | 807 | | |
805 | 808 | | |
806 | | - | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
807 | 814 | | |
808 | | - | |
809 | | - | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
810 | 818 | | |
811 | 819 | | |
812 | | - | |
| 820 | + | |
813 | 821 | | |
814 | | - | |
| 822 | + | |
815 | 823 | | |
816 | 824 | | |
817 | 825 | | |
818 | 826 | | |
819 | 827 | | |
| 828 | + | |
| 829 | + | |
820 | 830 | | |
821 | 831 | | |
822 | 832 | | |
823 | 833 | | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
824 | 846 | | |
825 | 847 | | |
826 | 848 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
573 | 573 | | |
574 | 574 | | |
575 | 575 | | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
576 | 605 | | |
577 | 606 | | |
578 | 607 | | |
| |||
0 commit comments