Add a heading and version to module section (#58)

This commit is contained in:
Chris Done 2014-12-16 11:45:59 +01:00
parent c39cd34765
commit 673a176b93
2 changed files with 11 additions and 6 deletions

View File

@ -103,10 +103,15 @@ $newline never
$maybe (version, modules) <- mdocs
<div .docs>
<ul>
$forall Module _ name url <- modules
<li>
<a href=#{url}>#{name}
<h4>
Module documentation for #{version}
$if null modules
<p>There are no documented modules for this package.
$else
<ul .docs-list>
$forall Module _ name url <- modules
<li>
<a href=#{url}>#{name}
$if not (LT.null (LT.renderHtml (metadataReadme metadata)))
<div .markdown-container .readme-container>

View File

@ -56,9 +56,9 @@ h3 {
margin-top: 0.5em;
border-top: 1px solid #ddd;
padding-top: 0.5em;
max-height: 20ex;
overflow: auto;
ul {
max-height: 20ex;
overflow: auto;
list-style-type: none;
margin-left: 0;
padding-left: 0;