Skip to content

Commit efda48f

Browse files
committed
Fix broken links
1 parent d42e32d commit efda48f

23 files changed

+65
-218
lines changed

doc/commands/config_command.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ The command also accepts flags and options of the
3838
[`stack build`](build_command.md#flags-affecting-ghcs-behaviour) command that
3939
affect the location of the local project installation directory, such as
4040
`--profile` and `--no-strip`. For further information, see the documentation of
41-
the [project Stack work directory](stack_work.md#project-stack-work-directory).
41+
the [project Stack work directory](../topics/stack_work.md).
4242

4343
## The `stack config set` commands
4444

doc/commands/docker_command.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ Stack is able to build your code inside a Docker image, which means even more
1414
reproducibility to your builds, since you and the rest of your team will always
1515
have the same system libraries.
1616

17-
For further information, see the [Docker integration](docker_integration.md)
18-
documentation.
17+
For further information, see the
18+
[Docker integration](../topics/docker_integration.md) documentation.
1919

2020
## The `stack docker pull` command
2121

doc/commands/exec_command.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,4 @@ The command also accepts flags and options of the
6969
[`stack build`](build_command.md#flags-affecting-ghcs-behaviour) command that
7070
affect the location of the local project installation directory, such as
7171
`--profile` and `--no-strip`. For further information, see the documentation of
72-
the [project Stack work directory](stack_work.md#project-stack-work-directory).
72+
the [project Stack work directory](../topics/stack_work.md).

doc/commands/index.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Commands (advanced)
44

55
Some of Stack's features will not be needed regularly or by all users. This part
6-
of the guide and the part on [configuration](configure/index.md) provide
6+
of the guide and the part on [configuration](../configure/index.md) provide
77
information about somethose features, organised as a reference guide. Some of
88
the features are complex and separate pages are dedicated to them.
99

@@ -14,8 +14,8 @@ the features are complex and separate pages are dedicated to them.
1414
* [`setup`](setup_command.md) - get GHC for a Stack project (usually not needed)
1515
* [`update`](update_command.md) - update the package index (usually not needed)
1616
* [`new`](new_command.md) - create a new project with Stack
17-
* [`init`](init_command.md) - initialise Stack's project-level YAML configuration file for an
18-
existing project
17+
* [`init`](init_command.md) - initialise Stack's project-level YAML
18+
configuration file for an existing project
1919

2020
### Building
2121

@@ -79,8 +79,8 @@ the features are complex and separate pages are dedicated to them.
7979

8080
* [`hoogle`](hoogle_command.md) - run `hoogle`
8181
* [`dot`](dot_command.md) - dependency visualization
82-
* [`hpc`](hpc_command.md) - generate Haskell Program Coverage (HPC) code coverage
83-
reports
82+
* [`hpc`](hpc_command.md) - generate Haskell Program Coverage (HPC) code
83+
coverage reports
8484

8585
### Managing Stack versions
8686

@@ -100,14 +100,14 @@ Stack's commands are listed below, in alphabetical order.
100100
* [`exec`](exec_command.md) - executate a command in the Stack environment
101101
* [`haddock`](build_command.md) - a synonym for `stack build --haddock`
102102
* [`hoogle`](hoogle_command.md) - run `hoogle`
103-
* [`hpc`](hpc_command.md) - generate Haskell Program Coverage (HPC) code coverage
104-
reports
103+
* [`hpc`](hpc_command.md) - generate Haskell Program Coverage (HPC) code
104+
coverage reports
105105
* [`ghc`](ghc_command.md) - run `ghc`
106106
* [`ghci`](ghci_command.md) - run GHCi, a REPL environment
107107
* [`ide`](ide_command.md) - information for an integrated development
108108
environment (IDE)
109-
* [`init`](init_command.md) - initialise Stack's project-level YAML configuration file for an
110-
existing project
109+
* [`init`](init_command.md) - initialise Stack's project-level YAML
110+
configuration file for an existing project
111111
* [`install`](build_command.md) - a synonym for `stack build --copy-bins`
112112
* [`list`](list_command.md) - list packages on Hackage or in a snapshot
113113
* [`ls`](ls_command.md) - list information about Stack

doc/commands/path_command.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ The command also accepts flags and options of the
4646
[`stack build`](build_command.md#flags-affecting-ghcs-behaviour) command that
4747
affect the location of the local project installation directory, such as
4848
`--profile` and `--no-strip`. For further information, see the documentation of
49-
the [project Stack work directory](stack_work.md#project-stack-work-directory).
49+
the [project Stack work directory](../topics/stack_work.md).

doc/commands/script_command.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ outputs will be written to a directory named `MyScript.hs` at
203203

204204
As for Example 1, but `acme-missiles-0.2` is specified by adding it to the
205205
snapshot as an extra-dep. The `stack script` command is specified using Stack's
206-
[script interpreter](scripts.md).
206+
[script interpreter](../topics/scripts.md).
207207

208208
~~~haskell
209209
{- stack script
@@ -244,7 +244,7 @@ Consequently, for example, Stack will:
244244
Consider also the following script extract, based on snapshot Stackage
245245
LTS Haskell 20.25, where considerations on Windows differ from non-Windows. The
246246
`stack script` command is specified using Stack's
247-
[script interpreter](scripts.md).
247+
[script interpreter](../topics/scripts.md).
248248

249249
=== "Windows"
250250

doc/configure/global_flags.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ documentation.
4141

4242
Pass the option `--custom-preprocessor-extensions <extension>` to specify an
4343
extension used for a custom preprocessor. For further information, see the
44-
documentation for the corresponding non-project specific configuration
44+
documentation for the corresponding project specific configuration
4545
[option](yaml/project.md#custom-preprocessor-extensions).
4646

4747
## `--docker*` flags and options
4848

4949
Stack supports automatically performing builds inside a Docker container. For
5050
further information see `stack --docker-help` or the
51-
[Docker integratiom](docker_integration.md) documentation.
51+
[Docker integration](../topics/docker_integration.md) documentation.
5252

5353
## `--[no-]dump-logs` flag
5454

@@ -154,7 +154,8 @@ see the documentation for the corresponding non-project specific configuration
154154
## `--nix*` flags and options
155155

156156
Stack can be configured to integrate with Nix. For further information, see
157-
`stack --nix-help` or the [Nix integration](nix_integration.md) documentation.
157+
`stack --nix-help` or the [Nix integration](../topics/nix_integration.md)
158+
documentation.
158159

159160
## `--numeric-version` flag
160161

@@ -222,7 +223,7 @@ corresponding non-project specific configuration
222223
[:octicons-tag-24: 2.15.1](https://github.com/commercialhaskell/stack/releases/tag/v2.15.1)
223224

224225
Pass the option `--snapshot <snapshot>` to specify the snapshot. For further
225-
information, see the [YAML configuration](yaml_configuration.md#snapshot)
226+
information, see the [YAML configuration](yaml/project.md#snapshot)
226227
documentation.
227228

228229
At the command line (only):
@@ -322,7 +323,7 @@ non-project specific configuration [option](yaml/non-project.md#with-hpack).
322323
Default: `.stack-work`
323324

324325
Overrides: [`STACK_WORK`](environment_variables.md#stack_work) environment
325-
variable, and [`work-dir`](yaml_configuration.md) non-project specific
326+
variable, and [`work-dir`](yaml/non-project.md#work-dir) non-project specific
326327
configuration option.
327328

328329
Pass the option `--work-dir <relative_path_to_the_Stack_root>` to specify the

doc/configure/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Stack is configured by the content of YAML files. A global YAML configuration
2323
file contains non-project specific options. A project-level YAML configuration
2424
file contains project-specific options and may contain non-project specific
2525
options. For further information, see the
26-
[YAML configuration](yaml_configuration.md) documentation.
26+
[YAML configuration](yaml/yaml_configuration.md) documentation.
2727

2828
## Global flags and options
2929

doc/configure/yaml/non-project.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,8 @@ Command line equivalents: `--docker-*` flags and options (see
539539
`stack --docker-help` for details).
540540

541541
For further information, see the
542-
[Docker integration](docker_integration.md#configuration) documentation.
542+
[Docker integration](../../topics/docker_integration.md#configuration)
543+
documentation.
543544

544545
## dump-logs
545546

@@ -896,7 +897,7 @@ Command line equivalents: `--nix-*` flags and options (see `stack --nix-help`
896897
for details).
897898

898899
For further information, see the
899-
[Nix integration](nix_integration.md#configuration) documentation.
900+
[Nix integration](../../topics/nix_integration.md#configuration) documentation.
900901

901902
## notify-if-arch-unknown
902903

@@ -1406,8 +1407,8 @@ stack-developer-mode: false
14061407

14071408
## system-ghc
14081409

1409-
Default: `false`, unless the [Docker](docker_integration.md) or
1410-
[Nix](nix_integration.md) integration is enabled.
1410+
Default: `false`, unless the [Docker](../../topics/docker_integration.md) or
1411+
[Nix](../../topics/nix_integration.md) integration is enabled.
14111412

14121413
Command line equivalent (takes precedence): `--[no-]system-ghc` flag
14131414

@@ -1533,7 +1534,7 @@ Command line equivalent (takes precedence):
15331534
[`--work-dir`](../global_flags.md#-work-dir-option) option
15341535

15351536
Environment variable alternative (lowest precedence):
1536-
[`STACK_WORK`](environment_variables.md#stack_work)
1537+
[`STACK_WORK`](../environment_variables.md#stack_work)
15371538

15381539
`work-dir` specifies the path of Stack's work directory, within a local project
15391540
or package directory. The path must be a relative one, relative to the

doc/configure/yaml/project.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ currently four snapshot types:
4444
* No snapshot, just use packages shipped with the compiler. For GHC this looks
4545
like `snapshot: ghc-9.6.5`
4646
* Custom snapshot, via a URL or relative file path. For further information, see
47-
the [snapshot and package location](pantry.md) documentation.
47+
the [snapshot and package location](../../topics/pantry.md) documentation.
4848

4949
Each of these snapshots will also determine what constraints are placed on the
5050
compiler version. See the [compiler-check](non-project.md#compiler-check) option
@@ -122,7 +122,7 @@ A Pantry package location is one or three different kinds of sources:
122122
* a Git or Mercurial repository.
123123

124124
For further information on the format for specifying a Pantry package location,
125-
see the [Pantry](pantry.md) documentation. For example:
125+
see the [Pantry](../../topics/pantry.md) documentation. For example:
126126

127127
~~~yaml
128128
extra-deps:

0 commit comments

Comments
 (0)