From 8a01d5fd2e302842f5243965df62a9606fc68c2d Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Wed, 7 Mar 2018 13:39:27 -0500 Subject: [PATCH] doc: Add @testrefjs macro * doc/macros.texi (testrefjs): New macro for SRCURI and non-SRCURI. --- doc/macros.texi | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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