summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFrank <[email protected]>2025-07-26 01:03:23 -0400
committerFrank <[email protected]>2025-07-26 01:03:23 -0400
commitc2b3c52b766a2a2bfe9b9403049eff081b5f5ef7 (patch)
tree56b9a5205f44770bc177a5daaed7faa41addfd9c
parenta007d65f62b3ede4851bbbf54d6f727232849fd0 (diff)
downloadopencode-c2b3c52b766a2a2bfe9b9403049eff081b5f5ef7.tar.gz
opencode-c2b3c52b766a2a2bfe9b9403049eff081b5f5ef7.zip
wip: github action
-rw-r--r--packages/web/astro.config.mjs1
-rw-r--r--packages/web/src/content/docs/docs/github.mdx10
-rw-r--r--packages/web/src/content/docs/docs/ide.mdx2
3 files changed, 7 insertions, 6 deletions
diff --git a/packages/web/astro.config.mjs b/packages/web/astro.config.mjs
index e3f6a493e..cd45f7ab5 100644
--- a/packages/web/astro.config.mjs
+++ b/packages/web/astro.config.mjs
@@ -68,6 +68,7 @@ export default defineConfig({
"docs/modes",
"docs/agents",
"docs/rules",
+ "docs/github",
"docs/config",
"docs/models",
"docs/themes",
diff --git a/packages/web/src/content/docs/docs/github.mdx b/packages/web/src/content/docs/docs/github.mdx
index ef763ee33..375a2cff3 100644
--- a/packages/web/src/content/docs/docs/github.mdx
+++ b/packages/web/src/content/docs/docs/github.mdx
@@ -1,15 +1,15 @@
---
title: GitHub
-description: Using opencode within GitHub Issues and Pull-Requests
+description: Use opencode in GitHub Issues and Pull-Requests
---
-opencode integrates directly into your GitHub workflow. Mention `/opencode` in your comment, and opencode will execute tasks within your GitHub Actions runner.
+opencode integrates directly into your GitHub workflow. Mention `/opencode` or `/oc` in your comment, and opencode will execute tasks within your GitHub Actions runner.
---
## Features
-- **Triage Issues**: Ask opencode to look into an issue and explain it to you
+- **Triage Issues**: Ask opencode to look into an issue and explain it to you.
- **Fix and Implement**: Ask opencode to fix an issue or implement a feature. And it will work in a new branch and submits a PR with all the changes.
- **Secure**: opencode runs inside your GitHub's runners.
@@ -66,14 +66,14 @@ This will walk you through installing the GitHub app, creating the workflow, and
---
-### Inputs
+## Configuration
- `model`: The model used by opencode. Takes the format of `provider/model` (**required**)
- `share`: Share the session. Sessions are shared by default for public repos.
---
-### Usage Examples
+## Usage Examples
- Explain an issue
diff --git a/packages/web/src/content/docs/docs/ide.mdx b/packages/web/src/content/docs/docs/ide.mdx
index 15df9769d..fd8e0bfe5 100644
--- a/packages/web/src/content/docs/docs/ide.mdx
+++ b/packages/web/src/content/docs/docs/ide.mdx
@@ -1,6 +1,6 @@
---
title: IDE
-description: Using opencode with VS Code, Cursor, and other IDEs
+description: The opencode extension for VS Code, Cursor, and other IDEs
---
opencode integrates with VS Code, Cursor, or any IDE that supports a terminal. Just run `opencode` in the terminal to get started.