Fine-tune GitHub's language detection for the repo

Since the whole repo is dedicated to documentation, documentation is the "source code" of this repo.
In order to capture this in language stats (and potentially attract more contributors):
1. Consider `docs/` folder "source", not documentation.
2. Count all Markdown files as "source".
This commit is contained in:
i-ky 2024-03-19 12:35:00 +02:00 коммит произвёл GitHub
Родитель 3b11ca4ceb
Коммит c2adee8500
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 4 добавлений и 0 удалений

4
.gitattributes поставляемый
Просмотреть файл

@ -4,3 +4,7 @@
*.jpg filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.md diff=markdown
# Fine-tune GitHub's language detection
docs/** -linguist-documentation
*.md linguist-detectable