Skip to content

Commit baf43c5

Browse files
committed
When linking to an index page, explicitly name index.html instead of
using "./". The later does not work nicely when browsing docs on a local disk (as in the installed docs on Windows).
1 parent 210d3cc commit baf43c5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/html/about.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<tr>
1414
<td><img width="32" height="32" align="bottom" border="0" alt=""
1515
src="icons/blank.gif"></td>
16-
<td><a href="./"
16+
<td><a href="index.html"
1717
title="Python Documentation Index"><img width="32" height="32"
1818
align="bottom" border="0" alt="up"
1919
src="icons/up.gif"></a></td>

Doc/tools/support.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Options:
2525
outputfile = "-"
2626
columns = 1
2727
letters = 0
28-
uplink = "./"
28+
uplink = "index.html"
2929
uptitle = "Python Documentation Index"
3030

3131
def __init__(self):

0 commit comments

Comments
 (0)