Sfoglia il codice sorgente

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

Matthew Peveler 4 anni fa
parent
commit
bc369e36ca
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  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