From 11e0c3a42766afb153c0d33e70abddc16a2ed597 Mon Sep 17 00:00:00 2001 From: hosted-fornet Date: Thu, 15 Feb 2024 09:36:48 -0800 Subject: [PATCH] use `latest` docs links --- src/apis/http_client.md | 2 +- src/apis/http_server.md | 2 +- src/my_first_app/chapter_2.md | 2 +- src/process/processes.md | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/apis/http_client.md b/src/apis/http_client.md index 0a69adbb..b0fea1b9 100644 --- a/src/apis/http_client.md +++ b/src/apis/http_client.md @@ -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.** diff --git a/src/apis/http_server.md b/src/apis/http_server.md index b1a8ac01..22d2fb70 100644 --- a/src/apis/http_server.md +++ b/src/apis/http_server.md @@ -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.** diff --git a/src/my_first_app/chapter_2.md b/src/my_first_app/chapter_2.md index 7e62c10e..a864fef7 100644 --- a/src/my_first_app/chapter_2.md +++ b/src/my_first_app/chapter_2.md @@ -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. diff --git a/src/process/processes.md b/src/process/processes.md index 190e4381..ed1b54e0 100644 --- a/src/process/processes.md +++ b/src/process/processes.md @@ -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