Reputation: 20080
On a GitHub repository (take Google's I/O app for example), there is a coloured bar showing the programming languages used (underneath details about commits, branches, releases and contributors).
However, I was wondering why it doesn't show languages such as XML (in the case of the Google I/O app, it has numerous XML layout and resources, but they are not counted/shown at all on the bar).
Similarly, files with extensions such as .gradle
, .bat
, .yml
, .gitignore
, etc. are not counted either.
Is there a reason for this?
Upvotes: 1
Views: 279
Reputation: 20080
I opened an issue on GitHub's 'linguist' repository, and found why XML, Gradle, etc are not shown on the language bar. Here is a summary of the comments and replies from that, which answer this question:
Only languages classified as
markup
orprogramming
are displayed in the language bar.
because...
this is generally what people are looking for when browsing a repository
In other words...
people are usually more interested in the implementation language than the build script
Upvotes: 2