Skip to content

Commit

Permalink
Fix haddock-for-haddock typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mpilgrem committed Mar 19, 2024
1 parent 4ff814d commit e47189c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions doc/build_command.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ Default: Enabled (if building Haddock documnentation)

Unset the flag to disable building Haddock documentation for dependencies.

### `--[no-]haddock-for-haddock` flag
### `--[no-]haddock-for-hackage` flag

:octicons-beaker-24: Experimental

Expand Down Expand Up @@ -360,7 +360,7 @@ Default: Enabled

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

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

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

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

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

### `--[no-]keep-going` flag
Expand Down
2 changes: 1 addition & 1 deletion doc/upload_command.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ in a compressed archive ('tarball') in the `.tar.gz` format.

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

If `ITEM` is a relative path to a package directory,
Expand Down

0 comments on commit e47189c

Please sign in to comment.