From 15a938e0bd2e806a5a68002d01161150372c881f Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Sun, 1 Dec 2013 08:09:07 -0700 Subject: [PATCH] move `setup/xref` from "scribble-lib" to "racket-index" The `setup/xref` library conceptually belongs in "racket-index", and moving the library avoids a cross-package use of a private module. Merge to v6.0 original commit: d37e910169622364a10cdd34f00ade99ee216a77 --- pkgs/scribble-pkgs/scribble-doc/info.rkt | 3 ++- .../scribble-doc/scribblings/scribble/running.scrbl | 2 ++ pkgs/scribble-pkgs/scribble-lib/info.rkt | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/scribble-pkgs/scribble-doc/info.rkt b/pkgs/scribble-pkgs/scribble-doc/info.rkt index 0b3c5a55..a0e2c53b 100644 --- a/pkgs/scribble-pkgs/scribble-doc/info.rkt +++ b/pkgs/scribble-pkgs/scribble-doc/info.rkt @@ -2,7 +2,8 @@ (define collection 'multi) -(define build-deps '("mzscheme-doc" +(define build-deps '("racket-index" + "mzscheme-doc" "net-doc" "scheme-lib" "draw-doc" diff --git a/pkgs/scribble-pkgs/scribble-doc/scribblings/scribble/running.scrbl b/pkgs/scribble-pkgs/scribble-doc/scribblings/scribble/running.scrbl index e5809182..8f31300c 100644 --- a/pkgs/scribble-pkgs/scribble-doc/scribblings/scribble/running.scrbl +++ b/pkgs/scribble-pkgs/scribble-doc/scribblings/scribble/running.scrbl @@ -126,6 +126,8 @@ information for all installed documentation, so renders @filepath{mine.scrbl} to @filepath{mine.html} with cross-reference links to the Racket installation's documentation. +(The @filepath{racket-index} package must be installed to use +@PFlag{m}/@DPFlag{main-xref-in}.) The @DPFlag{xref-in} flag loads cross-reference information by calling a specified module's function. The @racketmodname[setup/xref] module diff --git a/pkgs/scribble-pkgs/scribble-lib/info.rkt b/pkgs/scribble-pkgs/scribble-lib/info.rkt index 27de3c8d..c1fb2d35 100644 --- a/pkgs/scribble-pkgs/scribble-lib/info.rkt +++ b/pkgs/scribble-pkgs/scribble-lib/info.rkt @@ -2,7 +2,8 @@ (define collection 'multi) -(define deps '("scheme-lib" +(define deps '("racket-index" + "scheme-lib" "base" "compatibility-lib" "scribble-text-lib"