Commit 955d1e5
Give the brief and rules axis categories their own translation keys
The build got past MDX and died in the RU locale: putting the brief and
rules articles on the platform's axes made `Domain logic`, `View logic` and
`Physical model` appear three times each in the `learn` sidebar, and
Docusaurus derives a translation key from `category.key ?? category.label`,
so three categories claimed one key.
`key` is in the 3.9.2 sidebar schema (`Joi.string()` on the category item),
so the six categories under Brief and Rules now carry `brief-*` / `rules-*`
keys and the paradigm ones keep theirs. Checked by running the library's
own rule over the sidebar: 82 categories, no duplicate key — and the same
check on the pushed version reproduces the three collisions.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012YrYJtJ6hR2qJsk7FxjTjW1 parent 66489b0 commit 955d1e5
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
661 | 661 | | |
662 | 662 | | |
663 | 663 | | |
| 664 | + | |
664 | 665 | | |
665 | 666 | | |
666 | 667 | | |
| |||
674 | 675 | | |
675 | 676 | | |
676 | 677 | | |
| 678 | + | |
677 | 679 | | |
678 | 680 | | |
679 | 681 | | |
| |||
684 | 686 | | |
685 | 687 | | |
686 | 688 | | |
| 689 | + | |
687 | 690 | | |
688 | 691 | | |
689 | 692 | | |
| |||
704 | 707 | | |
705 | 708 | | |
706 | 709 | | |
| 710 | + | |
707 | 711 | | |
708 | 712 | | |
709 | 713 | | |
| |||
717 | 721 | | |
718 | 722 | | |
719 | 723 | | |
| 724 | + | |
720 | 725 | | |
721 | 726 | | |
722 | 727 | | |
| |||
727 | 732 | | |
728 | 733 | | |
729 | 734 | | |
| 735 | + | |
730 | 736 | | |
731 | 737 | | |
732 | 738 | | |
| |||
0 commit comments