From c34a69c62386db1770fb45e57af55e9e0dd44ef5 Mon Sep 17 00:00:00 2001 From: Leif Andersen Date: Wed, 15 Jun 2016 15:20:58 -0400 Subject: [PATCH] Update the docs to mention the `search-box` parameter in the html mixin. --- scribble-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 index 71e29c90..87f2b7ee 100644 --- 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?]{