mirror of
https://github.com/aljazceru/pear-docs.git
synced 2025-12-17 14:34:19 +01:00
move bare ref and update links (#93)
* move bare ref and update links * move pear ref into subfolder * update README * tiny fix --------- Co-authored-by: Vivek Singh <vivek@peartree.to>
This commit is contained in:
@@ -16,11 +16,11 @@ Welcome to the Internet of Peers
|
||||
|
||||
References for utilizing the Pear runtime.
|
||||
|
||||
* [Command-Line-Interface (CLI)](./reference/cli.md)
|
||||
* [Application-Programming-Interface (API)](./reference/api.md)
|
||||
* [Application Configuration](./reference/configuration.md)
|
||||
* [Command-Line-Interface (CLI)](./reference/pear/cli.md)
|
||||
* [Application-Programming-Interface (API)](./reference/pear/api.md)
|
||||
* [Application Configuration](./reference/pear/configuration.md)
|
||||
|
||||
> The Pear runtime uses [Bare](https://github.com/holepunchto/bare) JavaScript runtime, which is a small and modular JavaScript runtime for desktop and mobile. To learn more, see [Bare Reference](./bare-reference/overview.md).
|
||||
> The Pear runtime uses [Bare](https://github.com/holepunchto/bare) JavaScript runtime, which is a small and modular JavaScript runtime for desktop and mobile. To learn more, see [Bare Reference](./reference/bare/overview.md).
|
||||
|
||||
### Guides
|
||||
|
||||
|
||||
14
SUMMARY.md
14
SUMMARY.md
@@ -4,15 +4,15 @@
|
||||
|
||||
### Pear runtime
|
||||
|
||||
* [Command-Line-Interface (CLI)](./reference/cli.md)
|
||||
* [Application-Programming-Interface (API)](./reference/api.md)
|
||||
* [Application Configuration](./reference/configuration.md)
|
||||
* [Command-Line-Interface (CLI)](./reference/pear/cli.md)
|
||||
* [Application-Programming-Interface (API)](./reference/pear/api.md)
|
||||
* [Application Configuration](./reference/pear/configuration.md)
|
||||
|
||||
### Bare reference
|
||||
* [Overview](./bare-reference/overview.md)
|
||||
* [Application-Programming-Interface (API)](./bare-reference/api.md)
|
||||
* [Node.js Compatibility with Bare](./bare-reference/nodejs-compatibility-with-bare.md)
|
||||
* [Bare Modules](./bare-reference/bare-modules.md)
|
||||
* [Overview](./reference/bare/overview.md)
|
||||
* [Application-Programming-Interface (API)](./reference/bare/api.md)
|
||||
* [Node.js Compatibility with Bare](./reference/bare/nodejs-compatibility-with-bare.md)
|
||||
* [Bare Modules](./reference/bare/bare-modules.md)
|
||||
|
||||
### Guides
|
||||
|
||||
|
||||
@@ -262,7 +262,7 @@ function onMessageAdded (from, message) {
|
||||
}
|
||||
```
|
||||
|
||||
> Note that the `pear` dependency is used, even though it was not installed. This is the [Pear API](../reference/api.md), available to any Pear project.
|
||||
> Note that the `pear` dependency is used, even though it was not installed. This is the [Pear API](../reference/pear/api.md), available to any Pear project.
|
||||
|
||||
|
||||
## Step 4. Chat
|
||||
|
||||
@@ -45,7 +45,7 @@ The app should now show:
|
||||
|
||||

|
||||
|
||||
> Live reload with hot-module reloading is possible by using the `pear.watch` configuration and the [`pear.updates`](../reference/api.md#pearupdateslistener-async-functionfunction) API. The [pear-hotmods](https://github.com/holepunchto/pear-hotmods) convenience module can also be used.
|
||||
> Live reload with hot-module reloading is possible by using the `pear.watch` configuration and the [`pear.updates`](../reference/pear/api.md#pearupdateslistener-async-functionfunction) API. The [pear-hotmods](https://github.com/holepunchto/pear-hotmods) convenience module can also be used.
|
||||
|
||||
## Step 4. Configuration
|
||||
|
||||
@@ -69,7 +69,7 @@ Open `package.json` and update it to:
|
||||
|
||||
Close the app and re-run `pear dev` to see the changes: the background is now light blue, and the initial window size is different.
|
||||
|
||||
See the [Configuration Documentation](../reference/configuration.md) for all options.
|
||||
See the [Configuration Documentation](../reference/pear/configuration.md) for all options.
|
||||
|
||||
|
||||
## Next
|
||||
|
||||
Reference in New Issue
Block a user