From bc369e36cad62e7f7941fb846c503f5f7bb38db6 Mon Sep 17 00:00:00 2001 From: Matthew Peveler Date: Thu, 1 Apr 2021 14:32:17 -0400 Subject: [PATCH] Update .gitattributes to force GH linguist to recognize pages (#5663) --- .gitattributes | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitattributes b/.gitattributes index eb0e53777..7876daeab 100644 --- a/.gitattributes +++ b/.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