Skip to content

Commit e5bccf4

Browse files
dev: set markdown and make as repository languages on GitHub
1 parent cee763c commit e5bccf4

File tree

2 files changed

+36
-12
lines changed

2 files changed

+36
-12
lines changed

.gitattributes

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Configure Languages for GitHub repository using Linguist
2+
3+
# Markdown & Make detection,
4+
# exclude HTML, CSS & JavaScript
5+
docs/** linguist-detectable
6+
*.md linguist-detectable=true
7+
make linguist-detectable=true
8+
*.css linguist-detectable=false
9+
*.js linguist-detectable=false
10+
*.html linguist-detectable=false

.gitignore

Lines changed: 26 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,26 @@
1-
*~
2-
.DS_Store
3-
._*
4-
*~
5-
*#
6-
.#*
7-
_book
8-
node_modules
9-
*.log
10-
book.pdf
11-
book.mobi
12-
book.epub
1+
# Exclude all files from root directory
2+
/*
3+
4+
# ------------------------
5+
# Common project files
6+
!CHANGELOG.md
7+
!README.md
8+
!LICENSE
9+
10+
# ------------------------
11+
# Include MkDocs files
12+
!docs/
13+
!includes/
14+
!overrides/
15+
!mkdocs.yml
16+
17+
# ------------------------
18+
# Project automation
19+
!Makefile
20+
21+
# ------------------------
22+
# Version Control
23+
!.gitignore
24+
!.gitattributes
25+
!.github/
26+

0 commit comments

Comments
 (0)