Parcourir la source

Update .gitattributes to force GH linguist to recognize pages (#5663)

Matthew Peveler il y a 4 ans
Parent
commit
bc369e36ca
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. 5 0
      .gitattributes

+ 5 - 0
.gitattributes

@@ -3,3 +3,8 @@
 # be checked-out as CRLF, and re-converted to LF before check-in.
 # See https://git-scm.com/docs/gitattributes for more information.
 * text=auto
+
+# GitHub linguist ignores markdown files by default, but tldr-pages
+# is mostly markdown, so we explicitly make the pages detectable
+pages*/**/*.md linguist-detectable=true
+pages*/**/*.md linguist-documentation=false