File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed
Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 1818
1919# # also used by Rd2latex, but only 'topic' and 'dest'
2020get_link <- function (arg , tag , Rdfile ) {
21- # # 'topic' is the name to display, 'dest' is the topic to link to
22- # # optionaly in package 'pkg'. If 'target' is set it is the file
23- # # to link to in HTML help
24-
25- # # \link[=bar]{foo} means shows foo but treat this as a link to bar.
26- # # \link[pkg]{bar} means show bar and link to *file* bar in package pkg
27- # # \link{pkg:bar]{foo} means show foo and link to file bar in package pkg.
21+ # # 'topic' is the text to display (used by Rd2latex, also as \index entry),
22+ # # 'dest' is the topic to link to (unless for option [pkg:bar]).
23+ # # Package-anchored links have non-NULL 'pkg' and 'targetfile',
24+ # # where the latter is the topic/file to link to in HTML help.
25+
26+ # # \link{foo}: show and link to topic foo.
27+ # # \link[=bar]{foo} means shows foo but treat this as a link to *topic* bar.
28+ # # \link[pkg]{bar} means show bar and link to topic/file bar in package pkg.
29+ # # \link[pkg:bar]{foo} means show foo and link to topic/file bar in package pkg.
2830 # # As from 2.10.0, look for topic 'bar' if file not found.
2931 # # As from 4.1.0, prefer topic 'bar' over file 'bar' (in which case 'targetfile' is a misnomer)
3032
Original file line number Diff line number Diff line change @@ -2862,6 +2862,7 @@ if(FALSE) {
28622862 sep = " " , file = conn )
28632863 if (any(file.exists(file.path(outDir ,
28642864 c(" NEWS" , " NEWS.Rd" , " NEWS.md" )))))
2865+ # # FIXME: link target needs adjustment for static help
28652866 cat(' <li><a href="../NEWS">Package NEWS</a>.</li>\n ' ,
28662867 sep = " " , file = conn )
28672868
You can’t perform that action at this time.
0 commit comments