Skip to content

Commit

Permalink
Fine-tune GitHub's language detection for the repo
Browse files Browse the repository at this point in the history
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".
  • Loading branch information
i-ky authored Mar 19, 2024
1 parent 3b11ca4 commit c2adee8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c2adee8

Please sign in to comment.