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

Commit 0c76cdd

Browse files
achingbraindaviddias
authored andcommitted
docs: Fix paths to examples
1 parent f5f7307 commit 0c76cdd

File tree

10 files changed

+11
-11
lines changed

10 files changed

+11
-11
lines changed

SPEC/BLOCK.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,4 +155,4 @@ A great source of [examples][] can be found in the tests for this API.
155155

156156
[block]:https://github.com/ipfs/js-ipfs-block
157157
[multihash]:https://github.com/multiformats/multihash
158-
[examples]: https://github.com/ipfs/interface-ipfs-core/blob/master/src/block.js
158+
[examples]: https://github.com/ipfs/interface-ipfs-core/blob/master/js/src/block.js

SPEC/CONFIG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,4 +89,4 @@ ipfs.config.replace(newConfig, (err) => {
8989
A great source of [examples][] can be found in the tests for this API.
9090

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

SPEC/DAG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,4 +170,4 @@ ipfs.dag.tree('zdpuAmtur968yprkhG9N5Zxn6MFVoqAWBbhUAkNLJs2UtkTq5', errOrLog)
170170
A great source of [examples][] can be found in the tests for this API.
171171

172172

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

SPEC/DHT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,4 @@ ipfs.dht.query(id, function (err, peerInfos) {
118118

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

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

SPEC/FILES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -831,7 +831,7 @@ ipfs.files.ls('/screenshots', function (err, files) {
831831
// 2018-01-22T18:08:49.184Z.png
832832
```
833833

834-
[examples]: https://github.com/ipfs/interface-ipfs-core/blob/master/src/files.js
834+
[examples]: https://github.com/ipfs/interface-ipfs-core/blob/master/js/src/files.js
835835
[b]: https://www.npmjs.com/package/buffer
836836
[rs]: https://www.npmjs.com/package/readable-stream
837837
[ps]: https://www.npmjs.com/package/pull-stream

SPEC/MISCELLANEOUS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ ipfs.dns('ipfs.io', (err, path) => {
7676

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

79-
[examples]: https://github.com/ipfs/interface-ipfs-core/blob/master/src/miscellaneous.js
79+
[examples]: https://github.com/ipfs/interface-ipfs-core/blob/master/js/src/miscellaneous.js
8080

8181
#### `stop`
8282

@@ -101,4 +101,4 @@ ipfs.stop((err) => {
101101

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

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

SPEC/OBJECT.md

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

SPEC/PIN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,4 @@ ipfs.pin.rm(hash, function (err, pinset) {
9292

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

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

SPEC/PUBSUB.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,4 +146,4 @@ ipfs.pubsub.peers(topic, (err, peerIds) => {
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/src/pubsub.js
149+
[examples]: https://github.com/ipfs/interface-ipfs-core/blob/master/js/src/pubsub.js

SPEC/SWARM.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,4 +173,4 @@ Example:
173173
ipfs.swarm.filters.rm(filter, function (err) {})
174174
```
175175

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

0 commit comments

Comments
 (0)