From 7a8cc806a06826243aff775414018231837bda35 Mon Sep 17 00:00:00 2001 From: default Date: Mon, 26 Jun 2023 09:55:45 +0200 Subject: [PATCH] Updated documentation. --- doc/snac.1 | 7 +------ doc/snac.5 | 4 ++-- doc/snac.8 | 7 ++----- 3 files changed, 5 insertions(+), 13 deletions(-) diff --git a/doc/snac.1 b/doc/snac.1 index a9d8bd7..2ef1625 100644 --- a/doc/snac.1 +++ b/doc/snac.1 @@ -186,12 +186,7 @@ Starts the daemon. Purges old data from the timeline of all users. .It Cm adduser Ar basedir Op uid Adds a new user to the server. This is an interactive command; -necessary information will be prompted for. Also, a copy of -the server -.Pa style.css -is installed in the user's -.Pa static/ -directory. +necessary information will be prompted for. .It Cm resetpwd Ar basedir Ar uid Resets a user's password to a new, random one. .It Cm queue Ar basedir Ar uid diff --git a/doc/snac.5 b/doc/snac.5 index 07c833d..2d357ec 100644 --- a/doc/snac.5 +++ b/doc/snac.5 @@ -96,8 +96,8 @@ This directory stores Mastodon API apps. .It Pa token/ This directory stores Mastodon API tokens. .It Pa style.css -The server-wide CSS. Not used directly; everytime a new user is created, this -file is copied to the user +The server-wide CSS. The content of this file is inserted into the HTML output +unless a user-specific one exist in the user's .Pa static/ folder. .It Pa greeting.html diff --git a/doc/snac.8 b/doc/snac.8 index 005c9f0..65167b7 100644 --- a/doc/snac.8 +++ b/doc/snac.8 @@ -200,12 +200,9 @@ the list of users in this instance to be inserted. Users can change a bit of information about themselves from the web interface. See .Xr snac 1 -for details. Further, every user has a private CSS file in their +for details. Further, every user can have a private CSS file in their .Pa static/style.css -that can be modified to suit their needs. This file contains -a copy of the -.Pa style.css -file in the server root and it's inserted into the HTML output. +that will be served instead of the server-wide one. It's not modifiable from the web interface to avoid users shooting themselves in the foot by destroying everything. .Ss Old Data Purging