Why is languages section not displayed my github repository?

Viewed 207
3 Answers

All files under dist/ are considered vendor files by Linguist by default. Vendor files are not counted in language statistics. You can see the list of default vendor files in lib/linguist/vendor.yml.

To consider files under dist/ for language statistics, you can add the following to .gitattributes:

dist/* linguist-vendored=false

linguist-documentation=false shouldn't be needed.

Thanks to pchaigno and Robson.

I added

dist/* linguist-vendored=false

into ".gitattributes", then the problem has been resolved.

Related