Skip to content

Commit 273c0a9

Browse files
author
Richard Jones
committed
doc clarification
1 parent 613aba0 commit 273c0a9

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

doc/customizing.txt

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Customising Roundup
33
===================
44

5-
:Version: $Revision: 1.123 $
5+
:Version: $Revision: 1.124 $
66

77
.. This document borrows from the ZopeBook section on ZPT. The original is at:
88
http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx
@@ -867,18 +867,18 @@ identifier is examined. Typical URL paths look like:
867867

868868
1. ``/tracker/issue``
869869
2. ``/tracker/issue1``
870-
3. ``/tracker/_file/style.css``
870+
3. ``/tracker/@file/style.css``
871871
4. ``/cgi-bin/roundup.cgi/tracker/file1``
872872
5. ``/cgi-bin/roundup.cgi/tracker/file1/kitten.png``
873873

874874
where the "tracker identifier" is "tracker" in the above cases. That means
875-
we're looking at "issue", "issue1", "_file/style.css", "file1" and
875+
we're looking at "issue", "issue1", "@file/style.css", "file1" and
876876
"file1/kitten.png" in the cases above. The path is generally only one
877877
entry long - longer paths are handled differently.
878878

879879
a. if there is no path, then we are in the "home" context.
880-
b. if the path starts with "_file" (as in example 3,
881-
"/tracker/_file/style.css"), then the additional path entry,
880+
b. if the path starts with "@file" (as in example 3,
881+
"/tracker/@file/style.css"), then the additional path entry,
882882
"style.css" specifies the filename of a static file we're to serve up
883883
from the tracker "html" directory. Raises a SendStaticFile exception.
884884
c. if there is something in the path (as in example 1, "issue"), it
@@ -902,6 +902,13 @@ defaults to:
902902
- full item designator supplied: "item"
903903

904904

905+
Serving static content
906+
----------------------
907+
908+
See the previous section `determining web context`_ where it describes
909+
``@file`` paths.
910+
911+
905912
Performing actions in web requests
906913
----------------------------------
907914

0 commit comments

Comments
 (0)