Skip to content

Commit 75e14fa

Browse files
authored
Fix broken documentation links (#1828)
1 parent ad934f1 commit 75e14fa

File tree

12 files changed

+11
-14
lines changed

12 files changed

+11
-14
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
## Getting Started
66

7-
We have a [tutorial](http://docs.servant.dev/en/stable/tutorial/index.html) that
7+
We have a [tutorial](http://docs.servant.dev/en/latest/tutorial/index.html) that
88
introduces the core features of servant. After this article, you should be able
99
to write your first servant webservices, learning the rest from the haddocks'
1010
examples.

doc/cookbook/file-upload/FileUpload.lhs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ Content of "README.md"
126126
127127
## Getting Started
128128
129-
We have a [tutorial](http://docs.servant.dev/en/stable/tutorial/index.html) that
129+
We have a [tutorial](http://docs.servant.dev/en/latest/tutorial/index.html) that
130130
introduces the core features of servant. After this article, you should be able
131131
to write your first servant webservices, learning the rest from the haddocks'
132132
examples.

servant-client-ghcjs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This guide assumes knowledge of servant. Reading its [documentation](http://docs
99
## Using servant-client-ghcjs
1010
`servant-client-ghcjs` should feel familiar if you've worked with `servant-client`.
1111

12-
Take the following API (taken from the [Querying an API](http://docs.servant.dev/en/stable/tutorial/Client.html) section in the servant documentation)
12+
Take the following API (taken from the [Querying an API](http://docs.servant.dev/en/latest/tutorial/Client.html) section in the servant documentation)
1313

1414
```haskell
1515
{-# LANGUAGE DataKinds #-}

servant-client-ghcjs/servant-client-ghcjs.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description:
99
This library lets you automatically derive Haskell functions that
1010
let you query each endpoint of a <http://hackage.haskell.org/package/servant servant> webservice.
1111
.
12-
See <http://docs.servant.dev/en/stable/tutorial/Client.html the client section of the tutorial>.
12+
See <http://docs.servant.dev/en/latest/tutorial/Client.html the client section of the tutorial>.
1313
.
1414
<https://github.com/haskell-servant/servant/blob/master/servant-client/CHANGELOG.md CHANGELOG>
1515

servant-client/servant-client.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description:
77
This library lets you derive automatically Haskell functions that
88
let you query each endpoint of a <http://hackage.haskell.org/package/servant servant> webservice.
99
.
10-
See <http://docs.servant.dev/en/stable/tutorial/Client.html the client section of the tutorial>.
10+
See <http://docs.servant.dev/en/latest/tutorial/Client.html the client section of the tutorial>.
1111
.
1212
<https://github.com/haskell-servant/servant/blob/master/servant-client/CHANGELOG.md CHANGELOG>
1313

servant-foreign/src/Servant/Foreign/Internal.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ data ReqBodyContentType = ReqBodyJSON | ReqBodyMultipart
190190
--
191191
-- Every field containing @ftype@ will use the foreign type mapping specified via 'HasForeignType' (see its docstring on how to set that up).
192192
--
193-
-- See https://docs.servant.dev/en/stable/tutorial/ApiType.html for accessible documentation of the possible content of an endpoint.
193+
-- See https://docs.servant.dev/en/latest/tutorial/ApiType.html for accessible documentation of the possible content of an endpoint.
194194
data Req ftype = Req
195195
{ _reqUrl :: Url ftype
196196
-- ^ Full list of URL segments, including captures

servant-http-streams/servant-http-streams.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ description:
88
This library lets you derive automatically Haskell functions that
99
let you query each endpoint of a <http://hackage.haskell.org/package/servant servant> webservice.
1010
.
11-
See <http://docs.servant.dev/en/stable/tutorial/Client.html the client section of the tutorial>.
11+
See <http://docs.servant.dev/en/latest/tutorial/Client.html the client section of the tutorial>.
1212
.
1313
<https://github.com/haskell-servant/servant/blob/master/servant-client/CHANGELOG.md CHANGELOG>
1414

servant-server/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ This library lets you *implement* an HTTP server with handlers for each endpoint
66

77
## Getting started
88

9-
We've written a [tutorial](http://docs.servant.dev/en/stable/tutorial/index.html) guide that introduces the core types and features of servant. After this article, you should be able to write your first servant webservices, learning the rest from the haddocks' examples.
9+
We've written a [tutorial](http://docs.servant.dev/en/latest/tutorial/index.html) guide that introduces the core types and features of servant. After this article, you should be able to write your first servant webservices, learning the rest from the haddocks' examples.

servant-server/servant-server.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ category: Servant, Web
88
description:
99
A family of combinators for defining webservices APIs and serving them
1010
.
11-
You can learn about the basics in the <http://docs.servant.dev/en/stable/tutorial/index.html tutorial>.
11+
You can learn about the basics in the <http://docs.servant.dev/en/latest/tutorial/index.html tutorial>.
1212
.
1313
<https://github.com/haskell-servant/servant/blob/master/servant-server/example/greet.hs Here>
1414
is a runnable example, with comments, that defines a dummy API and implements

servant-server/src/Servant/Server/Generic.hs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,6 @@ genericServer
8383
genericServer = toServant
8484

8585
-- | Transform a record of endpoints into a @'ServerT' m@.
86-
--
87-
-- You can see an example usage of this function
88-
-- <https://docs.servant.dev/en/stable/cookbook/generic/Generic.html#using-generics-together-with-a-custom-monad in the Servant Cookbook>.
8986
genericServerT
9087
:: GenericServant routes (AsServerT m)
9188
=> routes (AsServerT m)

0 commit comments

Comments
 (0)