add DOCTYPE for Scribble-generated HTML
svn: r7924
This commit is contained in:
parent
ec2ed125b0
commit
40910d252c
|
@ -283,6 +283,7 @@
|
||||||
(div ((class "maincolumn"))
|
(div ((class "maincolumn"))
|
||||||
(div ((class "main")) ,@(render-part d ri)))))])
|
(div ((class "main")) ,@(render-part d ri)))))])
|
||||||
(install-file scribble-css)
|
(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)))))
|
(xml:write-xml/content (xml:xexpr->xml xpr)))))
|
||||||
|
|
||||||
(define/override (render-one d ri fn)
|
(define/override (render-one d ri fn)
|
||||||
|
|
|
@ -441,7 +441,7 @@ Expands the given @scheme[_require-spec] to lists of imports and
|
||||||
import sources.}
|
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?]{
|
require-transformer?]{
|
||||||
|
|
||||||
Creates a require transformer (i.e., a structure with the
|
Creates a require transformer (i.e., a structure with the
|
||||||
|
|
Loading…
Reference in New Issue
Block a user