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

Add Environment Variables Documentation #1213

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

rishyym0927
Copy link
Contributor

Resolves #1188

This PR adds a comprehensive documentation file for environment variables used in both the frontend and backend. The documentation includes descriptions, example values, and usage details for each variable, improving clarity and accessibility for developers.

Changes Introduced:

  • Frontend Environment Variables:

    • Documented VITE_API_URL, VITE_ENVIRONMENT, VITE_GRAPHQL_URL, VITE_GTM_AUTH, VITE_GTM_ID, VITE_GTM_PREVIEW, VITE_IDX_URL, VITE_RELEASE_VERSION, and VITE_SENTRY_DSN.
  • Backend Environment Variables:

    • Included documentation for Django configurations, Algolia, AWS, database, OpenAI, release versioning, security, Slack, GitHub, and other miscellaneous settings.

Why is this needed?

  • Ensures better documentation and onboarding experience.
  • Helps developers quickly understand and configure environment variables.
  • Improves debugging and environment management.

Checklist:

  • Environment variables are documented with proper descriptions and examples.
  • Formatting follows Markdown best practices.
  • No sensitive information is exposed.

@rishyym0927 rishyym0927 requested a review from arkid15r as a code owner March 30, 2025 11:38
Copy link
Contributor

coderabbitai bot commented Mar 30, 2025

Summary by CodeRabbit

  • Documentation
    • Improved project contribution guidelines for better clarity and readability.
    • Consolidated installation steps and provided streamlined, OS-specific commands.
    • Organized environment setup instructions into separate sections for frontend and backend.
    • Added clear notes on text encoding to help prevent errors.
    • Included a comprehensive table outlining environment variables with descriptions and examples.

Walkthrough

This pull request updates the CONTRIBUTING.md file by enhancing the documentation structure and clarity regarding the setup and usage of environment variables for both frontend and backend configurations. The prerequisites section has been streamlined, and the setup instructions have been reorganized into distinct subsections. A comprehensive table listing environment variables with descriptions and example values has been added, improving usability and readability.

Changes

File Change Summary
CONTRIBUTING.md Enhanced documentation for environment variables for both Frontend and Backend, including a table with descriptions and example values, and reorganized setup instructions.

Assessment against linked issues

Objective Addressed Explanation
Document .env variables (#1188)

Suggested reviewers

  • arkid15r

🪧 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>, please review it.
    • Generate unit testing code 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 testing code 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 gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

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 using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai plan to trigger planning for file edits and PR creation.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@github-actions github-actions bot added the docs Improvements or additions to documentation label Mar 30, 2025
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.

Actionable comments posted: 0

🧹 Nitpick comments (3)
CONTRIBUTING.md (3)

332-378: Frontend Environment Variables: Adjust Heading Levels for Consistency
Currently, each environment variable under the Frontend section is introduced with a level-4 heading (e.g., #### VITE_API_URL) immediately beneath a level-2 heading (## Frontend). To adhere to markdown best practices and resolve the MD001 warning, consider reducing these to level-3 headings. For example:

-#### `VITE_API_URL`
+### `VITE_API_URL`

Apply a similar change for all frontend environment variable headings. Additionally, while the descriptions are clear and include examples and usage, consider varying the sentence openings to avoid repetitive phrasing.

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

334-334: Heading levels should only increment by one level at a time
Expected: h3; Actual: h4

(MD001, heading-increment)


381-464: Backend Environment Variables: Heading Level Consistency and Repetitive Language
Similar to the Frontend section, the Backend environment variable entries use level-4 headings (e.g., #### DJANGO_CONFIGURATION) under a level-2 heading (## Backend). To ensure a consistent hierarchy, update these headings to level-3. For example:

-#### `DJANGO_CONFIGURATION`
+### `DJANGO_CONFIGURATION`

Furthermore, several static analysis hints were triggered by repetitive sentence structures in the descriptions (e.g., starting with "The"). Consider rephrasing some of these descriptions for better readability. For instance, instead of repeatedly using "The" at the beginning, you might alternate with phrases like "A", "An", or restructure the sentences.

🧰 Tools
🪛 LanguageTool

[style] ~398-~398: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...ALGOLIA_EXCLUDED_LOCAL_INDEX_NAMES` - Description: Index names to exclude locally (if a...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~401-~401: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...#### DJANGO_ALGOLIA_WRITE_API_KEY - Description: The write API key for Algolia. ### ...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~420-~420: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...atabase. #### DJANGO_DB_PASSWORD - Description: The password for the database user. ...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~423-~423: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...tabase user. #### DJANGO_DB_PORT - Description: The port number for the database ser...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~426-~426: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...base server. #### DJANGO_DB_USER - Description: The username for the database. ### ...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


397-426: Rephrase Repetitive Description Phrasing in Backend Variables
Static analysis tools flagged that multiple backend environment variable descriptions (e.g., for DJANGO_ALGOLIA_EXCLUDED_LOCAL_INDEX_NAMES, DJANGO_ALGOLIA_WRITE_API_KEY, DJANGO_DB_PASSWORD, DJANGO_DB_PORT, DJANGO_DB_USER) begin with the same word consecutively. Although this does not affect functionality, varying the sentence structure can improve readability.

🧰 Tools
🪛 LanguageTool

[style] ~398-~398: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...ALGOLIA_EXCLUDED_LOCAL_INDEX_NAMES` - Description: Index names to exclude locally (if a...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~401-~401: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...#### DJANGO_ALGOLIA_WRITE_API_KEY - Description: The write API key for Algolia. ### ...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~420-~420: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...atabase. #### DJANGO_DB_PASSWORD - Description: The password for the database user. ...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~423-~423: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...tabase user. #### DJANGO_DB_PORT - Description: The port number for the database ser...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~426-~426: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...base server. #### DJANGO_DB_USER - Description: The username for the database. ### ...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 90e8cd5 and 02c6366.

📒 Files selected for processing (1)
  • CONTRIBUTING.md (1 hunks)
🧰 Additional context used
🪛 LanguageTool
CONTRIBUTING.md

[style] ~398-~398: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...ALGOLIA_EXCLUDED_LOCAL_INDEX_NAMES` - Description: Index names to exclude locally (if a...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~401-~401: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...#### DJANGO_ALGOLIA_WRITE_API_KEY - Description: The write API key for Algolia. ### ...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~420-~420: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...atabase. #### DJANGO_DB_PASSWORD - Description: The password for the database user. ...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~423-~423: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...tabase user. #### DJANGO_DB_PORT - Description: The port number for the database ser...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~426-~426: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...base server. #### DJANGO_DB_USER - Description: The username for the database. ### ...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)

🪛 markdownlint-cli2 (0.17.2)
CONTRIBUTING.md

334-334: Heading levels should only increment by one level at a time
Expected: h3; Actual: h4

(MD001, heading-increment)

🔇 Additional comments (1)
CONTRIBUTING.md (1)

328-331: New Environment Variables Documentation Section Added
The new section starting at line 330 clearly introduces detailed documentation for environment variables. This improves clarity for developers managing configuration across frontend and backend.

Copy link
Collaborator

@arkid15r arkid15r left a comment

Choose a reason for hiding this comment

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

Please apply proper formatting and make this content a summary/details section somewhere around line 75 (closer to env examples).

@rishyym0927
Copy link
Contributor Author

Hey @arkid15r any more changes required?

Copy link

sonarqubecloud bot commented Apr 1, 2025

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.

Actionable comments posted: 0

🧹 Nitpick comments (2)
CONTRIBUTING.md (2)

330-376: Comprehensive Frontend Environment Variables Documentation
The Frontend documentation is clear and well-structured, providing each variable with a description, an example value, and usage information. For consistency, consider verifying that the markdown styles (e.g., code formatting for example values) exactly match those used elsewhere in the CONTRIBUTING file.


379-441: Detailed Backend Environment Variables Documentation
The Backend section effectively lists many important variables with concise descriptions. To further enhance clarity and consistency with the Frontend section, please consider the following:

  • Add Example Values & Usage: Providing sample values and usage guidelines (where applicable) would improve usability for developers new to the project.
  • Rephrase Repetitive Descriptions: Static analysis hints indicate that several consecutive description sentences (e.g., near lines ~388, ~391, ~394, etc.) start with the same word (typically "The"). Rewording some of these—for example, by varying sentence structure or using synonyms—can boost readability.
🧰 Tools
🪛 LanguageTool

[style] ~388-~388: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...DJANGO_ALGOLIA_APPLICATION_REGION - Description: The region of the Algolia applicatio...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~391-~391: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...ALGOLIA_EXCLUDED_LOCAL_INDEX_NAMES` - Description: Index names to exclude locally (if a...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~394-~394: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...#### DJANGO_ALGOLIA_WRITE_API_KEY - Description: The write API key for Algolia. ####...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~397-~397: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...a. #### DJANGO_AWS_ACCESS_KEY_ID - Description: AWS access key ID #### `DJANGO_AWS_...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~403-~403: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ... access key. #### DJANGO_DB_HOST - Description: The hostname of the database server....

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~406-~406: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...base server. #### DJANGO_DB_NAME - Description: The name of the database. #### `DJA...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~409-~409: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...atabase. #### DJANGO_DB_PASSWORD - Description: The password for the database user. ...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~412-~412: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...tabase user. #### DJANGO_DB_PORT - Description: The port number for the database ser...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~415-~415: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...base server. #### DJANGO_DB_USER - Description: The username for the database. ####...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~418-~418: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: .... #### DJANGO_OPEN_AI_SECRET_KEY - Description: The secret key for OpenAI API. ####...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~421-~421: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...API. #### DJANGO_RELEASE_VERSION - Description: The release version of the applicati...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~424-~424: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...lication. #### DJANGO_SECRET_KEY - Description: The secret key for Django (used for ...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~427-~427: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...signing). #### DJANGO_SENTRY_DSN - Description: The DSN for Sentry (used for error t...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~430-~430: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...ng). #### DJANGO_SLACK_BOT_TOKEN - Description: The token for the Slack bot. #### `...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~433-~433: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ... #### DJANGO_SLACK_SIGNING_SECRET - Description: The signing secret for Slack. #### ...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~436-~436: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...ret for Slack. #### GITHUB_TOKEN - Description: The token for accessing GitHub APIs....

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~439-~439: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ... APIs. #### DJANGO_ALLOWED_HOSTS - Description: A comma-separated list of allowed ho...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 02c6366 and f0f7f23.

📒 Files selected for processing (1)
  • CONTRIBUTING.md (1 hunks)
🧰 Additional context used
🪛 LanguageTool
CONTRIBUTING.md

[style] ~388-~388: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...DJANGO_ALGOLIA_APPLICATION_REGION - Description: The region of the Algolia applicatio...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~391-~391: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...ALGOLIA_EXCLUDED_LOCAL_INDEX_NAMES` - Description: Index names to exclude locally (if a...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~394-~394: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...#### DJANGO_ALGOLIA_WRITE_API_KEY - Description: The write API key for Algolia. ####...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~397-~397: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...a. #### DJANGO_AWS_ACCESS_KEY_ID - Description: AWS access key ID #### `DJANGO_AWS_...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~403-~403: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ... access key. #### DJANGO_DB_HOST - Description: The hostname of the database server....

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~406-~406: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...base server. #### DJANGO_DB_NAME - Description: The name of the database. #### `DJA...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~409-~409: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...atabase. #### DJANGO_DB_PASSWORD - Description: The password for the database user. ...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~412-~412: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...tabase user. #### DJANGO_DB_PORT - Description: The port number for the database ser...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~415-~415: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...base server. #### DJANGO_DB_USER - Description: The username for the database. ####...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~418-~418: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: .... #### DJANGO_OPEN_AI_SECRET_KEY - Description: The secret key for OpenAI API. ####...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~421-~421: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...API. #### DJANGO_RELEASE_VERSION - Description: The release version of the applicati...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~424-~424: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...lication. #### DJANGO_SECRET_KEY - Description: The secret key for Django (used for ...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~427-~427: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...signing). #### DJANGO_SENTRY_DSN - Description: The DSN for Sentry (used for error t...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~430-~430: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...ng). #### DJANGO_SLACK_BOT_TOKEN - Description: The token for the Slack bot. #### `...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~433-~433: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ... #### DJANGO_SLACK_SIGNING_SECRET - Description: The signing secret for Slack. #### ...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~436-~436: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...ret for Slack. #### GITHUB_TOKEN - Description: The token for accessing GitHub APIs....

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~439-~439: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ... APIs. #### DJANGO_ALLOWED_HOSTS - Description: A comma-separated list of allowed ho...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)

🔇 Additional comments (1)
CONTRIBUTING.md (1)

328-329: New Environment Variables Documentation Section
The new section introduces dedicated documentation for environment variables—covering both Frontend and Backend configurations. This is a valuable addition that should improve developer onboarding and ease of configuration.

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.

Actionable comments posted: 0

🧹 Nitpick comments (6)
CONTRIBUTING.md (6)

19-31: Prerequisites Installation Instructions: Verify List Indentation.
The steps for installing Docker, pre-commit, and WSL are well-documented. However, please double-check that the list item indentation adheres to markdown best practices. Adjusting the indent levels may improve readability and ensure compliance with MD007 guidelines.


27-30: WSL Instructions: Consistency in Nested List Formatting.
The WSL section provides useful detailed steps. Please ensure that the nested bullet points (describing the requirements, such as using the WSL terminal and enabling Docker’s WSL integration) use consistent indentation as per markdown best practices.


65-67: Important Notes List: Adjust Indentation Within Details Block.
Within the collapsible "Important Notes on Environment Files" section, the unordered list items (lines 65–67) are indented by two spaces. Consider removing the extra indentation to fully comply with MD007 guidelines (expected indent: 0).

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

65-65: Unordered list indentation
Expected: 0; Actual: 2

(MD007, ul-indent)


66-66: Unordered list indentation
Expected: 0; Actual: 2

(MD007, ul-indent)


67-67: Unordered list indentation
Expected: 0; Actual: 2

(MD007, ul-indent)


202-210: Frontend Environment Variables Table: Add Surrounding Blank Lines.
The table presenting frontend environment variables is informative. For better markdown readability and to address MD058, please add a blank line both before and after the table.

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

202-202: Tables should be surrounded by blank lines
null

(MD058, blanks-around-tables)


212-220: Backend Environment Variables Table: Ensure Proper Spacing.
Similarly, the backend table would benefit from a blank line before and after it to adhere to MD058 guidelines. This is a minor tweak that will enhance overall clarity.

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

212-212: Tables should be surrounded by blank lines
null

(MD058, blanks-around-tables)


223-224: Code of Conduct Section: Consider Adding a Comma.
In the statement “Please follow our Code of Conduct when interacting with contributors,” a comma after “Code of Conduct” would improve the sentence flow.

🧰 Tools
🪛 LanguageTool

[typographical] ~223-~223: Consider adding a comma here.
Context: ...or tracking | --- ## Code of Conduct Please follow our [Code of Conduct](https://gi...

(PLEASE_COMMA)

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between f0f7f23 and ae0c391.

📒 Files selected for processing (1)
  • CONTRIBUTING.md (1 hunks)
🧰 Additional context used
🪛 LanguageTool
CONTRIBUTING.md

[typographical] ~223-~223: Consider adding a comma here.
Context: ...or tracking | --- ## Code of Conduct Please follow our [Code of Conduct](https://gi...

(PLEASE_COMMA)

🪛 markdownlint-cli2 (0.17.2)
CONTRIBUTING.md

65-65: Unordered list indentation
Expected: 0; Actual: 2

(MD007, ul-indent)


66-66: Unordered list indentation
Expected: 0; Actual: 2

(MD007, ul-indent)


67-67: Unordered list indentation
Expected: 0; Actual: 2

(MD007, ul-indent)


202-202: Tables should be surrounded by blank lines
null

(MD058, blanks-around-tables)


212-212: Tables should be surrounded by blank lines
null

(MD058, blanks-around-tables)

🔇 Additional comments (4)
CONTRIBUTING.md (4)

21-26: Pre-commit Installation Code Block: Clear and Consistent.
The code block demonstrating the pre-commit installation commands is clear and consistent. No further changes are required here.


32-33: Section Separation: Effective Use of Horizontal Rule.
The horizontal rule effectively separates the prerequisites from the next section. This improves the document’s visual clarity.


69-72: Encoding Instructions: Clear and Actionable.
The steps provided under "🔹 Fix Encoding in VS Code" are clear and actionable. No modifications are needed here.


1-1: Header Level: Revisit Top-Level Header Usage.
The document begins with a top-level header (“# Contributing to Nest”). A previous review comment suggested reconsidering header levels to ensure consistency with the overall markdown structure of the project. If the project guidelines call for an alternative header hierarchy, please adjust accordingly.

@rishyym0927 rishyym0927 requested a review from arkid15r April 1, 2025 19:38
Copy link
Collaborator

@arkid15r arkid15r left a comment

Choose a reason for hiding this comment

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

Could you focus on the related issue only? If you want to improve the docs please open a separate issue.

Please update the PR based on my previous comments without modifying anything else.

@arkid15r arkid15r marked this pull request as draft April 5, 2025 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document .env variables
2 participants