Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit c6072a0

Browse files
authored
docs: fix links in the README files (#2797)
fix broken links in readme
1 parent 676d9fc commit c6072a0

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

packages/ipfs-http-client/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,11 @@ const list = await bitswap.wantlist(key)
120120

121121
Same as in Node.js, you just have to [browserify](http://browserify.org) the code before serving it. See the browserify repo for how to do that.
122122

123-
See the example in the [examples folder](/examples/bundle-browserify) to get a boilerplate.
123+
See the example in the [examples folder](examples/bundle-browserify) to get a boilerplate.
124124

125125
**through webpack**
126126

127-
See the example in the [examples folder](/examples/bundle-webpack) to get an idea on how to use `js-ipfs-http-client` with webpack.
127+
See the example in the [examples folder](examples/bundle-webpack) to get an idea on how to use `js-ipfs-http-client` with webpack.
128128

129129
**from CDN**
130130

packages/ipfs/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ Once installed, please follow the [Getting Started Guide](https://docs.ipfs.io/i
163163

164164
### Use in the browser
165165

166-
Learn how to bundle with browserify and webpack in the [`examples`](https://github.com/ipfs/js-ipfs/tree/master/examples) folder.
166+
Learn how to bundle with browserify and webpack in the [`examples`](https://github.com/ipfs/js-ipfs/tree/master/packages/ipfs/examples) folder.
167167

168168
You can also load it using a `<script>` using the [unpkg](https://unpkg.com) CDN **or** the [jsDelivr](https://www.jsdelivr.com/package/npm/ipfs) CDN. Inserting one of the following lines will make an `Ipfs` object available in the global namespace.
169169

@@ -340,7 +340,7 @@ Prevents all logging output from the IPFS node.
340340
|------|---------|
341341
| object | `{ enabled: true, hop: { enabled: false, active: false } }` |
342342

343-
Configure circuit relay (see the [circuit relay tutorial](https://github.com/ipfs/js-ipfs/tree/master/examples/circuit-relaying) to learn more).
343+
Configure circuit relay (see the [circuit relay tutorial](https://github.com/ipfs/js-ipfs/tree/master/packages/ipfs/examples/circuit-relaying) to learn more).
344344

345345
- `enabled` (boolean): Enable circuit relay dialer and listener. (Default: `true`)
346346
- `hop` (object)
@@ -381,7 +381,7 @@ Enable and configure experimental features.
381381
382382
| Type | Default |
383383
|------|---------|
384-
| object | [`config-nodejs.js`](https://github.com/ipfs/js-ipfs/tree/master/src/core/runtime/config-nodejs.js) in Node.js, [`config-browser.js`](https://github.com/ipfs/js-ipfs/tree/master/src/core/runtime/config-browser.js) in browsers |
384+
| object | [`config-nodejs.js`](https://github.com/ipfs/js-ipfs/tree/master/packages/ipfs/src/core/runtime/config-nodejs.js) in Node.js, [`config-browser.js`](https://github.com/ipfs/js-ipfs/tree/master/packages/ipfs/src/core/runtime/config-browser.js) in browsers |
385385
386386
Modify the default IPFS node config. This object will be *merged* with the default config; it will not replace it. The default config is documented in [the js-ipfs config file docs](docs/config.md).
387387
@@ -406,7 +406,7 @@ Available delegate multiaddrs are:
406406
407407
| Type | Default |
408408
|------|---------|
409-
| object | [`ipld-nodejs.js`](https://github.com/ipfs/js-ipfs/tree/master/src/core/runtime/ipld-nodejs.js) in Node.js, [`ipld-browser.js`](https://github.com/ipfs/js-ipfs/tree/master/src/core/runtime/ipld-browser.js) in browsers |
409+
| object | [`ipld-nodejs.js`](https://github.com/ipfs/js-ipfs/tree/master/packages/ipfs/src/core/runtime/ipld-nodejs.js) in Node.js, [`ipld-browser.js`](https://github.com/ipfs/js-ipfs/tree/master/packages/ipfs/src/core/runtime/ipld-browser.js) in browsers |
410410
411411
Modify the default IPLD config. This object will be *merged* with the default config; it will not replace it. Check IPLD [docs](https://github.com/ipld/js-ipld#ipld-constructor) for more information on the available options.
412412

0 commit comments

Comments
 (0)