typos and notes
Thanks to Eli. original commit: c64142ce24c3773eb4c3d4603588de286f1032d3
This commit is contained in:
parent
e34cf22278
commit
0bbee2d93e
|
@ -446,7 +446,7 @@ before @racket[renderer] is called.}
|
|||
@defparam[url-roots roots (or/c #f
|
||||
(listof (cons/c path-string?
|
||||
(cons/c string?
|
||||
(listof 'abs 'index)))))]{
|
||||
(listof (or/c 'abs 'index))))))]{
|
||||
|
||||
A parameter that determines how resource paths are converted to URLs
|
||||
for reference. A @racket[#f] value is equivalent to an empty list.
|
||||
|
@ -460,8 +460,8 @@ all paths are expected to be disjoint (e.g., no @racket["/foo"] and
|
|||
|
||||
If an item in the parameter's list includes @racket['abs], then an
|
||||
absolute URL is produced for all references to files with the
|
||||
corresponding prefix. If an item includes @racket['index], then an
|
||||
refer to a directory path is converted to a reference to
|
||||
corresponding prefix. If an item includes @racket['index], then a
|
||||
reference to a directory path is converted to a reference to
|
||||
@filepath{index.html}, otherwise a reference to @filepath{index.html}
|
||||
is converted to a directory path.}
|
||||
|
||||
|
|
|
@ -26,8 +26,10 @@
|
|||
|
||||
(require scribble/text)
|
||||
|
||||
;; default file, urls to it will point to its directory instead, and a
|
||||
;; /-suffixed path will render to this file
|
||||
;; default file, urls to it will point to its directory instead, a
|
||||
;; /-suffixed path will render to this file, and `url-roots' entries
|
||||
;; with 'index will append this file name to a rewritten path that
|
||||
;; otherwise ends in /
|
||||
(define default-file "index.html")
|
||||
|
||||
;; the currently rendered directory, as a list
|
||||
|
|
Loading…
Reference in New Issue
Block a user