Commit graph

17 commits

Author SHA1 Message Date
Thomas Lauf
0b641da598 Add ":today" hint
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-10-10 13:04:47 +02:00
Thomas Lauf
bddb874034 Improve configurability of CMake install directories
Make installation of man pages configurable per section
Use configuration variable TIMEW_BINDIR
Update documentation

Closes #553

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-08-11 15:30:26 +02:00
Tadeas Uhlir
edcc9b102d Fix documentation since macOS is now supported
Signed-off-by: Tadeas Uhlir <tadeas.uhlir@gmail.com>
2023-07-29 15:40:41 +02:00
Thomas Lauf
3008e458e9 Update project to C++17
- Bump CMake to minimum version 3.8
- Set C++ standard to 17
- Remove CMAKE_LEGACY_CYGWIN_WIN32 compatibility mode
- Remove C++11 stuff
- Update documentation

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-06-17 08:41:07 +02:00
Benedikt Fein
dd330aa0db Fix man page build for out-of-source builds
Fixes #461

Signed-off-by: Benedikt Fein <fein@fim.uni-passau.de>
2023-06-08 17:29:05 +02:00
Thomas Lauf
20a8a4a4cc Cleanup CMake files
- Replace tabs with spaces
- Use lowercase for CMake commands
- Unify alignment
- Remove superfluous empty line
- Add space after CMake command

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-05-26 09:53:03 +02:00
Thomas Lauf
1489367042 Document limitation when using a named date as range end
Closes #421

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-01-16 23:32:26 +01:00
Thomas Lauf
47b9fa8e9c Move details on POSIX time to section NOTES
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2022-12-30 00:16:00 +01:00
Daniel Hornung
cb7f439022 DOC: Added additional information about minimum posix time.
Signed-off-by: Daniel Hornung <d.hornung@indiscale.com>
2022-12-30 00:02:25 +01:00
Daniel Hornung
49f389ef8c DOC: Man page now says that POSIX time is at least 315532800.
Signed-off-by: Daniel Hornung <d.hornung@indiscale.com>
2022-12-30 00:00:12 +01:00
Thomas Lauf
a5194c5b2e Update documentation on dates and durations
Relates to #252

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2022-12-29 16:20:03 +01:00
Thomas Lauf
5c93b43f30 Add paragraphs
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2022-12-27 23:28:56 +01:00
Stanisław Wysocki
718531f0a8 Update documentation on XDG Base Directory specification support
Signed-off-by: Stanisław Wysocki <garethel@protonmail.com>
2022-10-16 10:52:53 +02:00
Thomas Lauf
14050d84f3 Update documentation
- Add documentation of `:all` hint
- Add `timew-hints` as `SEE ALSO` to `timew-ranges`

Related to #408

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2021-06-11 15:05:40 +02:00
Thomas Lauf
b189ccb020 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>
2021-02-21 20:58:30 +01:00
Daniel
13fb0ad8e3 ENH: Add new interval hint :fortnight (sopw - eow). 2020-03-06 21:56:43 +01:00
Thomas Lauf
f7a3e26d8e Move section 7 files to directory man7
- Amends #262

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-27 17:22:00 +01:00