bkyk8rc3zvpnsf5inmcqq4n3k98cv6hj-my-site-hyper-literate-git.test.suzanne.soy-0.0.1

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit c34a69c62386db1770fb45e57af55e9e0dd44ef5
parent 0ca977aecd6995690bd7744829abe24dd9d12b5d
Author: Leif Andersen <leif@leifandersen.net>
Date:   Wed, 15 Jun 2016 15:20:58 -0400

Update the docs to mention the `search-box` parameter in the html mixin.

Diffstat:
Mscribble-doc/scribblings/scribble/renderer.scrbl | 15++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/scribble-doc/scribblings/scribble/renderer.scrbl b/scribble-doc/scribblings/scribble/renderer.scrbl @@ -333,7 +333,20 @@ formatted as Racket code.}} @defmixin[render-mixin (render<%>) ()]{ -Specializes a @racket[render<%>] class for generating HTML output. + @defconstructor/auto-super[([search-box? boolean? #f])]{ + Specializes a @racket[render<%>] class for generating + HTML output. The arguments are the same as + @racket[render<%>], except for the addition of + @racket[search-box]. + + If @racket[search-box?] is @racket[#t] and the document + is created with @racket[scribble/manual], then it will be + rendered with a search box, similar to this page. Note + that the @racket[search-box?] argument does not create + the search page itself. Rather, it passes the search + query to whatever page is located at + @tt{search/index.html}. The query is passed as an HTTP + query string in the @tt{q} field.} @defmethod[(set-external-tag-path [url string?]) void?]{