summaryrefslogtreecommitdiff
path: root/manpages/taler-terms-generator.1.rst
blob: d6c224115ed1aff87d42ffd5e1da238d65b1244e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
taler-terms-generator(1)
########################


.. only:: html

   Name
   ====

   **taler-terms-generator** - generate legal terms for GNU Taler services


Synopsis
========

**taler-terms-generator**
[**-a** *AUTHOR*]
[**-C** *COPYRIGHT*]
[**-h**]
[**-i** *INPUT*]
[**-l** *LANGUAGE*]
[**-o** *OUTPUT*]
[**-p** *PAPER*]
[**-t** *TITLE*]


Description
===========

**taler-terms-generator** is a command-line tool to create terms of service
 and privacy policy files in various file formats and languages from a
 reStructuredText (".rst") input. It can be used to generate the responses
 various GNU Taler services serve under the ``/terms`` and ``/pp`` endpoints.

**-a** *AUTHOR*
   set the author information to the given AUTHOR in the meta-data of various generated outputs.

**-C** *COPYRIGHT*
   set the copyright information to the given COPYRIGHT in the meta-data of various generated outputs.

**-h** \| **--help**
   Prints a compiled-in help text.

**-i** *INPUT*
   Name of the input (.rst) file with the terms of service or privacy policy to convert.

**-l** *LANGUAGE*
   Add the given *LANGUAGE* to the list of translations for the current *INPUT*. *LANGUAGE* must be a two-letter language code (like "de" or "it"). This will generate or update the respective ".po" files to translate the *INPUT* terms to this *LANGUAGE*.

**-L** *LOCALE_DIR*
   Specify locale/ directory where GNU gettext resources for translating the input are located. If "-l" is given, this directory is where fresh or updated ".po" files will be placed, and otherwise this directory will be scanned for translations of the ".rst" input file.

**-o** *OUTPUT*
   Specifies where to write the output. This should be the directory where the service expects to find the generated resources.  Unless you changed the default configuration, you probably do not have to specify this value.

**-p** *PAPER*
   Specifies the paper format for generated PDF documents. Can be "a4" or "letter".

**-t** *TITLE*
   Overrides the document title. By default, the title will be set to the contents of the first line of the *INPUT* ".rst" file.


See Also
========

taler-config(1), taler.conf(5)

Bugs
====

Report bugs by using https://bugs.taler.net/ or by sending electronic
mail to <taler@gnu.org>.