summaryrefslogtreecommitdiff
path: root/doc/snac.5
diff options
context:
space:
mode:
authorGravatar default2024-05-31 11:11:25 +0200
committerGravatar default2024-05-31 11:11:25 +0200
commitf1712dbe5d73bb75df1c3d332ca57ebc430ceda3 (patch)
tree3ac1edc07d1a482d212d349a348a82ad2666edfd /doc/snac.5
parentmastoapi: return an empty /v1/trends/statuses. (diff)
parentMerge pull request 'Implement instance announcements' (#173) from louis77/sna... (diff)
downloadsnac2-f1712dbe5d73bb75df1c3d332ca57ebc430ceda3.tar.gz
snac2-f1712dbe5d73bb75df1c3d332ca57ebc430ceda3.tar.xz
snac2-f1712dbe5d73bb75df1c3d332ca57ebc430ceda3.zip
Merge branch 'master' of grunfink-codeberg:grunfink/snac2
Diffstat (limited to 'doc/snac.5')
-rw-r--r--doc/snac.58
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/snac.5 b/doc/snac.5
index 42b257e..fec3af3 100644
--- a/doc/snac.5
+++ b/doc/snac.5
@@ -121,6 +121,14 @@ rejected. This brings the flexibility and destruction power of regular expressio
121to your Fediverse experience. To be used wisely (see 121to your Fediverse experience. To be used wisely (see
122.Xr snac 8 122.Xr snac 8
123for more information). 123for more information).
124.It Pa announcement.txt
125If this file is present, an announcement will be shown to logged in users
126on every page with its contents. It is also available through the Mastodon API.
127Users can dismiss the announcement, which works by storing the modification time
128in the "last_announcement" field of the
129.Pa user.json
130file. When the file is modified, the announcement will then reappear. It can
131contain only text and will be ignored if it has more than 2048 bytes.
124.El 132.El
125.Pp 133.Pp
126Each user directory is a subdirectory of 134Each user directory is a subdirectory of