Răsfoiți Sursa

Updated documentation.

default 3 ani în urmă
părinte
comite
7a8cc806a0
3 a modificat fișierele cu 5 adăugiri și 13 ștergeri
  1. 1 6
      doc/snac.1
  2. 2 2
      doc/snac.5
  3. 2 5
      doc/snac.8

+ 1 - 6
doc/snac.1

@@ -186,12 +186,7 @@ Starts the daemon.
 Purges old data from the timeline of all users.
 Purges old data from the timeline of all users.
 .It Cm adduser Ar basedir Op uid
 .It Cm adduser Ar basedir Op uid
 Adds a new user to the server. This is an interactive command;
 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
 .It Cm resetpwd Ar basedir Ar uid
 Resets a user's password to a new, random one.
 Resets a user's password to a new, random one.
 .It Cm queue Ar basedir Ar uid
 .It Cm queue Ar basedir Ar uid

+ 2 - 2
doc/snac.5

@@ -96,8 +96,8 @@ This directory stores Mastodon API apps.
 .It Pa token/
 .It Pa token/
 This directory stores Mastodon API tokens.
 This directory stores Mastodon API tokens.
 .It Pa style.css
 .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/
 .Pa static/
 folder.
 folder.
 .It Pa greeting.html
 .It Pa greeting.html

+ 2 - 5
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
 Users can change a bit of information about themselves from the
 web interface. See
 web interface. See
 .Xr snac 1
 .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
 .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
 It's not modifiable from the web interface to avoid users
 shooting themselves in the foot by destroying everything.
 shooting themselves in the foot by destroying everything.
 .Ss Old Data Purging
 .Ss Old Data Purging