update docs with a working URL for --redirect
This commit is contained in:
parent
1a5f2a44bd
commit
150de96b64
|
@ -3,7 +3,8 @@
|
||||||
"utils.rkt"
|
"utils.rkt"
|
||||||
(for-label racket/class
|
(for-label racket/class
|
||||||
scribble/render
|
scribble/render
|
||||||
scribble/xref))
|
scribble/xref
|
||||||
|
setup/dirs))
|
||||||
|
|
||||||
@(define-syntax-rule (defmodule/local lib . content)
|
@(define-syntax-rule (defmodule/local lib . content)
|
||||||
(begin
|
(begin
|
||||||
|
@ -354,6 +355,7 @@ Configures the renderer to redirect links to external documents via
|
||||||
@racket[url], adding a @tt{tag} query element to the end of the
|
@racket[url], adding a @tt{tag} query element to the end of the
|
||||||
URL that contains the Base64-encoded, @racket[print]ed, serialized
|
URL that contains the Base64-encoded, @racket[print]ed, serialized
|
||||||
original tag (in the sense of @racket[link-element]) for the link.
|
original tag (in the sense of @racket[link-element]) for the link.
|
||||||
|
The result of @racket[get-doc-search-url] is intended for use as @racket[url].
|
||||||
|
|
||||||
If the link is based on a cross-reference entry that has a
|
If the link is based on a cross-reference entry that has a
|
||||||
document-identifying string (see @racket[load-xref] and its
|
document-identifying string (see @racket[load-xref] and its
|
||||||
|
|
|
@ -148,7 +148,7 @@ information for all installed documentation, and @PFlag{m} or
|
||||||
setup/xref load-collections-xref}.
|
setup/xref load-collections-xref}.
|
||||||
|
|
||||||
The @DFlag{redirect-main} flag for HTML output redirects links to the local
|
The @DFlag{redirect-main} flag for HTML output redirects links to the local
|
||||||
installation's documentation to a given URL, such as
|
installation's documentation (not user-scope documentation) to a given URL, such as
|
||||||
@tt{http://docs.racket-lang.org/}. Beware that documentation links
|
@tt{http://docs.racket-lang.org/}. Beware that documentation links
|
||||||
sometimes change (although Scribble generates HTML paths and anchors
|
sometimes change (although Scribble generates HTML paths and anchors
|
||||||
in a relatively stable way), so
|
in a relatively stable way), so
|
||||||
|
@ -156,11 +156,13 @@ in a relatively stable way), so
|
||||||
more reliable when building with an installation for @italic{version}.
|
more reliable when building with an installation for @italic{version}.
|
||||||
The @DFlag{redirect-main} flag is ignored for non-HTML output.
|
The @DFlag{redirect-main} flag is ignored for non-HTML output.
|
||||||
|
|
||||||
The @DFlag{redirect} flag is like @DFlag{redirect-main}, except
|
The @DFlag{redirect} flag is like @DFlag{redirect-main}, except that
|
||||||
that it builds on the given URL to indicate a cross-reference tag that
|
it builds on the given URL to indicate a cross-reference tag that is
|
||||||
is more stable than an HTML path and anchor (in case the documentation
|
more stable than an HTML path and anchor (in case the documentation
|
||||||
for a function changes sections, for example). No server currently
|
for a function changes sections, for example), and it can generate
|
||||||
exists to serve such tag requests, however.
|
redirected linked for documentation that is installed in user scope.
|
||||||
|
The URL @tt{https://docs.racket-lang.org/local-redirect/index.html} can
|
||||||
|
work for these redirections.
|
||||||
|
|
||||||
For cross-references among documentation that is not part of the
|
For cross-references among documentation that is not part of the
|
||||||
Racket installation, use @DFlag{info-out} to save information from a
|
Racket installation, use @DFlag{info-out} to save information from a
|
||||||
|
|
Loading…
Reference in New Issue
Block a user