Skip to content

Commit 8ba31cd

Browse files
committed
Docs: Final async doc mods
1 parent 1c15b0e commit 8ba31cd

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

ai/docs/link-grammar-agent-instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ This agent is **ONLY** permitted to perform the following three tasks:
4242
* **No Rewriting:** Absolutely no rephrasing, restructuring, or content generation.
4343
* **Preserve Meaning:** Ensure corrections do not alter the original technical meaning.
4444
* **Focus:** Links, spelling, major grammar errors only.
45-
* **No Code Editing:** NEVER modify content within markdown code blocks (``` ```) or inline code formatting (` `` `). Do not fix syntax errors, change variable names, or alter any code content - only edit plain text outside of code blocks.
45+
* **No Code Editing:** NEVER modify content within markdown code blocks (``` ```) or inline code formatting (` `` `). Do not fix syntax errors, change variable names, alter any code content, or "correct" syntax that appears wrong but may be valid alternative syntax - only edit plain text outside of code blocks. Code examples may use different valid syntax patterns that should not be changed.
4646
* **No Code Links:** NEVER add links within code blocks or inline code. Links should only wrap plain text.
4747

4848
## 5. Important Notes

docs/src/pages/templates/async.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ import PlaygroundExample from '@components/PlaygroundExample/PlaygroundExample.a
77

88
## Using Async
99

10-
Async blocks handle promises directly in templates. They create reactive contexts that automatically re-execute when reactive dependencies change.
10+
Async blocks handle promises directly in [templates](/templates). They create reactive contexts that automatically re-execute when reactive dependencies change.
1111

1212

1313
### Async
1414

15-
You can use `async` to specify content that should only render after a promise is resolved like an api request.
15+
You can use `async` to specify content that should only render after a promise is resolved like an API request.
1616

1717
```sui
1818
{#async fetchUsers as users}
@@ -91,13 +91,13 @@ When no `as` value is used for an async block it will be aliased to `this` for t
9191

9292
## Reactivity
9393

94-
Async blocks are [reactive contexts](/reactivity/reactions). Reactive contexts will rerun whenever signals like [state](/components/state) or [settings](/components/settings) are modified.
94+
Async blocks are [reactive contexts](/reactivity/reactions). Reactive contexts will rerun whenever [signals](/reactivity/signals) like [state](/components/state) or [settings](/components/settings) are modified.
9595

9696
### Using Reactivity for Async
9797

9898
Reactive contexts can be particularly useful for async operations that should rerun whenever a set of values change.
9999

100-
> For more information about reactivity in components see the [dedicated reactivity guide](/components/reactivity/#component-reactivity)
100+
> For more information about reactivity in [components](/components) see the [dedicated reactivity guide](/components/reactivity/#component-reactivity)
101101
102102
```javascript
103103
const defaultState = {
@@ -117,7 +117,7 @@ const defaultState = {
117117

118118
### Reactivity Example
119119

120-
The following shows a real world example of returning search results using a reactive `searchTerm`.
120+
The following shows a real-world example of returning search results using a reactive `searchTerm`.
121121

122122

123123
<PlaygroundExample id="async-advanced" direction="horizontal"></PlaygroundExample>

0 commit comments

Comments
 (0)