improve comment

This commit is contained in:
sebastien 2025-06-27 16:11:40 +02:00
parent af3ba423ea
commit 0fcd686f0a

View file

@ -29,8 +29,9 @@ export type SidebarItemDoc = SidebarItemBase & {
label?: string;
id: string;
/**
* This is an internal marker. Items with labels defined in the config needs
* to be translated with JSON
* This is an internal marker set during the sidebar normalization process.
* Docs with labels defined in the config need to be translated with JSON.
* Otherwise, it's preferable to translate the MDX doc title or front matter.
*/
translatable?: true;
};