Skip to content

Commit

Permalink
Make GitHub recognize the repo sources are largely Markdown (#14123)
Browse files Browse the repository at this point in the history
* Make GitHub recognize the repo sources are largely Markdown

This change causes GitHub to recognize that the repo sources are
currently 97.1% Markdown and 2.9% HTML.

Otherwise, without this change, the GitHub UI incorrectly shows the
repo sources as being 100% HTML.

See https://github.com/github/linguist/blob/master/docs/overrides.md#detectable

* Exclude README.md etc. from linguist detection
  • Loading branch information
sideshowbarker authored Mar 21, 2022
1 parent b909c7c commit f1b78b9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
* text=auto eol=lf
*.md linguist-detectable
CODE_OF_CONDUCT.md -linguist-detectable
LICENSE.md -linguist-detectable
README.md -linguist-detectable
REVIEWING.md -linguist-detectable

0 comments on commit f1b78b9

Please sign in to comment.