Skip to content

Commit f9d896d

Browse files
authored
move docs links from .docs to docs/ (#54)
1 parent 7817ccc commit f9d896d

File tree

14 files changed

+20
-20
lines changed

14 files changed

+20
-20
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ kernel deploy index.ts # --env OPENAI_API_KEY=XXX if Stagehand; --env ANTHROPIC
113113
kernel deploy main.py # --env OPENAI_API_KEY=XXX if Browser Use
114114
```
115115

116-
If deploying an app that requires environment variables, make sure to [set them](https://docs.onkernel.com/launch/deploy#environment-variables) when you `deploy`.
116+
If deploying an app that requires environment variables, make sure to [set them](https://onkernel.com/docs/launch/deploy#environment-variables) when you `deploy`.
117117

118118
5. Invoke your application:
119119

@@ -157,7 +157,7 @@ These are the sample apps currently available when you run `npx @onkernel/create
157157

158158
For more information about Kernel and its features, visit:
159159

160-
- [Kernel Documentation](https://docs.onkernel.com/quickstart)
160+
- [Kernel Documentation](https://onkernel.com/docs/quickstart)
161161
- [Kernel Homepage](https://onkernel.com)
162162

163163
## Contributing

templates/python/browser-use/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
This is a simple Kernel application that implements the Browser Use SDK.
44

5-
See the [docs](https://docs.onkernel.com/build/browser-frameworks) for information.
5+
See the [docs](https://onkernel.com/docs/build/browser-frameworks) for information.

templates/python/browser-use/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class TaskInput(TypedDict):
1313
task: str
1414

1515
# LLM API Keys are set in the environment during `kernel deploy <filename> -e OPENAI_API_KEY=XXX`
16-
# See https://docs.onkernel.com/launch/deploy#environment-variables
16+
# See https://onkernel.com/docs/launch/deploy#environment-variables
1717
llm = ChatOpenAI(model="gpt-4.1")
1818

1919
@app.action("bu-task")

templates/python/computer-use/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ This is a simple Kernel application that implements a prompt loop using Anthropi
44

55
It generally follows the [Anthropic Reference Implementation](https://github.com/anthropics/anthropic-quickstarts/tree/main/computer-use-demo) but replaces `xodotool` and `gnome-screenshot` with Playwright.
66

7-
See the [docs](https://docs.onkernel.com/quickstart) for information.
7+
See the [docs](https://onkernel.com/docs/quickstart) for information.

templates/python/cua/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ This is a Kernel application that demonstrates using the Computer Using Agent (C
44

55
It generally follows the [OpenAI CUA Sample App Reference](https://github.com/openai/openai-cua-sample-app) and uses Playwright via Kernel for browser automation.
66

7-
See the [docs](https://docs.onkernel.com/quickstart) for more information.
7+
See the [docs](https://onkernel.com/docs/quickstart) for more information.

templates/python/sample-app/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
This is a simple Kernel application that extracts the title from a webpage.
44

5-
See the [docs](https://docs.onkernel.com/quickstart) for information.
5+
See the [docs](https://onkernel.com/docs/quickstart) for information.

templates/python/sample-app/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ async def get_page_title(ctx: kernel.KernelContext, input_data: PageTitleInput)
6868
"""
6969
Example app that instantiates a persisted Kernel browser that can be reused across invocations
7070
Invoke this action to test Kernel browsers manually with our browser live view
71-
https://docs.onkernel.com/launch/browser-persistence
71+
https://onkernel.com/docs/browsers/persistence
7272
Args:
7373
ctx: Kernel context containing invocation information
7474
Returns:

templates/typescript/computer-use/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ This is a simple Kernel application that implements a prompt loop using Anthropi
44

55
It generally follows the [Anthropic Reference Implementation](https://github.com/anthropics/anthropic-quickstarts/tree/main/computer-use-demo) but replaces `xodotool` and `gnome-screenshot` with Playwright.
66

7-
See the [docs](https://docs.onkernel.com/quickstart) for information.
7+
See the [docs](https://onkernel.com/docs/quickstart) for information.

templates/typescript/computer-use/index.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ interface QueryOutput {
1515
}
1616

1717
// LLM API Keys are set in the environment during `kernel deploy <filename> -e ANTHROPIC_API_KEY=XXX`
18-
// See https://docs.onkernel.com/launch/deploy#environment-variables
18+
// See https://onkernel.com/docs/launch/deploy#environment-variables
1919
const ANTHROPIC_API_KEY = process.env.ANTHROPIC_API_KEY;
2020

2121
if (!ANTHROPIC_API_KEY) {
@@ -66,11 +66,11 @@ app.action<QueryInput, QueryOutput>(
6666
throw new Error('Failed to get the last message from the sampling loop');
6767
}
6868

69-
const result = typeof lastMessage.content === 'string'
70-
? lastMessage.content
71-
: lastMessage.content.map(block =>
72-
block.type === 'text' ? block.text : ''
73-
).join('');
69+
const result = typeof lastMessage.content === 'string'
70+
? lastMessage.content
71+
: lastMessage.content.map(block =>
72+
block.type === 'text' ? block.text : ''
73+
).join('');
7474

7575
return { result };
7676
} catch (error) {

templates/typescript/cua/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ This is a Kernel application that demonstrates using the Computer Using Agent (C
55
It generally follows the [OpenAI CUA Sample App Reference](https://github.com/openai/openai-cua-sample-app) and uses Playwright via Kernel for browser automation.
66
Also makes use of the latest OpenAI SDK format, and has local equivalent to Kernel methods for local testing before deploying on Kernel.
77

8-
See the [docs](https://docs.onkernel.com/quickstart) for information.
8+
See the [docs](https://onkernel.com/docs/quickstart) for information.

0 commit comments

Comments
 (0)