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
|
#lang racket/base
|
||||||
(require setup/dirs
|
(require setup/xref
|
||||||
racket/serialize
|
racket/serialize
|
||||||
racket/contract
|
racket/contract
|
||||||
scribble/core)
|
scribble/core)
|
||||||
|
@ -56,11 +56,8 @@
|
||||||
(define (build-blueboxes-cache)
|
(define (build-blueboxes-cache)
|
||||||
(filter
|
(filter
|
||||||
values
|
values
|
||||||
(for*/list ([doc-search-dir (in-list (get-doc-search-dirs))]
|
(for*/list ([doc-dir-name (in-list (get-rendered-doc-directories #f #f))])
|
||||||
[doc-dir-name (in-list (if (directory-exists? doc-search-dir)
|
(define x (build-path doc-dir-name "blueboxes.rktd"))
|
||||||
(directory-list doc-search-dir)
|
|
||||||
'()))])
|
|
||||||
(define x (build-path doc-search-dir doc-dir-name "blueboxes.rktd"))
|
|
||||||
(and (file-exists? x)
|
(and (file-exists? x)
|
||||||
(call-with-input-file x
|
(call-with-input-file x
|
||||||
(λ (port)
|
(λ (port)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user