From 7a1751cd9d06100eea56b29f3828490efdbae1b3 Mon Sep 17 00:00:00 2001 From: default Date: Tue, 12 Mar 2024 10:21:47 +0100 Subject: [PATCH] Updated documentation. --- RELEASE_NOTES.md | 2 +- doc/snac.5 | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 14e00ae..3e7b6f3 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -2,7 +2,7 @@ ## 2.50 -Posts can now be filtered out by content using regular expressions on a server level (these regexes are written in the `filter_reject.txt` file at the server base directory; see `snac(8)`). +Posts can now be filtered out by content using regular expressions on a server level (these regexes are written in the `filter_reject.txt` file at the server base directory; see `snac(5)` and `snac(8)`). Improved page position after hitting the `Hide` or `MUTE` buttons (for most cases). diff --git a/doc/snac.5 b/doc/snac.5 index f10a77b..6207d32 100644 --- a/doc/snac.5 +++ b/doc/snac.5 @@ -106,6 +106,11 @@ This file is served when the server base URL is requested from a web browser. Se for more information about the customization options. .It Pa public.idx This file contains the list of public posts from all users in the server. +.It Pa filter_reject.txt +This (optional) file contains a list of regular expressions, one per line, to be +applied to the content of all incoming posts; if any of them match, the post is +rejected. This brings the flexibility and destruction power of regular expressions +to your Fediverse experience. To be used wisely. .El .Pp Each user directory is a subdirectory of