use get-rendered-doc-directories to find the blueboxes.rktd files
This commit is contained in:
parent
74d3c5fa99
commit
b4baa18801
|
@ -1,5 +1,5 @@
|
|||
#lang racket/base
|
||||
(require setup/dirs
|
||||
(require setup/xref
|
||||
racket/serialize
|
||||
racket/contract
|
||||
scribble/core)
|
||||
|
@ -56,11 +56,8 @@
|
|||
(define (build-blueboxes-cache)
|
||||
(filter
|
||||
values
|
||||
(for*/list ([doc-search-dir (in-list (get-doc-search-dirs))]
|
||||
[doc-dir-name (in-list (if (directory-exists? doc-search-dir)
|
||||
(directory-list doc-search-dir)
|
||||
'()))])
|
||||
(define x (build-path doc-search-dir doc-dir-name "blueboxes.rktd"))
|
||||
(for*/list ([doc-dir-name (in-list (get-rendered-doc-directories #f #f))])
|
||||
(define x (build-path doc-dir-name "blueboxes.rktd"))
|
||||
(and (file-exists? x)
|
||||
(call-with-input-file x
|
||||
(λ (port)
|
||||
|
|
Loading…
Reference in New Issue
Block a user