aboutsummaryrefslogtreecommitdiff
path: root/src/static
diff options
context:
space:
mode:
Diffstat (limited to 'src/static')
-rw-r--r--src/static/help_shares.txt.html9
-rw-r--r--src/static/help_users.toml.html8
-rwxr-xr-xsrc/static/update_hashes.sh2
3 files changed, 18 insertions, 1 deletions
diff --git a/src/static/help_shares.txt.html b/src/static/help_shares.txt.html
new file mode 100644
index 0000000..be5f4c5
--- /dev/null
+++ b/src/static/help_shares.txt.html
@@ -0,0 +1,9 @@
+This configuration file lets you share files with other users.
+Lines need to be in one of the following two formats:
+
+<pre>
+r &lt;path> &lt;username> # grants read-only access
+w &lt;path> &lt;username> # grants read/write access
+</pre>
+
+Ending a path in <code>/*</code> makes the rule apply to all subfiles. \ No newline at end of file
diff --git a/src/static/help_users.toml.html b/src/static/help_users.toml.html
new file mode 100644
index 0000000..fe195e2
--- /dev/null
+++ b/src/static/help_users.toml.html
@@ -0,0 +1,8 @@
+This configuration file lets you configure
+committer identities for users. For example:
+
+<pre>
+[johndoe]
+name = "John Doe"
+email = "john@example.com"
+</pre> \ No newline at end of file
diff --git a/src/static/update_hashes.sh b/src/static/update_hashes.sh
index ac6c6a1..3bcdb78 100755
--- a/src/static/update_hashes.sh
+++ b/src/static/update_hashes.sh
@@ -1,5 +1,5 @@
#/bin/sh
cd "$(dirname "$0")"
-for script in *.css *.js; do
+for script in style.css edit_script.js; do
printf "'sha256-%s'" $(shasum -a 256 < $script | cut -d' ' -f1 | xxd -r -p | base64 -w 0) > $script.sha
done