summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2023-11-07 17:05:26 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2023-11-07 17:05:26 +0100
commitf21106e2e0ca43009a09e14439e14b04f15e17de (patch)
tree694e8b67d7144a79dc89787a0169f1e4022dd46a
parentaf9983cd6f0535b1088ac130089897bbb86f81e5 (diff)
downloadcrep-f21106e2e0ca43009a09e14439e14b04f15e17de.tar.gz
Added basic help and editorconfig
-rw-r--r--.editorconfig23
-rw-r--r--docs/index.html25
2 files changed, 48 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..364f1f3
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,23 @@
+root = true
+
+[*]
+charset = utf-8
+trim_trailing_whitespace = true
+insert_final_newline = true
+end_of_line = lf
+
+[Makefile]
+indent_style = tab
+indent_size = 4
+
+[*.c]
+indent_style = space
+indent_size = 2
+
+[*.{css,html,js,django}]
+indent_style = space
+indent_size = 2
+
+[*.go]
+indent_style = tab
+indent_size = 4
diff --git a/docs/index.html b/docs/index.html
new file mode 100644
index 0000000..fa6b579
--- /dev/null
+++ b/docs/index.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta http-equiv="X-UA-Compatible" content="ie=edge">
+ <title>crep - like grep but for code</title>
+
+ <style>
+ body {
+ padding: 2em;
+ background: white;
+ font-family: sans-serif;
+ line-height: 1.4rem;
+ font-size: 16px;
+ }
+ </style>
+ </head>
+ <body>
+ <h1>crep - like grep but for code</h1>
+ <p>Crep allows users to search for specific code, functions, variables, or
+ patterns within their codebase, helping them locate and navigate code
+ quickly.</p>
+ </body>
+</html>