マニュアルページを更新したり、PixivFE からインスピレーションを得たり...

Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>

git-svn-id: file:///srv/svn/repo/mai/trunk@61 e410bdd4-646f-c54f-a7ce-fffcc4f439ae
This commit is contained in:
yakumo.izuru
2024-01-21 02:42:45 +00:00
parent 21388e220d
commit 0e21c7cff4
7 changed files with 44 additions and 101 deletions

View File

@@ -5,25 +5,25 @@
.Nm mai.ini
.Nd Configuration file for Mai
.Sh OPTIONS
.Ss [mai] section
.Bl -tag -width 11n
.It listen
HTTP port for the server to listen.
Default is "localhost:5000"
.It rootdir
.It static
Directory where the static resources are located.
Default is "./static"
.It tmplpath
.It templates
Directory where the templates are located.
Default is "./views"
.El
.Sh ENVIRONMENT
.Bl -tag -width 11n
.It Ev MAI_LIBRETRANSLATE_INSTANCE
LibreTranslate instance to use.
Default is ""
LibreTranslate instance to use, it's required for the engine to work.
.It Ev MAI_LIBRETRANSLATE_API
LibreTranslate API key for the above setting.
Default is ""
LibreTranslate API key for the above setting, it may or
may not be required, depending on the instance.
.El
.Sh FILES
.Pa /usr/local/etc/mai/mai.ini
@@ -32,6 +32,6 @@ Default is ""
.Sh AUTHORS
.An fattalion
.An metalune
.An ManeraKai
.An ManeraKai Lk https://manerakai.com
.Sh MAINTAINERS
.An Izuru Yakumo Aq Mt yakumo.izuru@chaotic.ninja