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:
Christopher Chedeau 2018-04-20 09:19:57 -07:00 committed by Yangshun Tay
parent aa32ff4a55
commit c400636fb6

View file

@ -26,6 +26,7 @@ const SupportedHeaderFields = new Set([
'sidebar_label',
'original_id',
'hide_title',
'layout',
]);
// Can have a custom docs path. Top level folder still needs to be in directory