mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-12 00:27:21 +02:00
Do not ignore the layout
header (#587)
#347 added support for warning for unknown fields but didn't take into account `layout` which was added by #128
This commit is contained in:
parent
aa32ff4a55
commit
c400636fb6
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ const SupportedHeaderFields = new Set([
|
||||||
'sidebar_label',
|
'sidebar_label',
|
||||||
'original_id',
|
'original_id',
|
||||||
'hide_title',
|
'hide_title',
|
||||||
|
'layout',
|
||||||
]);
|
]);
|
||||||
|
|
||||||
// Can have a custom docs path. Top level folder still needs to be in directory
|
// Can have a custom docs path. Top level folder still needs to be in directory
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue