Home > Software engineering >  Github dosen't recongize the other languages used in my repo
Github dosen't recongize the other languages used in my repo

Time:09-02

A while back, i made my very first Github repo. Since i added the documentation using HTML and CSS, github doesn't recongize it in the "Languages" bar. It only shows 100% Python.

How can i change it so it also includes HTML and CSS???

CodePudding user response:

The "Languages bar" as you called it is powered by Linugist. According to their Documentation, Linguist ignores (or tries to ignore) generated files, binary data, documenatation and similar files.

CodePudding user response:

Github's Linguist probably "ignores" your documentation folder which contains html and css or just understands that the most important code is Python.

Anyway, you can edit .gitattributes to show exactly what you want.

More info here https://dev.to/katkelly/changing-your-repo-s-language-in-github-5gjo

  • Related