fix up link when main doc has the (redundant) 'toc style

svn: r9650

original commit: 9389ac3a7ebd50f3fe520d70b218c4a07579f53f
This commit is contained in:
Matthew Flatt 2008-05-05 03:05:08 +00:00
parent ce8852492a
commit 3ac5bf77fd

View File

@ -617,7 +617,8 @@
(if (or parent up-path)
(make-target-url
(if parent
(if (toc-part? parent)
(if (and (toc-part? parent)
(part-parent parent ri))
(derive-filename parent)
"index.html")
up-path)