Farbod Salamat-Zadeh
Farbod Salamat-Zadeh

Reputation: 20080

Why does the XML language not show on a GitHub repository's language bar

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

Answers (1)

Farbod Salamat-Zadeh
Farbod Salamat-Zadeh

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 or programming 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

Related Questions