6.13 API for Cross-References for Installed Manuals
(require setup/xref) | package: racket-index |
A cached copy of cross-reference information can be used, in which case on-load is not called.
procedure
(make-collections-xref [ #:no-user? no-user? #:no-main? no-main? #:doc-db db-path #:quiet-fail? quiet-fail? #:register-shutdown! register-shutdown!]) → xref? no-user? : any/c = #f no-main? : any/c = #f db-path : (or/c #f path?) = #f quiet-fail? : any/c = #f register-shutdown! : ((-> any) . -> . any) = void
Cross-reference information is skipped when it is installed in the main installation or in a user-specific location, respectively, if no-main? or no-user? is #t.
If quiet-fail? is true, then errors are suppressed while loading cross-reference information.
The register-shutdown! callback may be called to register a function that closes database connections when the result of make-collections-xref is no longer needed. If register-shutdown! is not supplied or if a function sent to register-shutdown! is never called, database connections will be closed only though a custodian.
procedure
(get-rendered-doc-directories no-user? no-main?) → (listof path?) no-user? : any/c no-main? : any/c
procedure
Added in version 1.2 of package racket-index.
procedure
(doc-state-changed? doc-state) → boolean?
doc-state : doc-state?
If the result is #t, then the documentation in this installation of Racket has changed and otherwise it hasn’t.
Added in version 1.2 of package racket-index.
procedure
(doc-state? v) → boolean?
v : any/c
Added in version 1.2 of package racket-index.