mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-21 18:47:50 +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;
|
label?: string;
|
||||||
id: string;
|
id: string;
|
||||||
/**
|
/**
|
||||||
* This is an internal marker. Items with labels defined in the config needs
|
* This is an internal marker set during the sidebar normalization process.
|
||||||
* to be translated with JSON
|
* 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;
|
translatable?: true;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue