Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMike Gerwitz <mike.gerwitz@rtspecialty.com>2018-03-07 13:39:27 -0500
committerMike Gerwitz <mike.gerwitz@rtspecialty.com>2018-03-07 13:40:08 -0500
commit8a01d5fd2e302842f5243965df62a9606fc68c2d (patch)
tree694dd7abf22cdd57cc927f26ecdf76c7258de44b /doc
parent9727b9a15705b79e71f26b01b01b22cc89fff8fa (diff)
downloadliza-8a01d5fd2e302842f5243965df62a9606fc68c2d.tar.gz
liza-8a01d5fd2e302842f5243965df62a9606fc68c2d.tar.bz2
liza-8a01d5fd2e302842f5243965df62a9606fc68c2d.zip
doc: Add @testrefjs macro
* doc/macros.texi (testrefjs): New macro for SRCURI and non-SRCURI.
Diffstat (limited to 'doc')
-rw-r--r--doc/macros.texi10
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/macros.texi b/doc/macros.texi
index ed7dbfd..53e9941 100644
--- a/doc/macros.texi
+++ b/doc/macros.texi
@@ -176,6 +176,10 @@ This system has maintenance concerns.
@macro srcrefjs{base,module}
@srcref{src/\base\/\module\.js, \module\}
@end macro
+
+@macro testrefjs{base,module}
+@srcref{test/\base\/\module\.js, \module\}
+@end macro
@end ifset
@ifclear SRCURI
@@ -190,7 +194,11 @@ This system has maintenance concerns.
@c intended to display a name without JS,
@c so just do that rather than the actual path
@macro srcrefjs{base,path}
-@srcrefraw{\base\/\path\}
+@srcrefraw{src/\base\/\path\}
+@end macro
+
+@macro testrefjs{base,module}
+@srcref{test/\base\/\module\.js, \module\}
@end macro
@end ifclear