mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Replace roff man pages with asciidoctor
This replaces the generation of man pages on project setup by a on-demand generation via asciidoctor. An exception are the man pages for the commands `day`, `month`, and `week` which are simply redirects to the man page `timew-chart.1`. Those are now static files in the Timewarrior repository. A CMake find module to detect asciidoctor was added. If asciidoctor is found, the targets `doc`, `man1`, and `man7` are created. Those targets are also added to the default build target. If asciidoctor is not available, the target `doc` is available, but it only emits a message to install asciidoctor first. Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
This commit is contained in:
parent
65ef38658b
commit
b189ccb020
80 changed files with 1256 additions and 1527 deletions
|
@ -1,49 +0,0 @@
|
|||
.TH timew-config 1 "${PACKAGE_DATE}" "${PACKAGE_STRING}" "User Manuals"
|
||||
.
|
||||
.SH NAME
|
||||
timew-config \- get and set Timewarrior configuration
|
||||
.
|
||||
.SH SYNOPSIS
|
||||
.B timew config
|
||||
[
|
||||
.I <name>
|
||||
{
|
||||
.I <value>
|
||||
|
|
||||
.B ''
|
||||
}
|
||||
]
|
||||
.
|
||||
.SH DESCRIPTION
|
||||
Allows setting and removing configuration values, as an alternative to directly editing your ~/.timewarrior/timewarrior.cfg file.
|
||||
.
|
||||
.SH EXAMPLES
|
||||
For example:
|
||||
.RS
|
||||
$ timew config verbose yes
|
||||
.br
|
||||
$ timew config verbose ''
|
||||
.br
|
||||
$ timew config verbose
|
||||
.RE
|
||||
The first command sets 'verbose' to 'yes'.
|
||||
The second sets it to a blank value which overrides the default value.
|
||||
The third example deletes the 'verbose' setting.
|
||||
.
|
||||
When modifying configuration in this way, interactive confirmation will be sought.
|
||||
To override this confirmation, use the ':yes' hint, which means you intend to answer 'yes' to the confirmation questions:
|
||||
.RS
|
||||
$ timew config verbose '' :yes
|
||||
.RE
|
||||
If no arguments are provided, all configuration settings are shown:
|
||||
.RS
|
||||
$ timew config
|
||||
.br
|
||||
verbose = yes
|
||||
.br
|
||||
...
|
||||
.RE
|
||||
.
|
||||
.SH "SEE ALSO"
|
||||
.BR timew-hints (1),
|
||||
.BR timew-show (1)
|
Loading…
Add table
Add a link
Reference in a new issue