Skip to content

Commit 955d1e5

Browse files
AlexKirkouskiclaude
authored andcommitted
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_012YrYJtJ6hR2qJsk7FxjTjW
1 parent 66489b0 commit 955d1e5

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

docs/sidebars.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -661,6 +661,7 @@ module.exports = {
661661
items: [
662662
{
663663
type: 'category',
664+
key: 'brief-domain-logic',
664665
label: 'Domain logic',
665666
items: [
666667
'brief/Brief_properties',
@@ -674,6 +675,7 @@ module.exports = {
674675
},
675676
{
676677
type: 'category',
678+
key: 'brief-view-logic',
677679
label: 'View logic',
678680
items: [
679681
'brief/Brief_forms',
@@ -684,6 +686,7 @@ module.exports = {
684686
},
685687
{
686688
type: 'category',
689+
key: 'brief-physical-model',
687690
label: 'Physical model',
688691
items: [
689692
'brief/Brief_identification',
@@ -704,6 +707,7 @@ module.exports = {
704707
items: [
705708
{
706709
type: 'category',
710+
key: 'rules-domain-logic',
707711
label: 'Domain logic',
708712
items: [
709713
'rules/Rules_properties',
@@ -717,6 +721,7 @@ module.exports = {
717721
},
718722
{
719723
type: 'category',
724+
key: 'rules-view-logic',
720725
label: 'View logic',
721726
items: [
722727
'rules/Rules_forms',
@@ -727,6 +732,7 @@ module.exports = {
727732
},
728733
{
729734
type: 'category',
735+
key: 'rules-physical-model',
730736
label: 'Physical model',
731737
items: [
732738
'rules/Rules_modularity',

0 commit comments

Comments
 (0)