Skip to content
Extraits de code Groupes Projets
Vérifiée Valider f99b37c4 rédigé par Kubat's avatar Kubat
Parcourir les fichiers

DOC: Update documentation

parent 83570873
Aucune branche associée trouvée
Aucune étiquette associée trouvée
1 requête de fusion!105Refactor and more
Pipeline #1880 réussi
...@@ -50,6 +50,28 @@ You may install lektor from source like this: ...@@ -50,6 +50,28 @@ You may install lektor from source like this:
.P .P
.RE .RE
.SH "ENVIRONEMENT VARIABLES"
When launching \fBlektord\fP and \fBlkt\fP, some environement variable can be
passed to modify their behaviour.
.PP
.PD 0
.TP
.PD
\fB__LKT_RESTART\fP
Must be non empry to specify to \fBlektord\fP that it is restarting, you should
not set this variable manually unless you know what you are doing.
.TP
\fB__LKT_CURRENT\fP
Used to specify at which position the \fBlektord\fP daemon must restart. The
\fB__LKT_RESTART\fP variable must be set for \fB__LKT_CURRENT\fP variable to
do something.
.TP
\fB__LKT_SET_ASSERT\fP
When built in debug mode (the \fBNDEBUG\fP macro is not defined at compile
time), it is possible to enable asserts by setting this variable to anything
that is not a null string or empty string. By default, asserts are not enabled
in \fBlektord\fP and \fBlkt\fP.
.SH "SUPPORTED URIS" .SH "SUPPORTED URIS"
When searching the database, the following URIs are supported by lektor. Those When searching the database, the following URIs are supported by lektor. Those
URIs are hidden, you should not use them, but here is some documentation about URIs are hidden, you should not use them, but here is some documentation about
...@@ -58,31 +80,24 @@ them. ...@@ -58,31 +80,24 @@ them.
.PD 0 .PD 0
.TP .TP
.PD .PD
\(bu
\fBid://${arg}\fP \fBid://${arg}\fP
the \fBarg\fP should be the id of the kara in the sqlite3 database. the \fBarg\fP should be the id of the kara in the sqlite3 database.
.TP .TP
\(bu
\fBlang://${arg}\fP \fBlang://${arg}\fP
the \fBarg\fP should be the language of the kara. the \fBarg\fP should be the language of the kara.
.TP .TP
\(bu
\fBtype://${arg}\fP \fBtype://${arg}\fP
the \fBarg\fP should be the type of the kara. the \fBarg\fP should be the type of the kara.
.TP .TP
\(bu
\fBcategory://${arg}\fP \fBcategory://${arg}\fP
the \fBarg\fP should be the category of the kara. the \fBarg\fP should be the category of the kara.
.TP .TP
\(bu
\fBauthor://${arg}\fP \fBauthor://${arg}\fP
the \fBarg\fP should be the author of the kara. the \fBarg\fP should be the author of the kara.
.TP .TP
\(bu
\fBplaylist://${plt-name}\fP \fBplaylist://${plt-name}\fP
The \fBplt-name\fP should be the name of a playlist. The \fBplt-name\fP should be the name of a playlist.
.TP .TP
\(bu
\fBquery://${arg}\fP \fBquery://${arg}\fP
the \fBarg\fP should be a sqlite3 query. The formating string on which the query the \fBarg\fP should be a sqlite3 query. The formating string on which the query
is applied is like \fB"${cat}/${source} - ${type}${song_num?} - ${title}"\fP. is applied is like \fB"${cat}/${source} - ${type}${song_num?} - ${title}"\fP.
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter