mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-01-23 09:21:56 +01:00
parent
31cb060ea9
commit
2b731f15fc
@ -11,6 +11,9 @@ getStackageHomeR ident = do
|
|||||||
return (stackage, user)
|
return (stackage, user)
|
||||||
|
|
||||||
hasBundle <- storeExists $ SnapshotBundle ident
|
hasBundle <- storeExists $ SnapshotBundle ident
|
||||||
|
let isInclusiveOrExclusive =
|
||||||
|
"inclusive" `isSuffixOf` stackageTitle stackage ||
|
||||||
|
"exclusive" `isSuffixOf` stackageTitle stackage
|
||||||
defaultLayout $ do
|
defaultLayout $ do
|
||||||
setTitle $ toHtml $ stackageTitle stackage
|
setTitle $ toHtml $ stackageTitle stackage
|
||||||
$(widgetFile "stackage-home")
|
$(widgetFile "stackage-home")
|
||||||
|
|||||||
@ -8,6 +8,8 @@
|
|||||||
<li>
|
<li>
|
||||||
<a href=@{StackageHomeR ident}>
|
<a href=@{StackageHomeR ident}>
|
||||||
#{title}
|
#{title}
|
||||||
|
<p>
|
||||||
|
<a href="https://github.com/fpco/stackage/wiki/Stackage-Server-FAQ#whats-the-difference-between-inclusive-and-exclusive-snapshots">What's the difference between inclusive and exclusive snapshots?</a>
|
||||||
<h2 .getting-started>
|
<h2 .getting-started>
|
||||||
Getting Started
|
Getting Started
|
||||||
<p>For prerequisites and compiler installation instructions, please see the wiki page <a href="https://github.com/fpco/stackage/wiki/Preparing-your-system-to-use-Stackage">Preparing your system to use Stackage</a>.
|
<p>For prerequisites and compiler installation instructions, please see the wiki page <a href="https://github.com/fpco/stackage/wiki/Preparing-your-system-to-use-Stackage">Preparing your system to use Stackage</a>.
|
||||||
|
|||||||
@ -16,6 +16,9 @@ $newline never
|
|||||||
<p>
|
<p>
|
||||||
<pre>
|
<pre>
|
||||||
remote-repo: stackage:@{StackageHomeR ident}
|
remote-repo: stackage:@{StackageHomeR ident}
|
||||||
|
$if isInclusiveOrExclusive
|
||||||
|
<p>
|
||||||
|
<a href="https://github.com/fpco/stackage/wiki/Stackage-Server-FAQ#whats-the-difference-between-inclusive-and-exclusive-snapshots">What's the difference between inclusive and exclusive snapshots?</a>
|
||||||
<h3>
|
<h3>
|
||||||
Setup guide #
|
Setup guide #
|
||||||
<small>
|
<small>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user