Unify category
format in frontmatter
#110
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related #4
Very tiny PR.
Background
I wondered if
category
' s value (such asReference
orAdd-ons
) in frontmatter should be translated.I found that members had also mentioned in #21 .
But it remains unclear if they should be translated or not.
I studied how they are used in this repo.
Conclusion
The values of
category
are not used anywhere in reactjs.org at least for now.Therefore, whichever is ok currently.
It will be better not to translate them and leave them as they are, considering they might be used for unknown purposes in the future.
I checked
category
inpublic
dir after building sitescategory
Node
type insrc/types.js
does not havecategory
gatsby
dir, onlyredirect_from
andpermalink
are used as frontmatter valuedocsearch
, which use only html files as data source