From ea01ae2f689c8c2de4ff1db7c9b71249cbb1b99e Mon Sep 17 00:00:00 2001 From: "William J. Bowman" Date: Wed, 16 Sep 2015 18:51:45 -0400 Subject: [PATCH] Added example of @tech with #:doc I never remember how to use this. --- scribble-doc/scribblings/scribble/manual.scrbl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scribble-doc/scribblings/scribble/manual.scrbl b/scribble-doc/scribblings/scribble/manual.scrbl index 5cf061b8..ca8272bf 100644 --- a/scribble-doc/scribblings/scribble/manual.scrbl +++ b/scribble-doc/scribblings/scribble/manual.scrbl @@ -1774,6 +1774,11 @@ key; in either case, if @racket[normalize?] is true, the key is normalized in th @racket[deftech]. The @racket[#:doc] and @racket[#:tag-prefixes] arguments support cross-document and section-specific references, like in @racket[secref]. +For example: +@racketblock[@tech[#:doc '(lib "scribblings/guide/guide.scrbl")]{blame object}] + +creates a link to @tech[#:doc '(lib "scribblings/guide/guide.scrbl")]{blame object} in +@other-doc['(lib "scribblings/guide/guide.scrbl")]. With the default style files, the hyperlink created by @racket[tech] is somewhat quieter than most hyperlinks: the underline in HTML output