
Little Helper contains a full text search engine. Currently it indexes all html-files in /collects/doc. A mockup web-interface is present in order to facilitate easy experimentation with searches. Run run-indexer to generate the index for your documentation dir. Run launch to start a web-server with the search interface. Note: Currently assumes w3m is in your path (used to precompute the preview-snippets shown in the search results. svn: r8836
12 lines
243 B
Scheme
12 lines
243 B
Scheme
; from PLaneT dherman/io.plt/1/8/file.ss
|
|
#lang scheme
|
|
|
|
(provide basename)
|
|
|
|
;; basename : path -> relative-path
|
|
(define (basename p)
|
|
(let-values ([(_ name __) (split-path p)])
|
|
(if (symbol? name)
|
|
(build-path name)
|
|
name)))
|