Skip to content

Commit 2d89f3f

Browse files
committed
Updates to Haddock documentation.
1 parent 58a6861 commit 2d89f3f

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/Stack/SDist.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -456,8 +456,8 @@ readLocalPackage pkgDir = do
456456
, lpWanted = False -- HACK: makes it so that sdist output goes to a log
457457
-- instead of a file.
458458
, lpCabalFile = cabalfp
459-
-- NOTE: these aren't the 'correct values, but aren't used in
460-
-- the usage of this function in this module.
459+
-- NOTE: these aren't the 'correct' values, but aren't used in the usage of
460+
-- this function in this module.
461461
, lpTestBench = Nothing
462462
, lpBuildHaddocks = False
463463
, lpForceDirty = False

src/Stack/SourceMap.hs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ mkProjectPackage printWarnings dir buildHaddocks = do
8080
additionalDepPackage ::
8181
forall env. (HasPantryConfig env, HasLogFunc env, HasProcessContext env)
8282
=> Bool
83+
-- ^ Should Haddock documentation be built for the package?
8384
-> PackageLocation
8485
-> RIO env DepPackage
8586
additionalDepPackage buildHaddocks pl = do
@@ -111,6 +112,7 @@ additionalDepPackage buildHaddocks pl = do
111112
snapToDepPackage ::
112113
forall env. (HasPantryConfig env, HasLogFunc env, HasProcessContext env)
113114
=> Bool
115+
-- ^ Should Haddock documentation be built for the package?
114116
-> PackageName
115117
-> SnapshotPackage
116118
-> RIO env DepPackage
@@ -281,6 +283,7 @@ loadProjectSnapshotCandidate ::
281283
=> RawSnapshotLocation
282284
-> PrintWarnings
283285
-> Bool
286+
-- ^ Should Haddock documentation be build for the package?
284287
-> RIO env (SnapshotCandidate env)
285288
loadProjectSnapshotCandidate loc printWarnings buildHaddocks = do
286289
debugRSL <- view rslInLogL

0 commit comments

Comments
 (0)