Frank 7 месяцев назад
Родитель
Сommit
c2b3c52b76

+ 1 - 0
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",

+ 5 - 5
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
 

+ 1 - 1
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.