commit 0ee4ed12d1388f83b8a2393742b6221da96c1f34
parent b47e95950bfcca1870e50736bf48c3f15d3f2ef5
Author: Matthew Butterick <mb@mbtype.com>
Date: Wed, 3 Sep 2014 09:36:04 -0700
fix docs for `image`
original commit: c9692b113f31c745213656f97a552b787a3fed0b
Diffstat:
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/pkgs/scribble-pkgs/scribble-doc/scribblings/scribble/base.scrbl b/pkgs/scribble-pkgs/scribble-doc/scribblings/scribble/base.scrbl
@@ -1,7 +1,8 @@
#lang scribble/doc
@(require scribble/manual "utils.rkt"
(for-syntax racket/base)
- (for-label setup/main-collects))
+ (for-label setup/main-collects
+ racket/runtime-path))
@(define-syntax def-section-like
(syntax-rules ()
@@ -479,8 +480,10 @@ See also @racket[verbatim].}
the image cannot be displayed.
If @racket[path] is a relative path, it is relative to the current
- directory, which is set by @exec{raco setup} and @exec{scribble} to
- the directory of the main document file. Instead of a path or string,
+ directory, which is set by @exec{raco setup} to
+ the directory of the main document file. (In general, however, it's
+ more reliable to express relative paths using
+ @racket[define-runtime-path].) Instead of a path or string,
the @racket[path] argument can be a result of
@racket[path->main-collects-relative].