add DOCTYPE for Scribble-generated HTML

svn: r7924
This commit is contained in:
Matthew Flatt 2007-12-07 20:46:12 +00:00
parent ec2ed125b0
commit 40910d252c
2 changed files with 2 additions and 1 deletions

View File

@ -283,6 +283,7 @@
(div ((class "maincolumn"))
(div ((class "main")) ,@(render-part d ri)))))])
(install-file scribble-css)
(printf "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n")
(xml:write-xml/content (xml:xexpr->xml xpr)))))
(define/override (render-one d ri fn)

View File

@ -441,7 +441,7 @@ Expands the given @scheme[_require-spec] to lists of imports and
import sources.}
@defproc[(make-require-transformer [proc (syntax? . ->* . ((listof import?) (listof import-source?)))])
@defproc[(make-require-transformer [proc ((syntax?) . ->* . ((listof import?) (listof import-source?)))])
require-transformer?]{
Creates a require transformer (i.e., a structure with the