bkyk8rc3zvpnsf5inmcqq4n3k98cv6hj-my-site-hyper-literate-git.test.suzanne.soy-0.0.1

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 77a46f46c7eca49bb0c04d1c8ac97a0222b18a9f
parent 7f8004be1feb9ddc02bdee2622156d6791e48510
Author: Asumu Takikawa <asumu@simplyrobot.org>
Date:   Fri,  8 Sep 2017 12:35:18 -0700

Add doc examples for @author and @author+email

Diffstat:
Mscribble-doc/scribblings/scribble/base.scrbl | 18++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)

diff --git a/scribble-doc/scribblings/scribble/base.scrbl b/scribble-doc/scribblings/scribble/base.scrbl @@ -130,7 +130,14 @@ Generates a @racket[paragraph] with style name @racket['author] to show the author(s) of a document, where each author is represented by @tech{content}. Normally, this function is used after @racket[title] for the beginning of a document. See also -@racket[author+email].} +@racket[author+email]. + +Examples: + +@codeblock[#:keep-lang-line? #f]|{ + #lang scribble/base + @author{Alice P. Racketeer} +}|} @defproc[(author+email [author-name content?] [email string?] @@ -143,7 +150,14 @@ address-harvesting robots. Note that @racket[author+email] is not a replacement for @racket[author]. The @racket[author+email] function is often used in -combination with @racket[author].} +combination with @racket[author]. + +Examples: + +@codeblock[#:keep-lang-line? #f]|{ + #lang scribble/base + @author[(author+email "Bob T. Scribbler" "bob@racket-lang.org")] +}|} @; ------------------------------------------------------------------------