Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updateschemaexample #31

Merged
merged 2 commits into from
Mar 25, 2024
Merged

updateschemaexample #31

merged 2 commits into from
Mar 25, 2024

Conversation

guritfaq
Copy link
Contributor

@guritfaq guritfaq commented Mar 25, 2024

Summary by CodeRabbit

  • Documentation
    • Enhanced guidance on customizing the ast-grep tool settings, simplifying directory configurations and introducing packages for rule sharing.

Copy link
Contributor

coderabbitai bot commented Mar 25, 2024

Walkthrough

Walkthrough

The recent update streamlines the configuration of the ast-grep tool by restructuring its YAML settings. The modification includes renaming rules_directory and utils_directory to rule_dirs and util_dirs, respectively. Additionally, a new packages feature has been introduced to facilitate the sharing of rules between different projects, enhancing efficiency and collaboration.

Changes

Files Change Summary
docs/guides/customize-coderabbit.md Updated ast-grep tool configurations: renamed rules_directory to rule_dirs, utils_directory to util_dirs, and introduced packages for rule sharing.

Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit-tests for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit tests for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit tests.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • The JSON schema for the configuration file is available here.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json

CodeRabbit Discord Community

Join our Discord Community to get help, request features, and share feedback.

Copy link

netlify bot commented Mar 25, 2024

Deploy Preview for reliable-buttercream-0e11cf ready!

Name Link
🔨 Latest commit 7a967b8
🔍 Latest deploy log https://app.netlify.com/sites/reliable-buttercream-0e11cf/deploys/6600e06118f3700008df8b0b
😎 Deploy Preview https://deploy-preview-31--reliable-buttercream-0e11cf.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

cloudflare-workers-and-pages bot commented Mar 25, 2024

Deploying coderabbit-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7a967b8
Status: ✅  Deploy successful!
Preview URL: https://bd667451.coderabbit-docs.pages.dev
Branch Preview URL: https://documentationupdates.coderabbit-docs.pages.dev

View logs

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Status

Actionable comments generated: 4

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 9b24fbe and 4f0ba25.
Files selected for processing (1)
  • docs/guides/customize-coderabbit.md (4 hunks)
Additional comments: 2
docs/guides/customize-coderabbit.md (2)
  • 58-64: The updates to the ast-grep tool configurations, including the transition to rule_dirs and util_dirs and the introduction of packages, are clear and align with the PR objectives. This reorganization enhances the flexibility and usability of the tool. Ensure that corresponding documentation elsewhere is updated to reflect these changes.
  • 113-117: The descriptions for rule_dirs, util_dirs, and packages within the YAML settings are concise and informative, effectively explaining the purpose and usage of each configuration option. This clarity will aid users in understanding how to utilize these settings for their projects.

@guritfaq guritfaq merged commit dd26db6 into master Mar 25, 2024
5 checks passed
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Status

Actionable comments generated: 4

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 4f0ba25 and 7a967b8.
Files selected for processing (1)
  • docs/guides/customize-coderabbit.md (4 hunks)
Additional comments: 1
docs/guides/customize-coderabbit.md (1)
  • 58-64: The changes to the ast-grep tool configurations, transitioning from rules_directory and utils_directory to rule_dirs and util_dirs, and introducing packages, align well with the PR objectives. This simplification and addition of packages for rule sharing are beneficial for enhancing flexibility and usability.

Comment on lines 55 to 67
- "feat/.*"
tools:
ast-grep:
rules_directory: "custom-rules-directory-name"
utils_directory: "custom-utils-directory-name"
rule_dirs:
- "rules"
util_dirs:
- "utils"
packages:
- "ast-grep-essentials"
- "my-awesome-org/my-awesome-package" # public repository that contains ast-grep
chat:
auto_reply: true
```
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 NOTE
This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [9-9]

Consider removing the extra spaces between "below" and "options" for consistency in the document's formatting.

- using one of the below   options.
+ using one of the below options.

📝 NOTE
This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [71-71]

The note about the .coderabbit.yaml file placement should start with an uppercase letter for consistency with the rest of the document.

- `.coderabbit.yaml` file should be placed in the root directory of the repository.
+ `.coderabbit.yaml` file should be placed in the root directory of the repository.

📝 NOTE
This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [129-129]

The header for version 1 should start with an uppercase letter to maintain consistency with the document's formatting.

- #### version 1: `deprecated` (Please use version [version 2](/guides/customize-coderabbit))
+ #### Version 1: `deprecated` (Please use version [version 2](/guides/customize-coderabbit))

📝 NOTE
This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [217-217]

There seems to be an unpaired symbol in the markdown link. Ensure that the markdown syntax for the link is correct.

- section [Prompt Customization](/guides/prompt-customization)
+ section [Prompt Customization](/guides/prompt-customization)

tyaga001 pushed a commit that referenced this pull request Oct 16, 2024
* updateschemaexample

* Update customize-coderabbit.md
tyaga001 added a commit that referenced this pull request Oct 17, 2024
* Coderabbit Docs Rework (wip)

* WIP blog page

* Fixed images

* Wip added all blogs and docs

* ✏️ Remove asterisk from CodeRabbit heading

* Add Tailwind CSS configuration and update page title

* Update logo href and navbar styling

* Update Docusaurus configuration and custom CSS

* Update routing and styling

* Add sitemap configuration and update redirect paths

* blog: cost effective generative ai app

* fix: numbering

* Update CodeRabbit links in documentation

* Update CodeRabbit documentation

* Update base URL and redirect to external documentation

* Update links to Get Started page

* Add new images and update links in docusaurus.config.ts and sidebars.ts

* Add redirect to documentation page

* Update slug in introduction.md

* Update introduction.md and docusaurus.config.ts, delete index.tsx

* Add code to change the docs link on the navbar

* Remove unnecessary code and add redirect for docs

* Update docs link and hide SVG icon

* Adjustments for mobile view in custom.css

* Update logo size and padding for smaller screens, center Discord link, and hide certain navbar links on mobile

* Update image paths in CodeRabbit deep dive blog post

* Update image in introduction.md

* Update image URL in blog post

* Update favicon links in blog post

* Update og:image URL in blog post

* Update blog post image URLs

* Update image URLs in blog posts

* feat: added document under integration on integration with self hosted gitlab

* Update docs/integrations/self-hosted-gitlab.md

Co-authored-by: Karan Singh <ksingh209@gmail.com>

* Update docs/integrations/self-hosted-gitlab.md

Co-authored-by: Karan Singh <ksingh209@gmail.com>

* Update docs/integrations/self-hosted-gitlab.md

Co-authored-by: Karan Singh <ksingh209@gmail.com>

* Update docs/integrations/self-hosted-gitlab.md

Co-authored-by: Karan Singh <ksingh209@gmail.com>

* Update docs/integrations/self-hosted-gitlab.md

Co-authored-by: Karan Singh <ksingh209@gmail.com>

* Update docs/integrations/self-hosted-gitlab.md

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Update docs/integrations/self-hosted-gitlab.md

Co-authored-by: Karan Singh <ksingh209@gmail.com>

* Update self-hosted-gitlab.md

* blog: modern ai stack for devs

* citation: codex model use in gh copilot

* fix: gh citation link

* fix: typo

* fix: typo

* Update index.md

* founderblogmissing

* Remove markdown file

* Update CodeRabbit description and add privacy and security information

* Update link in introduction.md

* nit

* Add new images and delete old image files

* Update self-hosted-gitlab.md

* Update customize-coderabbit.md

* Update self-hosted-gitlab.md

* Update customize-coderabbit.md

* format blog file

* format all blog files

* hide version 1 schema

* Update faq.md

* Fix images for light and dark mode. Made improvements to docs (#22)

* Add ast-grep documentation page

* Update the ast-grep documentation to include the coderabbit config file changes

* Fix language review

* Update coderabbit.yaml schema for ast-grep tool naming

* Update coderabbig guide page with new coderabbit.yaml changes

* Update 2023-11-13-boosting-engineering-efficiency.md

* Move ast-grep documentation under the prompt-customization page

* Change ast-grep naming

* Correct grammar for ast-grep documentation

* update faqs

* restructure existing blog posts

* Add ast-grep documentation page

* Update the ast-grep documentation to include the coderabbit config file changes

* Fix language review

* Update coderabbit.yaml schema for ast-grep tool naming

* Move ast-grep documentation under the prompt-customization page

* restructure existing docs

* review feedback

* add preview image

* use directory instead of folder terminology

* nit

* add disqus comments

* fix admonitions

* add fn acquisition blog (#27)

* add fn acquisition blog

* add links

* small fix

* update blog post

* update blog post

* update preview image

* update preview image

* minor update to the FAQ

* Daily Standup Reporting Docs (#28)

* Add daily standup reporting docs and images

* Coderabbit suggestions

* Add packages section and update existing docs for ast-grep (#29)

* updateschemaexample (#31)

* updateschemaexample

* Update customize-coderabbit.md

* minorchanges (#32)

* updatefaq

* FAQs

* doc fixes (#33)

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: Gur singh <11731008+guritfaq@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* fix path instructions example

* change the default example for coderabbit yaml

* Blog - AI Code Reviews  (#36)

* newblog

* RenameFolder

* updatedesc

* update example

* blog home page

* blog featured posts

* AdminAccessToken

* FixCasing

* updatecasing

* update docs

* update schema

* remove daily standup guide

* Update YAML settings in configure-coderabbit.md (#40)

* Update YAML settings in configure-coderabbit.md

* Add configuration for `languagetool` integration in configure-coderabbit.md

* update pricing

* remove pnpm

* ast-grep update

* update knowledge_base settings

* mention ast-grep-essentials

* add review.profile to docs

* update review status

* revert review status change

* add quotes

* minor

* improve config docs

* add playground link

* placeholder for high-level summary

* remove v1 config documentation

* remove ignore title example

* remove ignore title example

* UpatePauseCommandMessage

* update docs

* Update introduction.md

* Add config for biome and hadolint (#43)

* update auto_incremental_review

* improve config docs

* chore: Update CodeRabbit configuration settings (#44)

* chore: Add config for new tools (#45)

* UpdateDataPrivacy

* chore: Update SwiftLint configuration file path (#47)

* Update self hosted onboarding guide

* update auto title

* update phpstan instructions

* Update npm dependencies and add docusaurus-json-schema-plugin (#49)

* Update npm dependencies and add docusaurus-json-schema-plugin

* Show CodeRabbit config schema from a file

* Update faqs typos (#51)

* ♻️ Clean faq typos

* 💄 Update .png for support help dark and light mode

* ♻️ Misc fixes and improvements

* update docs

* Create initial Gitlab Saas integration page

* Update GitLab page content on the how to section with a note

* add tip

* update limits

* 📝 Add Documentation for Deleting Account (#55)

* On-demand report generation docs (#56)

* Ondemand report input schema format

* On-demand reporting docs

* CodeRabbit suggestions

* Typo

* Add linter documentation (#59)

* Add linter documentation

- Update sidebar positions in documentation guides

* docs: Move linter documentation to tools folder

* Add more tools

* Add LanguageTool documentation and configuration

* Update Biome documentation and configuration

* docs: Update linter documentation and configuration

* chore: Update tools category label in _category_.yml

* chore: Update tools category label and add new tools

* docs: Fix typo in Biome linter documentation

* chore: Add SwiftLint documentation and configuration

* Add golangci-lint, PHPStan, and SwiftLint documentation and configuration

* Add Yamllint documentation and configuration

* Add Checkov and Gitleaks documentation and configuration

* Update tool configuration documentation (#60)

* chore: Update tool configuration documentation

* Update tool configuration documentation

* Update Gitleaks documentation (#61)

* Update introduction.md and add video (#62)

* Add table for Supported Tools by languages (#63)

* Add table for Supported Tools by languages

* Update supported tools table and documentation

* Update tool configuration documentation

* Update introduction and CodeRabbit documentation (#64)

* Update introduction and CodeRabbit documentation

* Update FAQ documentation

* Update CodeRabbit documentation and remove reference to GitHub Copilot

* Update CodeRabbit documentation and remove reference to GitHub Copilot

* Update default settings for CodeRabbit tools (#65)

* feat: added docs for detekt and eslint (#67)

* feat: added docs for detekt and eslint

* fix: lint

* Add segment script and update iframe attributes for YouTube video player (#68)

* Improve Documentation Structure and Accessibility in Markdown Files (#69)

* Major refactor

- Move configure and tools to top level
- Update category positions
- Move images to static dir
- Update links

* Update image file name in introduction.md

* Update sidebar positions for integrations documentation

* Update category positions for documentation

* Update knowledge base integration description

* Update FAQ with CodeRabbit comparison and CodeRabbit's uniqueness

* Update redirects in docusaurus.config.ts

* Update Jira and Linear integration configuration in knowledge base

* Update GitLab integration documentation

* Self-Hosted GitHub onboarding docs (#66)

* Initial draft of Self-Hosted GitHub onboarding

* Fix issues and reorg steps

* Rebase & fix conflicts

* sidebar_position

* Add step to install GitHub App for Self-Hosted (#70)

* Add step to install GitHub App

* Disclaimer

* Coderabbit suggestion: install -> installation

* Coderabbit suggestions

* Remove ESLint from JavaScript tools documentation (#71)

* Add supported git platforms page in documentation (#72)

* Add supported git platforms page in documentation

* Fix typo in platforms.md

* chore: Update redirect paths in docusaurus.config.ts

* added yaml editor (#74)

* added yaml editor

* name fix

* moved component to one code block

* removed logs

* Feature yaml editor (#76)

* added yaml editor

* name fix

* moved component to one code block

* removed logs

* fix: yaml editor

* fix: reviews

* new line

* fix: merge fix

* Update schema.v2.json

* 🎨 Run Markdownlint and Prettier (#84)

* added correct scopes (#88)

Co-authored-by: dikshant <raidikshant2@gmail.com>

* Add Azure DevOps initial docs page

* Update Azure DevOps

* add redirect

* rename AzureDevOps page

* SaaS GitLab change to Gitlab.com and added relevant redirect Update GitLab sidebar label and link references in documentation  (#93)

* SaaS GitLab change to Gitlab.com and added relevant redirect

* changes for the self-hosted-github to Github Enterprise Server

* Azure DevOps Server Support

* Update platforms.md

* Remove segment (#104)

* update: introduction and added a CTA
minor change to recreate the PR

---------

Co-authored-by: Karan Singh <ksingh209@gmail.com>
Co-authored-by: gitcommitshow <pradeep@gitcommit.show>
Co-authored-by: coderabbit-amank <aman@coderabbit.ai>
Co-authored-by: Gur singh <11731008+guritfaq@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Gur <guritfaq@gmail.com>
Co-authored-by: Harjot Gill <harjot.gill@fluxninja.com>
Co-authored-by: Karan Singh <karan@coderabbit.ai>
Co-authored-by: petrisorcoderabbit <petrisor@coderabbit.ai>
Co-authored-by: Jaseel <12792882+Spikatrix@users.noreply.github.com>
Co-authored-by: petrisorcoderabbit <155847819+petrisorcoderabbit@users.noreply.github.com>
Co-authored-by: Hasit Mistry <hasitnm@gmail.com>
Co-authored-by: Hasit Mistry <hasit@coderabbit.ai>
Co-authored-by: Ruhan Muzaffar <ruhan@coderabbit.ai>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Nato Boram <NatoBoram@users.noreply.github.com>
Co-authored-by: dikshant-infracloud <160205839+dikshant-infracloud@users.noreply.github.com>
Co-authored-by: dikshant <raidikshant2@gmail.com>
Co-authored-by: Aravind Putrevu <aravind.putrevu@gmail.com>
Co-authored-by: Nick Busey <NickBusey@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant