diff --git a/scribble-doc/scribblings/scribble/core.scrbl b/scribble-doc/scribblings/scribble/core.scrbl index d04896e7..78b37fe7 100644 --- a/scribble-doc/scribblings/scribble/core.scrbl +++ b/scribble-doc/scribblings/scribble/core.scrbl @@ -1851,6 +1851,15 @@ For a @racket[part] that corresponds to an HTML page, adds content to the @tt{} tag.} +@defstruct[head-addition ([xexpr xexpr/c])]{ + +Like @racket[head-extra] in content, but propagated to enclosing and +nested HTML pages like @racket[css-addition]. Additions to @tt{} +via @racket[head-addition] appear before additions via @racket[head-extra]. + +@history[#:added "1.38"]} + + @defstruct[render-convertible-as ([types (listof (or/c 'png-bytes 'svg-bytes 'gif-bytes))])]{ For a @racket[part] that corresponds to an HTML page, controls how objects that subscribe to the @racketmodname[file/convertible] diff --git a/scribble-lib/info.rkt b/scribble-lib/info.rkt index a80f5a71..f8f64e31 100644 --- a/scribble-lib/info.rkt +++ b/scribble-lib/info.rkt @@ -23,4 +23,4 @@ (define pkg-authors '(mflatt eli)) -(define version "1.37") +(define version "1.38") diff --git a/scribble-lib/scribble/html-properties.rkt b/scribble-lib/scribble/html-properties.rkt index f4df208c..8c6f1475 100644 --- a/scribble-lib/scribble/html-properties.rkt +++ b/scribble-lib/scribble/html-properties.rkt @@ -30,4 +30,5 @@ [link-resource ([path path-string?])] [head-extra ([xexpr xexpr/c])] + [head-addition ([xexpr xexpr/c])] [render-convertible-as ([types (listof (or/c 'png-bytes 'svg-bytes 'gif-bytes))])]) diff --git a/scribble-lib/scribble/html-render.rkt b/scribble-lib/scribble/html-render.rkt index 11cb6759..c7b325eb 100644 --- a/scribble-lib/scribble/html-render.rkt +++ b/scribble-lib/scribble/html-render.rkt @@ -894,6 +894,7 @@ (extract js-style-addition? js-style-addition-path) (reverse extra-script-files))) ,(xml:comment "[if IE 6]>