mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-26 01:33:02 +00:00
fix(content-pages): declare hide_table_of_contents as boolean (#6413)
This commit is contained in:
parent
d296f44031
commit
19fb337618
|
|
@ -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…
Reference in New Issue