Help and Documentation Utilities
This section describes utilities designed to connect to documentation and to support bug reports. See also scribble/xref.
1 Searching in the Documentation
(require help/search) | package: scribble-lib |
procedure
(send-main-page [ #:sub sub #:notify notify #:fragment fragment #:query query]) → any sub : path-string? = "index.html" notify : (-> (or/c path? string?) void) = void fragment : (or/c #f string?) = #f query : (or/c #f string?) = #f
When get-doc-open-url returns #f, send-main-page builds a URL that points into the main collection documentation or into the user-specific documentation, depending on the sub argument. Once it finds the path, send-main-page passes the path to notify. The fragment and query arguments are passed to send-url/file, along with the URL.
When get-doc-open-url returns a URL string, send-main-page appends sub to the URL and passes it to notify. It then appends fragment and query to the URL and passes it on to send-url.
Changed in version 6.0.1.6 of package scribble-lib: Added get-doc-open-url support.
procedure
(perform-search str [context]) → void?
str : string?
context :
(or/c #f string? (list/c string? string?)) = #f
2 Connecting to racket
(require help/help-utils) | package: racket-doc |
procedure
(search-for strs) → void?
strs : (listof string?)
procedure
(find-help/lib id lib) → void?
id : symbol? lib : module-path?
procedure
id : identifier?
procedure
(go-to-main-page) → void?