Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

fix: example links in miscellaneous spec section #364

Merged
merged 1 commit into from
Sep 18, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 8 additions & 10 deletions SPEC/MISCELLANEOUS.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ ipfs.id(function (err, identity) {
})
```

A great source of [examples][] can be found in the tests for this API.
A great source of [examples](https://github.com/ipfs/interface-ipfs-core/blob/master/js/src/miscellaneous/id.js) can be found in the tests for this API.

#### `version`

Expand All @@ -57,7 +57,7 @@ ipfs.version((err, version) => {
})
```

A great source of [examples][] can be found in the tests for this API.
A great source of [examples](https://github.com/ipfs/interface-ipfs-core/blob/master/js/src/miscellaneous/version.js) can be found in the tests for this API.

#### `dns`

Expand All @@ -82,9 +82,7 @@ ipfs.dns('ipfs.io', (err, path) => {
})
```

A great source of [examples][] can be found in the tests for this API.

[examples]: https://github.com/ipfs/interface-ipfs-core/blob/master/js/src/miscellaneous.js
A great source of [examples](https://github.com/ipfs/interface-ipfs-core/blob/master/js/src/miscellaneous/dns.js) can be found in the tests for this API.

#### `stop`

Expand All @@ -107,7 +105,7 @@ ipfs.stop((err) => {
})
```

A great source of [examples][] can be found in the tests for this API.
A great source of [examples](https://github.com/ipfs/interface-ipfs-core/blob/master/js/src/miscellaneous/stop.js) can be found in the tests for this API.

#### `ping`

Expand Down Expand Up @@ -154,7 +152,7 @@ ipfs.ping('Qmhash', function (err, responses) {
})
```

A great source of [examples][] can be found in the tests for this API.
A great source of [examples](https://github.com/ipfs/interface-ipfs-core/tree/master/js/src/ping) can be found in the tests for this API.

#### `pingPullStream`

Expand Down Expand Up @@ -199,7 +197,7 @@ pull(
)
```

A great source of [examples][] can be found in the tests for this API.
A great source of [examples](https://github.com/ipfs/interface-ipfs-core/tree/master/js/src/ping) can be found in the tests for this API.

#### `pingReadableStream`

Expand Down Expand Up @@ -241,7 +239,7 @@ stream.on('data', (res) => {
})
```

A great source of [examples][] can be found in the tests for this API.
A great source of [examples](https://github.com/ipfs/interface-ipfs-core/tree/master/js/src/ping) can be found in the tests for this API.

#### `resolve`

Expand Down Expand Up @@ -311,7 +309,7 @@ ipfs.resolve(name, (err, res) => {
})
```

A great source of [examples][] can be found in the tests for this API.
A great source of [examples](https://github.com/ipfs/interface-ipfs-core/blob/master/js/src/miscellaneous/resolve.js) can be found in the tests for this API.

[examples]: https://github.com/ipfs/interface-ipfs-core/blob/master/js/src/miscellaneous
[rs]: https://www.npmjs.com/package/readable-stream
Expand Down