Skip to content

Commit

Permalink
Do not ignore the layout header (#587)
Browse files Browse the repository at this point in the history
#347 added support for warning for unknown fields but didn't take into account `layout` which was added by #128
  • Loading branch information
vjeux authored and yangshun committed Apr 20, 2018
1 parent aa32ff4 commit c400636
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/server/readMetadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c400636

Please sign in to comment.