.gitattributes: fix GitHub language graph

This excludes third-party libraries from GitHub language detection,
so the project will be correctly labeled -- as C++ instead of C.

This also adds man-page generation scripts to the graph, since GitHub
automatically marks the doc/ folder as documentation, making them
not visible in the graph.

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

[skip ci]
This commit is contained in:
Karol Kosek 2021-04-11 22:22:10 +02:00 committed by Felix Queißner
parent 9c883b55d4
commit 399a69c4a0
1 changed files with 3 additions and 0 deletions

3
.gitattributes vendored Normal file
View File

@ -0,0 +1,3 @@
lib/**/* linguist-vendored
doc/*.sh -linguist-documentation
doc/*.awk -linguist-documentation