Skip to content

Commit e47189c

Browse files
committed
Fix haddock-for-haddock typo
1 parent 4ff814d commit e47189c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: doc/build_command.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ Default: Enabled (if building Haddock documnentation)
303303

304304
Unset the flag to disable building Haddock documentation for dependencies.
305305

306-
### `--[no-]haddock-for-haddock` flag
306+
### `--[no-]haddock-for-hackage` flag
307307

308308
:octicons-beaker-24: Experimental
309309

@@ -360,7 +360,7 @@ Default: Enabled
360360

361361
Unset the flag to disable building building hyperlinked source for Haddock.
362362

363-
If the [`--haddock-for-hackage`](#-no-haddock-for-haddock-flag) flag is passed,
363+
If the [`--haddock-for-hackage`](#-no-haddock-for-hackage-flag) flag is passed,
364364
this flag is ignored.
365365

366366
### `--[no-]haddock-internal` flag
@@ -369,7 +369,7 @@ Default: Disabled
369369

370370
Set the flag to enable building Haddock documentation for internal modules.
371371

372-
If the [`--haddock-for-hackage`](#-no-haddock-for-haddock-flag) flag is passed,
372+
If the [`--haddock-for-hackage`](#-no-haddock-for-hackage-flag) flag is passed,
373373
this flag is ignored.
374374

375375
### `--[no-]keep-going` flag

Diff for: doc/upload_command.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ in a compressed archive ('tarball') in the `.tar.gz` format.
7070

7171
For further information about how to create such an archive file, see the
7272
documentation for the
73-
[`stack haddock --haddock-for-hackage`](build_command.md#-no-haddock-for-haddock-flag)
73+
[`stack haddock --haddock-for-hackage`](build_command.md#-no-haddock-for-hackage-flag)
7474
command.
7575

7676
If `ITEM` is a relative path to a package directory,

0 commit comments

Comments
 (0)