Mercurial > p > roundup > code
comparison doc/customizing.txt @ 2911:ca6206cc74d9
*** empty log message ***
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 15 Nov 2004 00:09:12 +0000 |
| parents | 5c0e5abcb5e3 |
| children | c75a19894d3e |
comparison
equal
deleted
inserted
replaced
| 2910:5c0e5abcb5e3 | 2911:ca6206cc74d9 |
|---|---|
| 1 =================== | 1 =================== |
| 2 Customising Roundup | 2 Customising Roundup |
| 3 =================== | 3 =================== |
| 4 | 4 |
| 5 :Version: $Revision: 1.153 $ | 5 :Version: $Revision: 1.155 $ |
| 6 | 6 |
| 7 .. This document borrows from the ZopeBook section on ZPT. The original is at: | 7 .. This document borrows from the ZopeBook section on ZPT. The original is at: |
| 8 http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx | 8 http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx |
| 9 | 9 |
| 10 .. contents:: | 10 .. contents:: |
| 53 ===================== | 53 ===================== |
| 54 | 54 |
| 55 The ``config.ini`` located in your tracker home contains the basic | 55 The ``config.ini`` located in your tracker home contains the basic |
| 56 configuration for the web and e-mail components of roundup's interfaces. | 56 configuration for the web and e-mail components of roundup's interfaces. |
| 57 | 57 |
| 58 The followin taken from the `Python Library Reference`__ (May 20, 2004) | 58 The following is taken from the `Python Library Reference`__ (May 20, 2004) |
| 59 section "ConfigParser -- Configuration file parser": | 59 section "ConfigParser -- Configuration file parser": |
| 60 | 60 |
| 61 The configuration file consists of sections, led by a "[section]" header | 61 The configuration file consists of sections, led by a "[section]" header |
| 62 and followed by "name = value" entries, with line continuations on a | 62 and followed by "name = value" entries, with line continuations on a |
| 63 newline with leading whitespace. Note that leading whitespace is removed | 63 newline with leading whitespace. Note that leading whitespace is removed |
| 66 are ignored and may be used to provide comments. | 66 are ignored and may be used to provide comments. |
| 67 | 67 |
| 68 For example:: | 68 For example:: |
| 69 | 69 |
| 70 [My Section] | 70 [My Section] |
| 71 foodir: %(dir)s/whatever | 71 foodir = %(dir)s/whatever |
| 72 dir=frob | 72 dir = frob |
| 73 | 73 |
| 74 would resolve the "%(dir)s" to the value of "dir" ("frob" in this case). | 74 would resolve the "%(dir)s" to the value of "dir" ("frob" in this case) |
| 75 resulting in "foodir" being "frob/whatever". | |
| 75 | 76 |
| 76 __ http://docs.python.org/lib/module-ConfigParser.html | 77 __ http://docs.python.org/lib/module-ConfigParser.html |
| 77 | 78 |
| 78 The configuration variables available are: | 79 The configuration variables available are: |
| 79 | 80 |
