Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to siteConfig.js to configure supported headers in front matter #1209

Closed
avishnyakov opened this issue Jan 28, 2019 · 0 comments
Closed
Labels
closed: wontfix A fix will bring significant overhead, or is out of scope (for feature requests) feature This is not a bug or issue with Docusausus, per se. It is a feature request for the future.

Comments

@avishnyakov
Copy link

💥 Proposal

Add SupportedHeaderFields option or similar to siteConfig.js so that we can avoid warnings about unsupported header fields.

The use case is this one:

A suggestion is to move SupportedHeaderFields set into siteConfig.js defaulting/merging current set with the user provides. Optionally, we might also throw an exception if front matter attribute does not fit supported header field set. Such behaviour is useful on a large set of markdown files; catching non-standard front matter, typos in header names, and removing warnings from the builds.

Have you read the Contributing Guidelines on issues?

Yes

@endiliey endiliey added the feature This is not a bug or issue with Docusausus, per se. It is a feature request for the future. label Mar 20, 2019
@endiliey endiliey added closed: wontfix A fix will bring significant overhead, or is out of scope (for feature requests) v2 labels May 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed: wontfix A fix will bring significant overhead, or is out of scope (for feature requests) feature This is not a bug or issue with Docusausus, per se. It is a feature request for the future.
Projects
None yet
Development

No branches or pull requests

2 participants