diff --git a/docs/self-hosted/azure-devops.md b/docs/self-hosted/azure-devops.md index 04681002..46a079ab 100644 --- a/docs/self-hosted/azure-devops.md +++ b/docs/self-hosted/azure-devops.md @@ -67,15 +67,13 @@ AZURE_O1MINI_DEPLOYMENT_NAME=[] AZURE_O1_DEPLOYMENT_NAME=[] # if using AWS Bedrock +LLM_PROVIDER=bedrock-anthropic AWS_ACCESS_KEY_ID= AWS_SECRET_ACCESS_KEY= AWS_REGION= TEMP_PATH=/cache -AST_GREP_RULES_PATH=/home/jailuser/ast-grep-rules -AST_GREP_ESSENTIALS=ast-grep-essentials - SELF_HOSTED=azure-devops AZURE_DEVOPS_BOT_TOKEN= diff --git a/docs/self-hosted/bitbucket.md b/docs/self-hosted/bitbucket.md index a2879c65..a9fdb182 100644 --- a/docs/self-hosted/bitbucket.md +++ b/docs/self-hosted/bitbucket.md @@ -60,15 +60,16 @@ AZURE_O1MINI_DEPLOYMENT_NAME=[] AZURE_O1_DEPLOYMENT_NAME=[] # if using AWS Bedrock +LLM_PROVIDER=bedrock-anthropic AWS_ACCESS_KEY_ID= AWS_SECRET_ACCESS_KEY= AWS_REGION= # System Configuration TEMP_PATH=/cache -AST_GREP_RULES_PATH=/home/jailuser/ast-grep-rules -AST_GREP_ESSENTIALS=ast-grep-essentials + SELF_HOSTED=bitbucket-server + BITBUCKET_SERVER_URL=/rest BITBUCKET_SERVER_WEBHOOK_SECRET= BITBUCKET_SERVER_BOT_TOKEN= diff --git a/docs/self-hosted/github.md b/docs/self-hosted/github.md index 7bb7ed56..ff795252 100644 --- a/docs/self-hosted/github.md +++ b/docs/self-hosted/github.md @@ -71,6 +71,7 @@ AZURE_O1MINI_DEPLOYMENT_NAME=[] AZURE_O1_DEPLOYMENT_NAME=[] # if using AWS Bedrock +LLM_PROVIDER=bedrock-anthropic AWS_ACCESS_KEY_ID= AWS_SECRET_ACCESS_KEY= AWS_REGION= @@ -83,9 +84,6 @@ ANTHROPIC_BASE_URL=[] TEMP_PATH=/cache -AST_GREP_RULES_PATH=/home/jailuser/ast-grep-rules -AST_GREP_ESSENTIALS=ast-grep-essentials - SELF_HOSTED=github GH_WEBHOOK_SECRET= diff --git a/docs/self-hosted/gitlab.md b/docs/self-hosted/gitlab.md index ae402ebd..30385ddd 100644 --- a/docs/self-hosted/gitlab.md +++ b/docs/self-hosted/gitlab.md @@ -66,6 +66,7 @@ AZURE_O1MINI_DEPLOYMENT_NAME=[] AZURE_O1_DEPLOYMENT_NAME=[] # if using AWS Bedrock +LLM_PROVIDER=bedrock-anthropic AWS_ACCESS_KEY_ID= AWS_SECRET_ACCESS_KEY= AWS_REGION= @@ -78,9 +79,6 @@ ANTHROPIC_BASE_URL=[] TEMP_PATH=/cache -AST_GREP_RULES_PATH=/home/jailuser/ast-grep-rules -AST_GREP_ESSENTIALS=ast-grep-essentials - SELF_HOSTED=gitlab GITLAB_BOT_TOKEN= diff --git a/src/css/custom.css b/src/css/custom.css index 30237809..b94b469d 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -90,19 +90,6 @@ a[docid="docs"] > svg { align-items: center; } -@media screen and (max-width: 480px) { - a.navbar__item.navbar__link[docid="docs"] { - display: none !important; - } -} - -@media screen and (max-width: 480px) { - a.navbar__item.navbar__link[href="https://coderabbit.ai/blog"] - { - display: none; - } -} - [data-theme="light"] img[src$="#gh-dark-mode-only"], [data-theme="dark"] img[src$="#gh-light-mode-only"] { display: none; @@ -157,19 +144,6 @@ a[docid="docs"] > svg { align-items: center; } -@media screen and (max-width: 480px) { - a.navbar__item.navbar__link[docid="docs"] { - display: none !important; - } -} - -@media screen and (max-width: 480px) { - a.navbar__item.navbar__link[href="https://coderabbit.ai/blog"] - { - display: none; - } -} - /* Light mode Discord icon */ /* .header-discord-link:before { -webkit-filter: invert(100%); @@ -303,3 +277,16 @@ a[docid="docs"] > svg { .center-image { text-align: center; } + +@media screen and (max-width: 480px) { + a.navbar__item.navbar__link[href="/"] { + display: none; + } +} + +@media screen and (max-width: 480px) { + a.navbar__item.navbar__link[href="https://coderabbit.ai/blog"] + { + display: none; + } +} diff --git a/static/schema/schema.v2.json b/static/schema/schema.v2.json index 49112fbf..3717926b 100644 --- a/static/schema/schema.v2.json +++ b/static/schema/schema.v2.json @@ -312,6 +312,26 @@ "additionalProperties": false, "default": {} }, + "finishing_touches": { + "type": "object", + "properties": { + "docstrings": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "default": true, + "description": "Docstrings | Allow CodeRabbit to generate docstrings for PRs/MRs." + } + }, + "additionalProperties": false, + "default": {}, + "description": "Docstrings | Options for generating Docstrings for your PRs/MRs." + } + }, + "additionalProperties": false, + "default": {} + }, "tools": { "type": "object", "properties": { @@ -750,6 +770,39 @@ "type": "boolean", "default": true, "description": "Enable the bot to reply automatically without requiring the user to tag it." + }, + "integrations": { + "type": "object", + "properties": { + "jira": { + "type": "object", + "properties": { + "usage": { + "type": "string", + "enum": ["auto", "enabled", "disabled"], + "default": "auto", + "description": "Jira | Enable the Jira integration for opening issues, etc. 'auto' disables the integration for public repositories." + } + }, + "additionalProperties": false, + "default": {} + }, + "linear": { + "type": "object", + "properties": { + "usage": { + "type": "string", + "enum": ["auto", "enabled", "disabled"], + "default": "auto", + "description": "Linear | Enable the Linear integration for opening issues, etc. 'auto' disables the integration for public repositories." + } + }, + "additionalProperties": false, + "default": {} + } + }, + "additionalProperties": false, + "default": {} } }, "additionalProperties": false, @@ -792,6 +845,12 @@ "jira": { "type": "object", "properties": { + "usage": { + "type": "string", + "enum": ["auto", "enabled", "disabled"], + "default": "auto", + "description": "Jira | Enable the Jira knowledge base integration. 'auto' disables the integration for public repositories." + }, "project_keys": { "type": "array", "items": { @@ -807,6 +866,12 @@ "linear": { "type": "object", "properties": { + "usage": { + "type": "string", + "enum": ["auto", "enabled", "disabled"], + "default": "auto", + "description": "Linear | Enable the Linear knowledge base integration. 'auto' disables the integration for public repositories." + }, "team_keys": { "type": "array", "items": {