Skip to content

Commit

Permalink
dev: set markdown as repository language with .gitattributes
Browse files Browse the repository at this point in the history
Add `.gitattributes` file to configure GitHub Linguist to only consider
`.md` Markdown files

Linguist should ignore other file types
  • Loading branch information
practicalli-johnny committed Mar 9, 2024
1 parent ddc93bf commit 49927bc
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Configure Languages for GitHub repository using Linguist

# ignore all files, except for markdown
docs/** linguist-detectable
*.md linguist-detectable=true
*.css linguist-detectable=false
*.js linguist-detectable=false
*.html linguist-detectable=false
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@
# ------------------------
# Version Control
!.gitignore
!.gitattributes
!.github/

3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Changelog

# Unreleased
## Added
- dev: set markdown as repository language with `.gitattributes`

## Changed
- clojure-cli: enhance built-in commands description
- code-challenge: rewrite code challenges overview
Expand Down

0 comments on commit 49927bc

Please sign in to comment.