Skip to content

Commit

Permalink
use latest docs links
Browse files Browse the repository at this point in the history
  • Loading branch information
nick1udwig committed Feb 15, 2024
1 parent f53e3b5 commit 11e0c3a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/apis/http_client.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# HTTP Client API

See also: [docs.rs for HTTP Client part of `process_lib`](https://docs.rs/kinode_process_lib/0.0.0-reserved/kinode_process_lib/http/index.html).
See also: [docs.rs for HTTP Client part of `process_lib`](https://docs.rs/kinode_process_lib/latest/kinode_process_lib/http/index.html).

**Note: Most processes will not use this API directly. Instead, they will use the [`process_lib`](../process_stdlib/overview.md) library, which papers over this API and provides a set of types and functions which are much easier to natively use. This is mostly useful for re-implementing this module in a different client or performing niche actions unsupported by the library.**

Expand Down
2 changes: 1 addition & 1 deletion src/apis/http_server.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# HTTP Server API

See also: [docs.rs for HTTP Server part of `process_lib`](https://docs.rs/kinode_process_lib/0.0.0-reserved/kinode_process_lib/http/index.html).
See also: [docs.rs for HTTP Server part of `process_lib`](https://docs.rs/kinode_process_lib/latest/kinode_process_lib/http/index.html).

**Note: Most processes will not use this API directly. Instead, they will use the [`process_lib`](./process_stdlib/overview.md) library, which papers over this API and provides a set of types and functions which are much easier to natively use. This is mostly useful for re-implementing this module in a different client or performing niche actions unsupported by the library.**

Expand Down
2 changes: 1 addition & 1 deletion src/my_first_app/chapter_2.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ fn my_init_fn(our: Address) {
```

Every Kinode process written in Rust will need code that does the same thing as the above.
The [`Address` parameter](https://docs.rs/kinode_process_lib/0.0.0-reserved/kinode_process_lib/kinode/process/standard/struct.Address.html) tells our process what its globally-unique name is.
The [`Address` parameter](https://docs.rs/kinode_process_lib/latest/kinode_process_lib/kinode/process/standard/struct.Address.html) tells our process what its globally-unique name is.

Let's fill out the init function with code that will stop it from exiting immediately.
Here's an infinite loop that will wait for a message and then print it out.
Expand Down
6 changes: 3 additions & 3 deletions src/process/processes.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@ Third, the process identifier.
Processes spawn with their own identifier: either a developer-selected string or a randomly-generated number as string.
And finally, the node the process is running on (your node).

[Package IDs](https://docs.rs/kinode_process_lib/0.0.0-reserved/kinode_process_lib/struct.PackageId.html) look like:
[Package IDs](https://docs.rs/kinode_process_lib/latest/kinode_process_lib/struct.PackageId.html) look like:

```
my_cool_software:my_username.os
```

[Process IDs](https://docs.rs/kinode_process_lib/0.0.0-reserved/kinode_process_lib/kinode/process/standard/struct.ProcessId.html) look like:
[Process IDs](https://docs.rs/kinode_process_lib/latest/kinode_process_lib/kinode/process/standard/struct.ProcessId.html) look like:

```
process_one:my_cool_software:my_username.os
8513024814:my_cool_software:my_username.os
```

[Addresses](https://docs.rs/kinode_process_lib/0.0.0-reserved/kinode_process_lib/kinode/process/standard/struct.Address.html) look like:
[Addresses](https://docs.rs/kinode_process_lib/latest/kinode_process_lib/kinode/process/standard/struct.Address.html) look like:

```
some_user.os@process_one:my_cool_software:my_username.os
Expand Down

0 comments on commit 11e0c3a

Please sign in to comment.