diff --git a/packages/web/astro.config.mjs b/packages/web/astro.config.mjs index e3f6a493..cd45f7ab 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 ef763ee3..375a2cff 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 15df9769..fd8e0bfe 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.