From ff4e01a6bdd7a0efe2c0344d998afffac1fa1f58 Mon Sep 17 00:00:00 2001 From: Ankur Tyagi Date: Mon, 21 Oct 2024 16:50:16 +0200 Subject: [PATCH] docs: removed duplicate content from review-instructions.md --- docs/guides/review-instructions.md | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/docs/guides/review-instructions.md b/docs/guides/review-instructions.md index 10554177..8ffa2cb4 100644 --- a/docs/guides/review-instructions.md +++ b/docs/guides/review-instructions.md @@ -17,8 +17,9 @@ This section explains how to add custom code review instructions for the entire project or specific file paths in your project using glob patterns. Developers can provide tailored review guidelines based on the file paths. These instructions are needed only if you want CodeRabbit to follow specific -instructions besides the standard review. For example, you may want to enforce a -style guide by file types or directories. +instructions besides the standard review. + +>For example, you may want to enforce a style guide by file types or directories. ### Sample Usage @@ -72,21 +73,6 @@ learning curve involved. ::: -CodeRabbit offers review instructions based on Abstract Syntax Tree (AST) -patterns. Under the hood, CodeRabbit uses -[`ast-grep`](https://ast-grep.github.io) to power this feature. `ast-grep` is -written in Rust and uses the tree-sitter parser to generate the AST for popular -languages. `ast-grep` is written and maintained by -[Herrington Darkholme](https://twitter.com/hd_nvim). - -:::tip - -`ast-grep` Playground is quite effective in designing and testing AST rules on -source code snippets. You can access the playground -[here](https://ast-grep.github.io/playground.html). - -::: - :::note **Deep dive into AST patterns and `ast-grep` rules**