summary refs log tree commit diff stats
path: root/compiler/docgen.nim
diff options
context:
space:
mode:
authorMiran <narimiran@users.noreply.github.com>2018-10-31 07:40:05 +0100
committerAndreas Rumpf <rumpf_a@web.de>2018-10-31 07:40:05 +0100
commit313bbf5b9b1898fd7f6ec7378f71cfa06ffe52ec (patch)
tree08612be85b0a4e2fbbd5d0e2e8f326a7d37c95b3 /compiler/docgen.nim
parent48f73aaa1cc4228e5ba58f471c5f66116c9e59ad (diff)
downloadNim-313bbf5b9b1898fd7f6ec7378f71cfa06ffe52ec.tar.gz
Change documentation details (closes #5525) (#9542)
Diffstat (limited to 'compiler/docgen.nim')
-rw-r--r--compiler/docgen.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/docgen.nim b/compiler/docgen.nim
index f5795e1d2..6f61d020d 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"