1
0
Fork 0

doc: Add @testrefjs macro

* doc/macros.texi (testrefjs): New macro for SRCURI and non-SRCURI.
master
Mike Gerwitz 2018-03-07 13:39:27 -05:00
parent 9727b9a157
commit 8a01d5fd2e
1 changed files with 9 additions and 1 deletions

View File

@ -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