mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-02-05 15:50:26 +01:00
Add a heading and version to module section (#58)
This commit is contained in:
parent
c39cd34765
commit
673a176b93
@ -103,10 +103,15 @@ $newline never
|
|||||||
|
|
||||||
$maybe (version, modules) <- mdocs
|
$maybe (version, modules) <- mdocs
|
||||||
<div .docs>
|
<div .docs>
|
||||||
<ul>
|
<h4>
|
||||||
$forall Module _ name url <- modules
|
Module documentation for #{version}
|
||||||
<li>
|
$if null modules
|
||||||
<a href=#{url}>#{name}
|
<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)))
|
$if not (LT.null (LT.renderHtml (metadataReadme metadata)))
|
||||||
<div .markdown-container .readme-container>
|
<div .markdown-container .readme-container>
|
||||||
|
|||||||
@ -56,9 +56,9 @@ h3 {
|
|||||||
margin-top: 0.5em;
|
margin-top: 0.5em;
|
||||||
border-top: 1px solid #ddd;
|
border-top: 1px solid #ddd;
|
||||||
padding-top: 0.5em;
|
padding-top: 0.5em;
|
||||||
max-height: 20ex;
|
|
||||||
overflow: auto;
|
|
||||||
ul {
|
ul {
|
||||||
|
max-height: 20ex;
|
||||||
|
overflow: auto;
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user