Mehver | 这水怎么没味儿啊

Results 23 issues of Mehver | 这水怎么没味儿啊

### Discussed in https://github.com/peng-zhihui/ElectronBot/discussions/206 Originally posted by **TitanRGB** July 24, 2022 ![image](https://user-images.githubusercontent.com/75297777/180629355-afefd3e4-55ec-4b92-bdbe-049e919b5df1.png) 效果类似上图,就是能让GitHub的语言统计识别到这些EDA软件。我整理了一个万能的`.gitattributes`,可以使GitHub正确的识别Altium Designer、KiCAD、Gerber以及Eagle。我把这个文件放在了我的Gist里[https://gist.github.com/TitanRGB/61c37bf71159cc9a511558ec7c218339](https://gist.github.com/TitanRGB/61c37bf71159cc9a511558ec7c218339) 其中,能使AD语言生效的部分是: ``` *.OutJob linguist-detectable=true *.PcbDoc linguist-detectable=true *.PrjPCB linguist-detectable=true *.SchDoc linguist-detectable=true *.outjob linguist-detectable=true *.pcbdoc linguist-detectable=true *.prjpcb linguist-detectable=true...

![image](https://user-images.githubusercontent.com/75297777/180704097-954e5904-3818-4787-88d3-b2f0e3e18d83.png) ![image](https://user-images.githubusercontent.com/75297777/180704115-5417fb17-2265-42a1-bd26-7fe19dc1c365.png) 前后对比

https://github.com/peng-zhihui/ElectronBot/discussions/206 ![image](https://user-images.githubusercontent.com/75297777/180713767-dfa24aee-c384-4768-9074-3a8207bb0234.png) ![image](https://user-images.githubusercontent.com/75297777/180713785-dee5d801-05ea-4b04-a3d1-d6a47f34831d.png)

https://github.com/peng-zhihui/ElectronBot/discussions/206 ![image](https://user-images.githubusercontent.com/75297777/180710909-5723480c-9c22-45bf-9d56-3d32722c49a8.png)

`现在` ![image](https://user-images.githubusercontent.com/75297777/180704880-3f3140a5-4078-4f86-88a2-ab6cdcda9a9b.png) `之前` ![image](https://user-images.githubusercontent.com/75297777/180704850-bba48c33-5b0f-454a-8937-280f16a3cee3.png)

https://github.com/peng-zhihui/ElectronBot/discussions/206 ![image](https://user-images.githubusercontent.com/75297777/180708494-7426a247-f323-4aeb-a22f-6822f194e886.png) 这个repo里AD的比例太少,不显示,有点鬼畜。。。如果觉得只显示Gerber别扭的话就算了

![image](https://user-images.githubusercontent.com/75297777/175402636-aa402e8c-2125-4b84-b572-d42adc0be34b.png) This project is very interesting, I saw it in a CN tech community website and this is how I come to here :) As you can see on the...

This .gitattributes script can let the language statistics correctly recognize AD: ![image](https://user-images.githubusercontent.com/75297777/152184172-070d83db-b43c-466e-825c-cf2360f3e9bc.png)

修改后GitHub可以正确的将Repo语言识别为Markdown ![image](https://user-images.githubusercontent.com/75297777/145145989-420fa159-9064-495e-838c-1cc913ede43e.png)

![image](https://user-images.githubusercontent.com/75297777/183915219-6aef8585-8bcf-4288-869c-c23994421b3e.png) Correct the language counter