Skip to content

Commit d0bc72b

Browse files
authored
docs: improve SEO (#3092)
1 parent 16ef26c commit d0bc72b

39 files changed

Lines changed: 89 additions & 66 deletions

doc/.vitepress/config.mjs

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,38 @@ const baseHeaders = [
6262
},
6363
],
6464
["link", { rel: "icon", type: "image/png", href: "/favicon.png" }],
65-
// Ensure Google displays the site as CodeCompanion.nvim in search results
6665
[
6766
"script",
6867
{ type: "application/ld+json" },
6968
JSON.stringify({
7069
"@context": "https://schema.org",
71-
"@type": "WebSite",
72-
name: "CodeCompanion.nvim",
73-
url: "https://codecompanion.olimorris.dev",
70+
"@graph": [
71+
{
72+
"@type": "WebSite",
73+
name: "CodeCompanion.nvim",
74+
url: siteUrl,
75+
},
76+
{
77+
"@type": "SoftwareApplication",
78+
name: "CodeCompanion.nvim",
79+
description:
80+
"AI coding, Vim style. CodeCompanion is a plugin which enables you to code with AI, using LLMs and agents, in Neovim.",
81+
applicationCategory: "DeveloperApplication",
82+
operatingSystem: "Linux, macOS, Windows",
83+
url: siteUrl,
84+
downloadUrl: "https://github.com/olimorris/codecompanion.nvim",
85+
author: {
86+
"@type": "Person",
87+
name: "Oli Morris",
88+
url: "https://github.com/olimorris",
89+
},
90+
offers: {
91+
"@type": "Offer",
92+
price: "0",
93+
priceCurrency: "USD",
94+
},
95+
},
96+
],
7497
}),
7598
],
7699
];

doc/agent-client-protocol.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
description: How CodeCompanion implements the Agent Client Protocol (ACP)
2+
description: "CodeCompanion's Agent Client Protocol (ACP) support — covers session management, tool execution, permissions, and which capabilities are currently implemented."
33
---
44

55
# Agent Client Protocol (ACP) Support

doc/architecture.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
description: Architectural concepts and design principles behind CodeCompanion.
2+
description: "How CodeCompanion manages LLM context windows, handles token limits, and is architected internally — reference for contributors and advanced users."
33
---
44

55
# Architecture
@@ -19,7 +19,7 @@ When a user breaches the context window, the conversation **ends** and it **cann
1919
> [!NOTE]
2020
> CodeCompanion enables context management by default
2121
22-
If you're using the `openai_responses` or `anthropic` adapters, then CodeCompanion will use their native server-side compaction capabilities. Please see their respective documentation [here](https://developers.openai.com/api/docs/guides/compaction) and [here](https://platform.claude.com/docs/en/build-with-claude/compaction) for more information.
22+
If you're using the `openai_responses` or `anthropic` adapters, then CodeCompanion will use their native server-side compaction capabilities. Please see the [OpenAI compaction documentation](https://developers.openai.com/api/docs/guides/compaction) and [Anthropic compaction documentation](https://platform.claude.com/docs/en/build-with-claude/compaction) for more information.
2323

2424
To be updated...
2525

doc/configuration/action-palette.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
description: How to configure the action palette in CodeCompanion
2+
description: "Configure the CodeCompanion Action Palette — your entry point to chat buffers, prompt library prompts, and plugin features in Neovim."
33
---
44

55
# Configuring the Action Palette

doc/configuration/adapters-acp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
description: Learn how to configure ACP adapters like Claude Code, Gemini CLI and Codex
2+
description: "Configure Agent Client Protocol (ACP) adapters in CodeCompanion to connect with CLI agents like Claude Code, Codex, Gemini CLI, and OpenCode from Neovim."
33
---
44

55
# Configuring ACP Adapters

doc/configuration/adapters-http.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
description: Learn how to configure adapters like OpenAI, Anthropic, Claude Code in CodeCompanion
2+
description: "Configure CodeCompanion's HTTP adapters to connect Neovim to OpenAI, Anthropic, Copilot, Gemini, and Ollama. Covers API keys, model selection, and proxy settings."
33
---
44

55
# Configuring HTTP Adapters
@@ -240,7 +240,7 @@ require("codecompanion").setup({
240240
:::
241241

242242
> [!NOTE]
243-
> In this _command_ example, we're using the 1Password CLI to extract the Gemini API Key. You could also use gpg as outlined [here](https://github.com/olimorris/codecompanion.nvim/discussions/601)
243+
> In this _command_ example, we're using the 1Password CLI to extract the Gemini API Key. You could also [use gpg as outlined in this community discussion](https://github.com/olimorris/codecompanion.nvim/discussions/601)
244244
245245
Supported `env` value types:
246246
- **Plain environment variable name (string)**: if the value is the name of an environment variable that has already been set (e.g. `"HOME"` or `"GEMINI_API_KEY"`), the plugin will read the value.
@@ -464,4 +464,4 @@ Thanks to the community for building the following adapters:
464464
- [Venice.ai](https://github.com/olimorris/codecompanion.nvim/discussions/972)
465465
- [Vertex AI](https://github.com/viespejo/cc-adapter-vertex-ai.nvim)
466466

467-
The section of the discussion forums which is dedicated to user created adapters can be found [here](https://github.com/olimorris/codecompanion.nvim/discussions?discussions_q=is%3Aopen+label%3A%22tip%3A+adapter%22). Use these individual threads as a place to raise issues and ask questions about your specific adapters.
467+
The section of the discussion forums dedicated to user-created adapters can be found in the [adapter discussions on GitHub](https://github.com/olimorris/codecompanion.nvim/discussions?discussions_q=is%3Aopen+label%3A%22tip%3A+adapter%22). Use these individual threads as a place to raise issues and ask questions about your specific adapters.

doc/configuration/chat-buffer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
description: Configure CodeCompanion's native chat buffer, to enable Vim like coding with AI
2+
description: "Configure CodeCompanion's chat buffer — keymaps, display options, context management, system prompt, and tool settings for AI-assisted coding in Neovim."
33
---
44

55
# Configuring the Chat Buffer

doc/configuration/cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
description: Learn how to configure agents via the Command-Line Interface (CLI) in CodeCompanion.nvim
2+
description: "Configure CLI agents in CodeCompanion — define agents like Claude Code or Codex, set custom commands, configure the terminal provider, and manage input settings."
33
---
44

55
# Configuring the Command-Line Interface (CLI)

doc/configuration/extensions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
description: Learn how to leverage extensions to expand CodeCompanion's functionality
2+
description: "Configure CodeCompanion extensions to add custom functionality — can be distributed as Neovim plugins or defined locally in your configuration."
33
---
44

55
# Configuring Extensions

doc/configuration/inline.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
description: Configure the Inline Interaction in CodeCompanion
2+
description: "Configure CodeCompanion's inline interaction for writing and refactoring code directly into Neovim buffers via LLM prompts, without opening a chat buffer."
33
---
44

55
# Configuring the Inline Interaction

0 commit comments

Comments
 (0)