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:
Vivek Singh
2024-03-21 17:36:09 +05:30
committed by rafapaezbas
parent ee31b5b5e9
commit b339e2878a
11 changed files with 14 additions and 14 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -45,7 +45,7 @@ The app should now show:
![Automatic reload](../assets/chat-app-2.png)
> 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