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 f4f3354466b339ec62c5f5e138acc97beae99d6d
parent 7836b788095b3de152fe3b3aa95879feabbba8a4
Author: Asumu Takikawa <asumu@ccs.neu.edu>
Date:   Thu, 21 Jul 2016 13:50:01 -0400

Add doc examples for history form

Diffstat:
Mscribble-doc/scribblings/scribble/manual.scrbl | 22++++++++++++++++++++++
1 file changed, 22 insertions(+), 0 deletions(-)

diff --git a/scribble-doc/scribblings/scribble/manual.scrbl b/scribble-doc/scribblings/scribble/manual.scrbl @@ -1949,6 +1949,28 @@ produced by @racket[content-expr] should normally start with a capital letter and end with a period, but it can be a sentence fragment such as ``Added a @racket[#:changed] form.'' +Examples: +@codeblock[#:keep-lang-line? #f]|{ +#lang scribble/manual +@defthing[tasty-burrito burrito?]{ + Compatible with the API of a sandwich, but not legally a + sandwich in Massachusetts. + + @history[#:added "1.0" + #:changed "1.1" "Refactored tortilla." + #:changed "1.2" @elem{Now includes @emph{guacamole}.}] +} +}| +@doc-render-examples[ + @defthing[tasty-burrito burrito?]{ + Compatible with the API of a sandwich, but not legally a + sandwich in Massachusetts. + + @history[#:added "1.0" + #:changed "1.1" "Refactored tortilla." + #:changed "1.2" @elem{Now includes @emph{guacamole}.}] +}] + @history[#:added "1.1"]} @; ------------------------------------------------------------------------