Skip to content

Commit 0a0df85

Browse files
docs: remove unrelated example (#728)
* docs: remove unrelated example Signed-off-by: David Dal Busco <david.dalbusco@outlook.com> * 📄 Update LLMs.txt snapshot for PR review --------- Signed-off-by: David Dal Busco <david.dalbusco@outlook.com> Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 303cb7e commit 0a0df85

3 files changed

Lines changed: 2 additions & 48 deletions

File tree

.llms-snapshots/llms-full.txt

Lines changed: 1 addition & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -5784,24 +5784,7 @@ juno functions buildjuno functions upgrade
57845784
## Notes
57855785

57865786
* This example focuses on the Rust serverless function and canister call integration. The frontend is intentionally minimal and included only for demonstration.
5787-
* Use this project as a starting point for workflows that require on-chain asset transfers or canister calls in response to user actions.
5788-
5789-
## Real-World Example
5790-
5791-
Want to see how assertions and serverless logic are used in a live project?
5792-
5793-
Check out [proposals.network](https://proposals.network), an open-source app built with Juno:
5794-
5795-
* GitHub: [github.com/peterpeterparker/proposals.network](https://github.com/peterpeterparker/proposals.network)
5796-
* Example logic: [src/satellite/src/lib.rs](https://github.com/peterpeterparker/proposals.network/blob/main/src/satellite/src/lib.rs)
5797-
5798-
This app uses:
5799-
5800-
* `#[on_delete_doc]` and `#[assert_delete_doc]` to validate and clean up related documents and assets
5801-
* Shared helper modules like `assert`, `delete`, and `types` to keep logic organized
5802-
* A real-world pattern of chaining asset/document deletions with assertions
5803-
5804-
It’s a great reference for more advanced setups and multi-collection coordination.
5787+
* Use this project as a starting point for workflows that require token transfers or canister calls in response to user actions.
58055788

58065789
---
58075790

@@ -6125,25 +6108,6 @@ juno functions buildjuno functions upgrade
61256108

61266109
---
61276110

6128-
## Real-World Example
6129-
6130-
Want to see how assertions and serverless logic are used in a live project?
6131-
6132-
Check out [proposals.network](https://proposals.network), an open-source app built with Juno:
6133-
6134-
* GitHub: [github.com/peterpeterparker/proposals.network](https://github.com/peterpeterparker/proposals.network)
6135-
* Example logic: [src/satellite/src/lib.rs](https://github.com/peterpeterparker/proposals.network/blob/main/src/satellite/src/lib.rs)
6136-
6137-
This app uses:
6138-
6139-
* `#[on_delete_doc]` and `#[assert_delete_doc]` to validate and clean up related documents and assets
6140-
* Shared helper modules like `assert`, `delete`, and `types` to keep logic organized
6141-
* A real-world pattern of chaining asset/document deletions with assertions
6142-
6143-
It’s a great reference for more advanced setups and multi-collection coordination.
6144-
6145-
---
6146-
61476111
## References
61486112

61496113
* [Serverless Functions Guide](/docs/guides/rust.md)

docs/examples/functions/rust/canister-calls.mdx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -244,11 +244,7 @@ import ProdDeploy from "../components/prod-deploy.md";
244244
## Notes
245245

246246
- This example focuses on the Rust serverless function and canister call integration. The frontend is intentionally minimal and included only for demonstration.
247-
- Use this project as a starting point for workflows that require on-chain asset transfers or canister calls in response to user actions.
248-
249-
import ProposalsNetwork from "./components/proposals-network.md";
250-
251-
<ProposalsNetwork />
247+
- Use this project as a starting point for workflows that require token transfers or canister calls in response to user actions.
252248

253249
---
254250

docs/examples/functions/rust/mutating-docs.mdx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -168,12 +168,6 @@ import ProdDeploy from "../components/prod-deploy.md";
168168

169169
---
170170

171-
import ProposalsNetwork from "./components/proposals-network.md";
172-
173-
<ProposalsNetwork />
174-
175-
---
176-
177171
import References from "./components/references.md";
178172

179173
<References />

0 commit comments

Comments
 (0)