Change documentation details (closes #5525) (#9542)

This commit is contained in:
Miran 2018-10-31 07:40:05 +01:00 • committed by Andreas Rumpf
commit 313bbf5b9b
3 changed files with 5 additions and 5 deletions

View file

@ -897,7 +897,7 @@ proc genOutFile(d: PDoc): Rope =
setIndexTerm(d[], external, "", title)
else:
# Modules get an automatic title for the HTML, but no entry in the index.
title = "Module " & extractFilename(changeFileExt(d.filename, ""))
title = extractFilename(changeFileExt(d.filename, ""))
let bodyname = if d.hasToc and not d.isPureRst: "doc.body_toc_group"
elif d.hasToc: "doc.body_toc"