much more readable meson.options, update docs

This commit is contained in:
speedie 2023-05-19 01:08:58 +02:00
parent c0169b5da6
commit aa0b489d8b
3 changed files with 62 additions and 32 deletions

View file

@ -1,9 +1,62 @@
option('imlib2', type : 'boolean', value : true, description : 'Enable image support') option(
option('openssl', type : 'boolean', value : true, description : 'Enable OpenSSL, used for image support') 'imlib2',
option('xresources', type : 'boolean', value : true, description : 'Enable .Xresources/xrdb support') type : 'boolean',
option('fribidi', type : 'boolean', value : true, description : 'Enable Right-to-left language support') value : true,
option('libconfig', type : 'boolean', value : true, description : 'Enable configuration file support') description : 'Enable image support'
option('pango', type : 'boolean', value : true, description : 'Enable Pango markup support') )
option('pangoxft', type : 'boolean', value : true, description : 'Enable Pango for libXft')
option('xinerama', type : 'boolean', value : true, description : 'Enable multi-monitor support using libXinerama') option(
option('utf8', type : 'boolean', value : true, description : 'Enable UTF-8 character support') 'openssl',
type : 'boolean',
value : true,
description : 'Enable OpenSSL, used for image support'
)
option(
'xresources',
type : 'boolean',
value : true,
description : 'Enable .Xresources/xrdb support'
)
option(
'fribidi',
type : 'boolean',
value : true,
description : 'Enable Right-to-left language support'
)
option(
'libconfig',
type : 'boolean',
value : true,
description : 'Enable configuration file support'
)
option(
'pango',
type : 'boolean',
value : true,
description : 'Enable Pango markup support'
)
option(
'pangoxft',
type : 'boolean',
value : true,
description : 'Enable Pango for libXft'
)
option(
'xinerama',
type : 'boolean',
value : true,
description : 'Enable multi-monitor support using libXinerama'
)
option(
'utf8',
type : 'boolean',
value : true,
description : 'Enable UTF-8 character support'
)

View file

@ -717,15 +717,6 @@ using \f[V]\[at]include \[dq]path/to/config\[dq]\f[R].
These are the default keybinds. These are the default keybinds.
You can generate these yourself from a \f[V]keybinds.h\f[R] using You can generate these yourself from a \f[V]keybinds.h\f[R] using
\f[V]scripts/make/generate-keybind-list.sh\f[R]. \f[V]scripts/make/generate-keybind-list.sh\f[R].
.TP
Mode \f[V]-1\f[R]
Any
.TP
Mode \f[V]0\f[R]
Normal mode
.TP
Mode \f[V]1\f[R]
Insert mode
.PP .PP
.TS .TS
tab(@); tab(@);

View file

@ -985,20 +985,6 @@ file using <code>@include "path/to/config"</code>.</p>
<p>These are the default keybinds. You can generate these yourself from <p>These are the default keybinds. You can generate these yourself from
a <code>keybinds.h</code> using a <code>keybinds.h</code> using
<code>scripts/make/generate-keybind-list.sh</code>.</p> <code>scripts/make/generate-keybind-list.sh</code>.</p>
<dl>
<dt>Mode <code>-1</code></dt>
<dd>
Any
</dd>
<dt>Mode <code>0</code></dt>
<dd>
Normal mode
</dd>
<dt>Mode <code>1</code></dt>
<dd>
Insert mode
</dd>
</dl>
<table> <table>
<colgroup> <colgroup>
<col style="width: 20%" /> <col style="width: 20%" />