diff doc/customizing.txt @ 2588:e80604dbe2af

document the STATIC_FILES config var
author Richard Jones <richard@users.sourceforge.net>
date Tue, 20 Jul 2004 00:15:23 +0000
parents 7575854ecee5
children 809758599cdc
line wrap: on
line diff
--- a/doc/customizing.txt	Mon Jul 19 06:12:40 2004 +0000
+++ b/doc/customizing.txt	Tue Jul 20 00:15:23 2004 +0000
@@ -2,7 +2,7 @@
 Customising Roundup
 ===================
 
-:Version: $Revision: 1.143 $
+:Version: $Revision: 1.144 $
 
 .. This document borrows from the ZopeBook section on ZPT. The original is at:
    http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx
@@ -118,6 +118,11 @@
  This is the directory that the HTML templates reside in. By default they are
  in the tracker home.
 
+**STATIC_FILES** - e.g. ``os.path.join(TRACKER_HOME, 'files')``
+ This *optional* variable defines the directory that static files are served
+ from (files with the URL ``/@@file/<filename>``). If this is not defined,
+ then static files are served from the TEMPLATES directory.
+
 **TRACKER_NAME** - ``'Roundup issue tracker'``
  A descriptive name for your roundup tracker. This is sent out in e-mails and
  appears in the heading of CGI pages.
@@ -243,6 +248,11 @@
     # This is the directory that the HTML templates reside in
     TEMPLATES = os.path.join(TRACKER_HOME, 'html')
 
+    # Optional: the directory that static files are served from (files with
+    # the URL /@@file/<filename>). If this is not defined, then static files
+    # are served from the TEMPLATES directory.
+    # STATIC_FILES = os.path.join(TRACKER_HOME, 'files')
+
     # A descriptive name for your roundup tracker
     TRACKER_NAME = 'Roundup issue tracker'
 

Roundup Issue Tracker: http://roundup-tracker.org/