doc: Add @testrefjs macro
* doc/macros.texi (testrefjs): New macro for SRCURI and non-SRCURI.master
parent
9727b9a157
commit
8a01d5fd2e
|
@ -176,6 +176,10 @@ This system has maintenance concerns.
|
||||||
@macro srcrefjs{base,module}
|
@macro srcrefjs{base,module}
|
||||||
@srcref{src/\base\/\module\.js, \module\}
|
@srcref{src/\base\/\module\.js, \module\}
|
||||||
@end macro
|
@end macro
|
||||||
|
|
||||||
|
@macro testrefjs{base,module}
|
||||||
|
@srcref{test/\base\/\module\.js, \module\}
|
||||||
|
@end macro
|
||||||
@end ifset
|
@end ifset
|
||||||
|
|
||||||
@ifclear SRCURI
|
@ifclear SRCURI
|
||||||
|
@ -190,7 +194,11 @@ This system has maintenance concerns.
|
||||||
@c intended to display a name without JS,
|
@c intended to display a name without JS,
|
||||||
@c so just do that rather than the actual path
|
@c so just do that rather than the actual path
|
||||||
@macro srcrefjs{base,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 macro
|
||||||
@end ifclear
|
@end ifclear
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue