Skip to content

Commit dff78e9

Browse files
committed
Update docs
1 parent 5ed31a8 commit dff78e9

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

docs/guide/language/module.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ short.do_something();
167167
```
168168

169169

170-
## Dynamic Module Loading
170+
## Dynamic Module Loading <Badge text="Not supported yet" type="warning" />
171171

172172
AIScript supports dynamic module loading for advanced use cases:
173173

docs/guide/web/route.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,14 +132,14 @@ get /hello {
132132
let abc = header.abc;
133133
let xyz = cookie.xyz;
134134

135-
// Set new header
136-
header.test = "Test Header";
137-
// Modify cookie
138-
cookie.xyz = "changed";
139135
return f"header: abc={abc}, cookie: xyz={xyz}";
140136
}
141137
```
142138

139+
:::warning
140+
`cookie` is not supported yet.
141+
:::
142+
143143
## Request Object
144144

145145
```py

theme/index.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import { Layout as BasicLayout } from 'rspress/theme';
2-
import { Content } from 'rspress/runtime';
32
import { HomeLayout } from './pages/index';
4-
const Layout = () => <BasicLayout><Content /></BasicLayout>;
5-
3+
const Layout = () => <BasicLayout></BasicLayout>;
64

75
export {
86
Layout,

0 commit comments

Comments
 (0)