summaryrefslogtreecommitdiff
path: root/doc/skribilo.scm
diff options
context:
space:
mode:
Diffstat (limited to 'doc/skribilo.scm')
-rw-r--r--doc/skribilo.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/skribilo.scm b/doc/skribilo.scm
index 4058e62..c3b8efc 100644
--- a/doc/skribilo.scm
+++ b/doc/skribilo.scm
@@ -44,6 +44,7 @@
source-ref
record-documentation
record-field
+ record-ref
docstring-function-documentation))
;; Constants
@@ -294,6 +295,12 @@ are a list of <record-field> objects."
(record-field-documentation documented-field))))
fields)))))
+(define (record-ref identifier)
+ "Link to record documentation of record identified by
+@var{identifier}."
+ (ref #:ident identifier
+ #:text (code identifier)))
+
(define-record-type <function>
(function name arguments docstring)
function?