mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-23 11:38:48 +02:00
fix(content-pages): declare hide_table_of_contents as boolean (#6413)
This commit is contained in:
parent
d296f44031
commit
19fb337618
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ const PageFrontMatterSchema = Joi.object<FrontMatter>({
|
|||
title: Joi.string(),
|
||||
description: Joi.string(),
|
||||
wrapperClassName: Joi.string(),
|
||||
hide_table_of_contents: Joi.string(),
|
||||
hide_table_of_contents: Joi.boolean(),
|
||||
...FrontMatterTOCHeadingLevels,
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue