Skip to content

Commit 10a1522

Browse files
committed
Add filename to HTML anchors
1 parent cc83260 commit 10a1522

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/Manual/src/pandoc2swigman.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def convert_link(link):
3434
return "Fortran_" + link.replace("-","_")
3535

3636
def repl_link_match(match):
37-
return r'<a href="#{}">'.format(convert_link(match.group(1)))
37+
return r'<a href="Fortran.html#{}">'.format(convert_link(match.group(1)))
3838

3939
def swiggify(path):
4040
with ReWriter(path) as rewriter:

0 commit comments

Comments
 (0)