Skip to content

Commit 7775be8

Browse files
authored
Merge pull request #7905 from haskell/doc-hackage-links
Re #7712: docs: replace broken relative haddock links by https://hackage...
2 parents c2c95a7 + 152da15 commit 7775be8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/cabal-package.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ required (directly or indirectly) by an executable must be listed again.
188188

189189
The trivial setup script used in these examples uses the *simple build
190190
infrastructure* provided by the Cabal library (see
191-
`Distribution.Simple <../release/cabal-latest/doc/API/Cabal/Distribution-Simple.html>`__).
191+
`Distribution.Simple <https://hackage.haskell.org/package/Cabal/docs/Distribution-Simple.html>`__).
192192
The simplicity lies in its interface rather that its implementation. It
193193
automatically handles preprocessing with standard preprocessors, and
194194
builds packages for all the Haskell implementations.
@@ -412,7 +412,7 @@ describe the package as a whole:
412412

413413
The type of build used by this package. Build types are the
414414
constructors of the
415-
`BuildType <../release/cabal-latest/doc/API/Cabal/Distribution-PackageDescription.html#t:BuildType>`__
415+
`BuildType <https://hackage.haskell.org/package/Cabal/docs/Distribution-PackageDescription.html#t:BuildType>`__
416416
type. This field is optional and when missing, its default value
417417
is inferred according to the following rules:
418418

@@ -1794,7 +1794,7 @@ system-dependent values for these fields.
17941794
A list of Haskell extensions used by every module. These determine
17951795
corresponding compiler options enabled for all files. Extension
17961796
names are the constructors of the
1797-
`Extension <../release/cabal-latest/doc/API/Cabal/Language-Haskell-Extension.html#t:Extension>`__
1797+
`Extension <https://hackage.haskell.org/package/Cabal/docs/Language-Haskell-Extension.html#t:Extension>`__
17981798
type. For example, ``CPP`` specifies that Haskell source files are
17991799
to be preprocessed with a C preprocessor.
18001800

@@ -3364,7 +3364,7 @@ a few options:
33643364
posthaddock args flags desc info = ....
33653365
33663366
See ``UserHooks`` in
3367-
`Distribution.Simple <../release/cabal-latest/doc/API/Cabal/Distribution-Simple.html>`__
3367+
`Distribution.Simple <https://hackage.haskell.org/package/Cabal/docs/Distribution-Simple.html>`__
33683368
for the details, but note that this interface is experimental, and
33693369
likely to change in future releases.
33703370
@@ -3376,7 +3376,7 @@ a few options:
33763376
- You could delegate all the work to ``make``, though this is unlikely
33773377
to be very portable. Cabal supports this with the :pkg-field:`build-type`
33783378
``Make`` and a trivial setup library
3379-
`Distribution.Make <../release/cabal-latest/doc/API/Cabal/Distribution-Make.html>`__,
3379+
`Distribution.Make <https://hackage.haskell.org/package/Cabal/docs/Distribution-Make.html>`__,
33803380
which simply parses the command line arguments and invokes ``make``.
33813381
Here ``Setup.hs`` should look like this:
33823382

0 commit comments

Comments
 (0)