为什么 XML 语言没有显示在 GitHub 存储库的语言栏中
Why does the XML language not show on a GitHub repository's language bar
在 GitHub 存储库(以 Google's I/O app 为例)上,有一个彩色条显示所使用的编程语言(在有关提交、分支、发布和贡献者的详细信息下方)。
但是,我想知道为什么它不显示 XML 等语言(在 Google I/O 应用程序的情况下,它有许多 XML layout和resources,但是根本就没有counted/shown吧)。
同样,.gradle
、.bat
、.yml
、.gitignore
等扩展名的文件也不计算在内。
这有什么原因吗?
我opened an issue on GitHub's 'linguist' repository,发现为什么XML、Gradle等没有显示在语言栏上。以下是评论和回复的摘要,回答了这个问题:
Only languages classified as markup
or programming
are displayed in the language bar.
因为...
this is generally what people are looking for when browsing a repository
换句话说...
people are usually more interested in the implementation language than the build script
在 GitHub 存储库(以 Google's I/O app 为例)上,有一个彩色条显示所使用的编程语言(在有关提交、分支、发布和贡献者的详细信息下方)。
但是,我想知道为什么它不显示 XML 等语言(在 Google I/O 应用程序的情况下,它有许多 XML layout和resources,但是根本就没有counted/shown吧)。
同样,.gradle
、.bat
、.yml
、.gitignore
等扩展名的文件也不计算在内。
这有什么原因吗?
我opened an issue on GitHub's 'linguist' repository,发现为什么XML、Gradle等没有显示在语言栏上。以下是评论和回复的摘要,回答了这个问题:
Only languages classified as
markup
orprogramming
are displayed in the language bar.
因为...
this is generally what people are looking for when browsing a repository
换句话说...
people are usually more interested in the implementation language than the build script