scribble: fix a rendering and cross-reference problem
The problem is related to the recently introduced style split between definitions and references to definitions. original commit: 44f810aa72468961f73aad3161ea345cd1e3ed30
This commit is contained in:
parent
cc37b26e35
commit
5bbd6e2712
|
@ -93,7 +93,7 @@
|
|||
(define (gen defn?)
|
||||
(if sig
|
||||
(*sig-elem #:defn? defn? (sig-id sig) name)
|
||||
(annote-exporting-library
|
||||
((if defn? annote-exporting-library values)
|
||||
(to-element #:defn? defn? (make-just-context name stx-id)))))
|
||||
(values (gen #t) (gen #f))))
|
||||
|
||||
|
|
|
@ -197,8 +197,7 @@
|
|||
(list (let ([target-maker (id-to-target-maker stx-id #t)]
|
||||
[content (annote-exporting-library
|
||||
(to-element #:defn? #t stx-id))]
|
||||
[ref-content (annote-exporting-library
|
||||
(to-element stx-id))])
|
||||
[ref-content (to-element stx-id)])
|
||||
(if target-maker
|
||||
(target-maker
|
||||
content
|
||||
|
|
|
@ -708,7 +708,7 @@
|
|||
(if link?
|
||||
(let ()
|
||||
(define (gen defn?)
|
||||
(annote-exporting-library
|
||||
((if defn? annote-exporting-library values)
|
||||
(to-element #:defn? defn? name-id)))
|
||||
(define content (gen #t))
|
||||
(define ref-content (gen #f))
|
||||
|
|
Loading…
Reference in New Issue
Block a user