aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2016-08-30 13:23:31 +0200
committerLoïc Hoguin <[email protected]>2016-08-30 13:23:31 +0200
commit4c6f2c9a95a1292b6b1aef20ab902fce729ff4f0 (patch)
tree96eebef5fd7c02ff12c25fd0c4d6c024ad8eaace /doc
parent843866c654af4dcc405b7ab9d8b30ae0a7fc1144 (diff)
downloadcowboy-4c6f2c9a95a1292b6b1aef20ab902fce729ff4f0.tar.gz
cowboy-4c6f2c9a95a1292b6b1aef20ab902fce729ff4f0.tar.bz2
cowboy-4c6f2c9a95a1292b6b1aef20ab902fce729ff4f0.zip
Fix a couple xref links
They were still using the old ezdoc syntax.
Diffstat (limited to 'doc')
-rw-r--r--doc/src/guide/req.asciidoc2
-rw-r--r--doc/src/guide/req_body.asciidoc2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/guide/req.asciidoc b/doc/src/guide/req.asciidoc
index 2dd0a86..39cd1b6 100644
--- a/doc/src/guide/req.asciidoc
+++ b/doc/src/guide/req.asciidoc
@@ -274,7 +274,7 @@ parameter `key` was defined, but with no value.
The second function Cowboy provides allows you to match out
only the parameters you are interested in, and at the same
-time do any post processing you require using ^constraints^.
+time do any post processing you require using xref:constraints[constraints].
This function returns a map.
[source,erlang]
diff --git a/doc/src/guide/req_body.asciidoc b/doc/src/guide/req_body.asciidoc
index ccb5890..0b8c1dd 100644
--- a/doc/src/guide/req_body.asciidoc
+++ b/doc/src/guide/req_body.asciidoc
@@ -15,7 +15,7 @@ present and was not read, Cowboy will either cancel or
skip its download, depending on the protocol.
Cowboy provides functions for reading the body raw,
-and read and parse form urlencoded or ^multipart^ bodies.
+and read and parse form urlencoded or xref:multipart[multipart bodies].
The latter is covered in its own chapter.
=== Request body presence