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

Commit 36a6a39

Browse files
vutsalsinghalalanshaw
authored andcommitted
docs: fix links to examples in spec files (#333)
1 parent 7ed2b58 commit 36a6a39

File tree

10 files changed

+10
-10
lines changed

10 files changed

+10
-10
lines changed

SPEC/BLOCK.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,4 +158,4 @@ A great source of [examples][] can be found in the tests for this API.
158158

159159
[block]:https://github.com/ipfs/js-ipfs-block
160160
[multihash]:https://github.com/multiformats/multihash
161-
[examples]: https://github.com/ipfs/interface-ipfs-core/blob/master/js/src/block.js
161+
[examples]: https://github.com/ipfs/interface-ipfs-core/blob/master/js/src/block

SPEC/CONFIG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,4 @@ ipfs.config.replace(newConfig, (err) => {
9292
A great source of [examples][] can be found in the tests for this API.
9393

9494
[promise]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise
95-
[examples]: https://github.com/ipfs/interface-ipfs-core/blob/master/js/src/config.js
95+
[examples]: https://github.com/ipfs/interface-ipfs-core/blob/master/js/src/config

SPEC/DAG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,4 +177,4 @@ ipfs.dag.tree('zdpuAmtur968yprkhG9N5Zxn6MFVoqAWBbhUAkNLJs2UtkTq5', errOrLog)
177177
A great source of [examples][] can be found in the tests for this API.
178178

179179

180-
[examples]: https://github.com/ipfs/interface-ipfs-core/blob/master/js/src/dag.js
180+
[examples]: https://github.com/ipfs/interface-ipfs-core/blob/master/js/src/dag

SPEC/DHT.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,4 +146,4 @@ ipfs.dht.query(id, function (err, peerInfos) {
146146

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

149-
[examples]: https://github.com/ipfs/interface-ipfs-core/blob/master/js/src/dht.js
149+
[examples]: https://github.com/ipfs/interface-ipfs-core/blob/master/js/src/dht

SPEC/FILES.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -997,7 +997,7 @@ ipfs.files.ls('/screenshots', function (err, files) {
997997
// 2018-01-22T18:08:49.184Z.png
998998
```
999999

1000-
[examples]: https://github.com/ipfs/interface-ipfs-core/blob/master/js/src/files.js
1000+
[examples]: https://github.com/ipfs/interface-ipfs-core/blob/master/js/src/files
10011001
[b]: https://www.npmjs.com/package/buffer
10021002
[rs]: https://www.npmjs.com/package/readable-stream
10031003
[ps]: https://www.npmjs.com/package/pull-stream

SPEC/MISCELLANEOUS.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,6 @@ stream.on('data', (res) => {
242242

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

245-
[examples]: https://github.com/ipfs/interface-ipfs-core/blob/master/js/src/miscellaneous.js
245+
[examples]: https://github.com/ipfs/interface-ipfs-core/blob/master/js/src/miscellaneous
246246
[rs]: https://www.npmjs.com/package/readable-stream
247247
[ps]: https://www.npmjs.com/package/pull-stream

SPEC/OBJECT.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -429,4 +429,4 @@ A great source of [examples][] can be found in the tests for this API.
429429
[DAGNode]: https://github.com/ipld/js-ipld-dag-pb
430430
[multihash]: http://github.com/multiformats/multihash
431431
[promise]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise
432-
[examples]: https://github.com/ipfs/interface-ipfs-core/blob/master/js/src/object.js
432+
[examples]: https://github.com/ipfs/interface-ipfs-core/blob/master/js/src/object

SPEC/PIN.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,4 +95,4 @@ ipfs.pin.rm(hash, function (err, pinset) {
9595

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

98-
[examples]: https://github.com/ipfs/interface-ipfs-core/blob/master/js/src/pin.js
98+
[examples]: https://github.com/ipfs/interface-ipfs-core/blob/master/js/src/pin

SPEC/PUBSUB.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,4 +168,4 @@ ipfs.pubsub.peers(topic, (err, peerIds) => {
168168

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

171-
[examples]: https://github.com/ipfs/interface-ipfs-core/blob/master/js/src/pubsub.js
171+
[examples]: https://github.com/ipfs/interface-ipfs-core/blob/master/js/src/pubsub

SPEC/SWARM.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -179,4 +179,4 @@ Example:
179179
ipfs.swarm.filters.rm(filter, function (err) {})
180180
```
181181

182-
[examples]: https://github.com/ipfs/interface-ipfs-core/blob/master/js/src/swarm.js
182+
[examples]: https://github.com/ipfs/interface-ipfs-core/blob/master/js/src/swarm

0 commit comments

Comments
 (0)