From 313bbf5b9b1898fd7f6ec7378f71cfa06ffe52ec Mon Sep 17 00:00:00 2001 From: Miran Date: Wed, 31 Oct 2018 07:40:05 +0100 Subject: [PATCH] Change documentation details (closes #5525) (#9542) --- compiler/docgen.nim | 2 +- nimdoc/testproject/expected/subdir/subdir_b/utils.html | 4 ++-- nimdoc/testproject/expected/testproject.html | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/compiler/docgen.nim b/compiler/docgen.nim index f5795e1d2a..6f61d020db 100644 --- a/compiler/docgen.nim +++ b/compiler/docgen.nim @@ -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" diff --git a/nimdoc/testproject/expected/subdir/subdir_b/utils.html b/nimdoc/testproject/expected/subdir/subdir_b/utils.html index 60050d8ae8..2c89acce45 100644 --- a/nimdoc/testproject/expected/subdir/subdir_b/utils.html +++ b/nimdoc/testproject/expected/subdir/subdir_b/utils.html @@ -16,7 +16,7 @@ -Module utils +utils