You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -200,9 +200,16 @@ jobs:
200
200
run: cabal check
201
201
202
202
- name: Build documentation
203
-
run: cabal haddock all
203
+
run:
204
+
cabal haddock all --disable-documentation
205
+
# --disable-documentation disables building documentation for dependencies.
206
+
# The package's own documentation is still built,
207
+
# yet contains no links to the documentation of the dependencies.
204
208
```
205
209
210
+
Alternatively, the two occurrences of `--disable-documentation` can be changed to `--enable-documentation`, for resolving the external references to the documentation of the dependencies.
0 commit comments