mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-19 09:37:43 +02:00
improve comment
This commit is contained in:
parent
af3ba423ea
commit
0fcd686f0a
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue