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

This commit is contained in:
Miran
2018-10-31 07:40:05 +01:00
committed by Andreas Rumpf
parent 48f73aaa1c
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"

View File

@@ -16,7 +16,7 @@
<link href='https://fonts.googleapis.com/css?family=Source+Code+Pro:400,500,600' rel='stylesheet' type='text/css'/>
<!-- CSS -->
<title>Module utils</title>
<title>utils</title>
<style type="text/css" >
/*
Stylesheet for use with Docutils/rst2html.
@@ -1219,7 +1219,7 @@ function main() {
<body onload="main()">
<div class="document" id="documentId">
<div class="container">
<h1 class="title">Module utils</h1>
<h1 class="title">utils</h1>
<div class="row">
<div class="three columns">
<div id="global-links">

View File

@@ -16,7 +16,7 @@
<link href='https://fonts.googleapis.com/css?family=Source+Code+Pro:400,500,600' rel='stylesheet' type='text/css'/>
<!-- CSS -->
<title>Module testproject</title>
<title>testproject</title>
<style type="text/css" >
/*
Stylesheet for use with Docutils/rst2html.
@@ -1219,7 +1219,7 @@ function main() {
<body onload="main()">
<div class="document" id="documentId">
<div class="container">
<h1 class="title">Module testproject</h1>
<h1 class="title">testproject</h1>
<div class="row">
<div class="three columns">
<div id="global-links">