add 'no-toc+aux style property
This commit is contained in:
parent
6a5dfdffb8
commit
aa5f0b767a
|
@ -441,6 +441,14 @@ The recognized @tech{style properties} are as follows:
|
||||||
listing except when those sub-parts are top-level entries in
|
listing except when those sub-parts are top-level entries in
|
||||||
the listing.}
|
the listing.}
|
||||||
|
|
||||||
|
@item{@indexed-racket['no-toc+aux] --- As a @tech{style property} for
|
||||||
|
the main part of a rendered page, causes the HTML output to not
|
||||||
|
include a margin box for the main table of contents, ``on this
|
||||||
|
page'', or tables with the @racket['aux] style property. The
|
||||||
|
@racket['no-toc+aux] property effectively implies
|
||||||
|
@racket['no-toc] and @racket['no-sidebar], but also suppresses
|
||||||
|
@racket['aux] tables.}
|
||||||
|
|
||||||
@item{@indexed-racket['no-toc] --- As a @tech{style property} for the main part of a
|
@item{@indexed-racket['no-toc] --- As a @tech{style property} for the main part of a
|
||||||
rendered page, causes the HTML output to not include a margin box
|
rendered page, causes the HTML output to not include a margin box
|
||||||
for the main table of contents; the ``on this page'' box that
|
for the main table of contents; the ``on this page'' box that
|
||||||
|
@ -541,7 +549,8 @@ sub-parts).
|
||||||
The @racket[parts] field contains sub-parts.
|
The @racket[parts] field contains sub-parts.
|
||||||
|
|
||||||
@history[#:changed "1.25" @elem{Added @racket['no-index] support.}
|
@history[#:changed "1.25" @elem{Added @racket['no-index] support.}
|
||||||
#:changed "1.26" @elem{Added @racket[link-render-style] support.}]}
|
#:changed "1.26" @elem{Added @racket[link-render-style] support.}
|
||||||
|
#:changed "1.27" @elem{Added @racket['no-toc+aux] support.}]}
|
||||||
|
|
||||||
|
|
||||||
@defstruct[paragraph ([style style?] [content content?])]{
|
@defstruct[paragraph ([style style?] [content content?])]{
|
||||||
|
|
|
@ -23,4 +23,4 @@
|
||||||
|
|
||||||
(define pkg-authors '(mflatt eli))
|
(define pkg-authors '(mflatt eli))
|
||||||
|
|
||||||
(define version "1.31")
|
(define version "1.32")
|
||||||
|
|
|
@ -905,7 +905,9 @@
|
||||||
(head-extra-xexpr p)))
|
(head-extra-xexpr p)))
|
||||||
(body ([id ,(or (extract-part-body-id d ri)
|
(body ([id ,(or (extract-part-body-id d ri)
|
||||||
"scribble-racket-lang-org")])
|
"scribble-racket-lang-org")])
|
||||||
,@(render-toc-view d ri)
|
,@(if (part-style? d 'no-toc+aux)
|
||||||
|
null
|
||||||
|
(render-toc-view d ri))
|
||||||
(div ([class "maincolumn"])
|
(div ([class "maincolumn"])
|
||||||
(div ([class "main"])
|
(div ([class "main"])
|
||||||
,@(parameterize ([current-version (extract-version d)])
|
,@(parameterize ([current-version (extract-version d)])
|
||||||
|
|
Loading…
Reference in New Issue
Block a user