Fix link examples
This commit is contained in:
parent
35e66dece5
commit
966052ce82
2 changed files with 6 additions and 5 deletions
|
@ -16,7 +16,7 @@ GIT
|
||||||
|
|
||||||
GIT
|
GIT
|
||||||
remote: git@github.com:tent/tent-apidoc.git
|
remote: git@github.com:tent/tent-apidoc.git
|
||||||
revision: 9bb0ab5c2f0bad683fa407148d0635a96c1ab71d
|
revision: e2a5370bf7b0a6c76bccfbed64737fec13118016
|
||||||
branch: master
|
branch: master
|
||||||
specs:
|
specs:
|
||||||
tent-apidoc (0.1.0)
|
tent-apidoc (0.1.0)
|
||||||
|
@ -28,7 +28,7 @@ GIT
|
||||||
|
|
||||||
GIT
|
GIT
|
||||||
remote: git@github.com:tent/tent-client-ruby.git
|
remote: git@github.com:tent/tent-client-ruby.git
|
||||||
revision: d70a052f676173823a8d34de0e13aeb40a95e006
|
revision: 8688a03c6858512cd25201a5366c201ee3b12440
|
||||||
branch: master
|
branch: master
|
||||||
specs:
|
specs:
|
||||||
tent-client (0.0.1)
|
tent-client (0.0.1)
|
||||||
|
@ -39,7 +39,7 @@ GIT
|
||||||
|
|
||||||
GIT
|
GIT
|
||||||
remote: git@github.com:tent/tentd.git
|
remote: git@github.com:tent/tentd.git
|
||||||
revision: 6c492a0953a32e8d0c1f1b0f0bd6ab30f821ce31
|
revision: 2a6b47050d20b99bcdd0d41d51831374038fe17a
|
||||||
branch: master
|
branch: master
|
||||||
specs:
|
specs:
|
||||||
tentd (0.0.1)
|
tentd (0.0.1)
|
||||||
|
|
|
@ -15,8 +15,9 @@ The HTTP header allows discovery of Tent servers by just doing a HEAD request
|
||||||
instead of getting the page and parsing it for the `link` tag. It should be
|
instead of getting the page and parsing it for the `link` tag. It should be
|
||||||
added to all responses associated with the Tent entity.
|
added to all responses associated with the Tent entity.
|
||||||
|
|
||||||
|
|
||||||
```text
|
```text
|
||||||
Link: <https://tent.titanous.com>; rel="https://tent.io/rels/profile"
|
Link: <https://tent.titanous.com/profile>; rel="https://tent.io/rels/profile"
|
||||||
```
|
```
|
||||||
|
|
||||||
#### HTML `link` tag
|
#### HTML `link` tag
|
||||||
|
@ -25,7 +26,7 @@ The `link` tag should be placed in the `head` tag of all HTML pages associated
|
||||||
with the Tent entity.
|
with the Tent entity.
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<link href="https://tent.titanous.com" rel="https://tent.io/rels/profile" />
|
<link href="https://tent.titanous.com/profile" rel="https://tent.io/rels/profile" />
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue