aboutsummaryrefslogtreecommitdiff
path: root/dokka-runners/dokkatoo/.gitattributes
diff options
context:
space:
mode:
Diffstat (limited to 'dokka-runners/dokkatoo/.gitattributes')
-rw-r--r--dokka-runners/dokkatoo/.gitattributes51
1 files changed, 51 insertions, 0 deletions
diff --git a/dokka-runners/dokkatoo/.gitattributes b/dokka-runners/dokkatoo/.gitattributes
new file mode 100644
index 00000000..2ba525d5
--- /dev/null
+++ b/dokka-runners/dokkatoo/.gitattributes
@@ -0,0 +1,51 @@
+# https://help.github.com/articles/dealing-with-line-endings/
+# https://github.com/alexkaratarakis/gitattributes
+
+* text=auto
+
+# The above will handle all files NOT found below
+
+*.json text
+*.toml text
+*.xml text
+*.yaml text
+*.yml text
+.editorconfig text
+.env text
+
+# Documentation
+*.md text diff=markdown
+*.txt text
+LICENSE text
+
+# JVM
+*.java text diff=java
+*.kt text diff=kotlin
+*.kts text diff=kotlin
+*.properties text
+*.jar binary
+
+
+# Linux start script should use lf
+gradlew text eol=lf
+*.bash text eol=lf
+*.sh text eol=lf
+
+# These are Windows script files and should use crlf
+*.bat text eol=crlf
+*.cmd text eol=crlf
+
+# SVG treated as an asset (binary) by default.
+*.svg text
+
+# Exclude external libs from GitHub language stats https://github.com/github/linguist/blob/v7.24.1/docs/overrides.md
+examples/** linguist-documentation
+examples/*/dokka linguist-vendored
+modules/dokkatoo-plugin-integration-tests/projects/**dokka/ linguist-vendored
+modules/dokkatoo-plugin-integration-tests/projects/**dokkatoo/ linguist-documentation
+
+# Exclude files from exporting
+
+.gitattributes export-ignore
+.gitignore export-ignore
+.gitkeep export-ignore