From 08d09d672e132d654202f764d1a3586030a7d9b7 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Sun, 8 Dec 2019 10:06:04 -0700 Subject: [PATCH] docs: remove wrong claims about `body-id` The `body-id` structure is actually only recognized in a main `part`. for other places, use `attributes`. --- scribble-doc/scribblings/scribble/core.scrbl | 21 +------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/scribble-doc/scribblings/scribble/core.scrbl b/scribble-doc/scribblings/scribble/core.scrbl index ba512a4e..95b05936 100644 --- a/scribble-doc/scribblings/scribble/core.scrbl +++ b/scribble-doc/scribblings/scribble/core.scrbl @@ -599,10 +599,6 @@ The currently recognized @tech{style properties} are as follows: @item{@racket[attributes] structure --- Provides additional HTML attributes for the @tt{

}, @tt{

}, or alternate tag.} - @item{@racket[body-id] structure --- For HTML, uses the given string - as an @tt{id} attribute of the @tt{

}, @tt{

}, or - alternate tag.} - @item{@indexed-racket['never-indents] --- For Latex and @tech{compound paragraphs}; see @racket[compound-paragraph].} @@ -658,9 +654,6 @@ The following @tech{style properties} are currently recognized: @item{@racket[attributes] structure --- Provides additional HTML attributes for the @tt{} tag.} - @item{@racket[body-id] structure --- For HTML, uses the given string - as an @tt{id} attribute of the @tt{
} tag.} - @item{@indexed-racket['aux] --- For HTML, include the table in the table-of-contents display for the enclosing part.} @@ -707,9 +700,6 @@ The following @tech{style properties} are currently recognized: @item{@racket[attributes] structure --- Provides additional HTML attributes for the @tt{
    } or @tt{
      } tag.} - @item{@racket[body-id] structure --- For HTML, uses the given string - as an @tt{id} attribute of the @tt{
        } or @tt{
          } tag.} - @item{@indexed-racket['never-indents] --- For Latex and @tech{compound paragraphs}; see @racket[compound-paragraph].} @@ -758,9 +748,6 @@ The following @tech{style properties} are currently recognized: @item{@racket[attributes] structure --- Provides additional HTML attributes for the @tt{
          } tag.} - @item{@racket[body-id] structure --- For HTML, uses the given string - as an @tt{id} attribute of the @tt{
          } tag.} - @item{@indexed-racket['never-indents] --- For Latex and @tech{compound paragraphs}; see @racket[compound-paragraph].} @@ -811,9 +798,6 @@ for Latex output (see @secref["extra-style"]). The following @item{@racket[attributes] structure --- Provides additional HTML attributes for the @tt{

          } or alternate tag.} - @item{@racket[body-id] structure --- For HTML, uses the given string - as an @tt{id} attribute of the @tt{

          } or alternate tag.} - @item{@indexed-racket['never-indents] --- For Latex within another @tech{compound paragraph}; see above.} @@ -923,9 +907,6 @@ The following @tech{style properties} are currently recognized: @item{@racket[xexpr-property] structure --- For HTML, supplies literal HTML to render before and after @racket[content].} - @item{@racket[body-id] structure --- For HTML uses the given - string as an @tt{id} attribute of the @tt{} tag.} - @item{@indexed-racket['aux] --- Intended for use in titles, where the auxiliary part of the title can be omitted in hyperlinks. See, for example, @racket[secref].} @@ -1827,7 +1808,7 @@ Like @racket[css-style-addition], but for a JavaScript file instead of a CSS fil @defstruct[body-id ([value string?])]{ Used as a @tech{style property} to associate an @tt{id} attribute with -an HTML tag.} +an HTML tag within a main @racket[part].} @defstruct[document-source ([module-path module-path?])]{