-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathstackage-home.hamlet
33 lines (28 loc) · 1.06 KB
/
stackage-home.hamlet
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
$newline never
<div .container .content>
<h1>
#{snapshotTitle snapshot}
<p>
Published on #{yearMonthDay (snapshotCreated snapshot)}
<span .separator>
<span>
<a href=@{StackageDiffR previousSnapName name}>View changes
<p .stack-resolver-yaml><a href="https://docs.haskellstack.org/en/stable/GUIDE/#resolvers-and-changing-your-compiler-version">resolver</a>: #{toPathPiece name}
^{hoogleForm}
<h3>Packages (#{packageCount})
<p>
<a href=@{SnapshotR name DocsR}>View documentation by modules
<div .container .content>
<div .packages>
<table .table>
<thead>
<th>Package
<th>Synopsis
<tbody>
$forall pli <- packages
<tr>
<td>
<a class=package-name href=@{packageUrl name (pliName pli) (pliVersion pli)}>
#{pliName pli}-#{pliVersion pli}
<td>
#{strip $ pliSynopsis pli}