Skip to content

Add Contributing Page #93

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

Merged
merged 4 commits into from
Apr 14, 2025
Merged

Add Contributing Page #93

merged 4 commits into from
Apr 14, 2025

Conversation

egelhaus
Copy link
Collaborator

@egelhaus egelhaus commented Apr 13, 2025

Issue: gitroomhq/postiz-docs#703

Summary by CodeRabbit

Summary by CodeRabbit

  • Documentation
    • Introduced a new contribution guide that outlines prerequisites and offers step-by-step instructions for engaging with the project.
    • Updated existing contributor documentation to link directly to the new guide, streamlining access for potential community collaborators.

Copy link

vercel bot commented Apr 13, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
postiz-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 14, 2025 4:19pm

Copy link

coderabbitai bot commented Apr 13, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

This pull request introduces a new contributing guide located in pages/contributing.mdx that outlines prerequisites, collaboration methods, and a step-by-step process for contributing using a Fork/Feature Branch/Pull Request workflow. Additionally, the existing guide in pages/developer-guide.mdx has been updated to reference this new file using a relative path. These changes focus solely on clarifying documentation for potential contributors.

Changes

File(s) Change Summary
pages/contributing.mdx New file added with detailed contribution guidelines including prerequisites, collaboration methods (GitHub issues and Discord), and a step-by-step process.
pages/developer-guide.mdx Updated the "Contributors Guide" link from an external URL to a relative link (./contributing) to direct users to the new contribution guide.

Sequence Diagram(s)

sequenceDiagram
    participant C as Contributor
    participant G as GitHub
    participant R as Repository
    participant M as Maintainer

    C->>G: Fork repository
    G-->>C: Forked repository URL
    C->>G: Clone repository locally
    C->>R: Create feature branch
    C->>R: Make changes & run tests
    C->>G: Push branch & open pull request
    G->>M: Notify maintainers of new PR
    M->>C: Review & provide feedback
Loading

Poem

In my burrow of code, I’ve found a new way,
A guide to help contributors hop in and play.
With forks and branches, each step is clear,
A trail of pull requests brings us near.
My paws tap softly, celebrating each line—
A joyful code journey, simply divine! 🐇


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Free

📥 Commits

Reviewing files that changed from the base of the PR and between d3b5750 and c1cea29.

📒 Files selected for processing (1)
  • pages/contributing.mdx (1 hunks)

Note

🎁 Summarized by CodeRabbit Free

Your organization has reached its limit of developer seats under the Pro Plan. For new users, CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please add seats to your subscription by visiting https://app.coderabbit.ai/login.If you believe this is a mistake and have available seats, please assign one to the pull request author through the subscription management page using the link above.

🪧 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 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.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • 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/schema.v2.json

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.

Copy link

@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: 1

🧹 Nitpick comments (4)
pages/contributing.mdx (4)

9-10: Content Style & Clarity Suggestion
In the opening paragraph, consider hyphenating "Open Source" when used as a compound adjective (e.g., "open‑source project") and review the punctuation before “or” for better readability.

🧰 Tools
🪛 LanguageTool

[uncategorized] ~10-~10: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...f this is your first contribution to an Open Source project or you're a core maintainer of ...

(EN_COMPOUND_ADJECTIVE_INTERNAL)


[uncategorized] ~10-~10: Use a comma before ‘or’ if it connects two independent clauses (unless they are closely connected and short).
Context: ...t contribution to an Open Source project or you're a core maintainer of multiple pr...

(COMMA_COMPOUND_SENTENCE)


19-23: Link Text Consistency Recommendation
The section "## Read the developers guide" clearly directs users to the developer guide. For consistency, you might consider a possessive form (e.g., "Developer’s Guide") in the link text.

🧰 Tools
🪛 LanguageTool

[grammar] ~22-~22: The word “setup” is a noun. The verb is spelled with a white space.
Context: ...ng of the project structure, and how to setup your development environment. Read this...

(NOUN_VERB_CONFUSION)


30-32: Duplicate Link Notice in Discord Section
The bullet item for Discord chat repeats the link text (it appears twice). Consider simplifying this bullet point and rephrasing it, for example:

Discord chat: Chat with the community and receive quicker feedback.
This will improve clarity and remove redundancy.


45-63: Step-by-Step Instructions: Numbering Consistency & Minor Typo

  1. The steps in the "How to contribute" section are not sequentially numbered (e.g., 1, 2, 3, 6, 7, 9, etc.). Renumbering them can improve clarity.
  2. In step 10, the phrase "Option 1: Use the Deleoper environment" contains a typo ("Deleoper"). It should be "Developer environment".
🧰 Tools
🪛 LanguageTool

[misspelling] ~59-~59: Use “a” instead of ‘an’ if the following word doesn’t start with a vowel sound, e.g. ‘a sentence’, ‘a university’.
Context: ...`
9. Create a pull request: Create an draft pull request with the name of the...

(EN_A_VS_AN)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 32578c7 and 1c93cba.

📒 Files selected for processing (2)
  • pages/contributing.mdx (1 hunks)
  • pages/developer-guide.mdx (1 hunks)
🧰 Additional context used
🪛 LanguageTool
pages/contributing.mdx

[uncategorized] ~10-~10: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...f this is your first contribution to an Open Source project or you're a core maintainer of ...

(EN_COMPOUND_ADJECTIVE_INTERNAL)


[uncategorized] ~10-~10: Use a comma before ‘or’ if it connects two independent clauses (unless they are closely connected and short).
Context: ...t contribution to an Open Source project or you're a core maintainer of multiple pr...

(COMMA_COMPOUND_SENTENCE)


[grammar] ~22-~22: The word “setup” is a noun. The verb is spelled with a white space.
Context: ...ng of the project structure, and how to setup your development environment. Read this...

(NOUN_VERB_CONFUSION)


[uncategorized] ~27-~27: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...## Write code with others

This is an open source project, with an open and welcoming com...

(EN_COMPOUND_ADJECTIVE_INTERNAL)


[misspelling] ~59-~59: Use “a” instead of ‘an’ if the following word doesn’t start with a vowel sound, e.g. ‘a sentence’, ‘a university’.
Context: ...`
9. Create a pull request: Create an draft pull request with the name of the...

(EN_A_VS_AN)

🪛 GitHub Actions: Build static docs
pages/contributing.mdx

[error] 1-1: Build failed because of webpack errors: Module not found: Can't resolve '../../components/snippets/earlydoc.mdx'

🔇 Additional comments (2)
pages/developer-guide.mdx (1)

51-51: Relative Link Update Validated
The updated link to the contributors guide (./contributing) is correct and aligns with the new file added. Please verify that the relative path correctly resolves to pages/contributing.mdx in all build contexts.

pages/contributing.mdx (1)

1-3: YAML Metadata Looks Good
The metadata block correctly sets the title for the page. No issues here.

🧰 Tools
🪛 GitHub Actions: Build static docs

[error] 1-1: Build failed because of webpack errors: Module not found: Can't resolve '../../components/snippets/earlydoc.mdx'

title: Contributing
---

import EarlyDoc from "../../components/snippets/earlydoc.mdx";
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue

Module Import Issue: File Not Found
The import statement

import EarlyDoc from "../../components/snippets/earlydoc.mdx";

is causing a webpack error ("Module not found: Can't resolve '../../components/snippets/earlydoc.mdx'"). Please verify whether the file exists at the given path or update/remove this import if it is not needed.

@egelhaus egelhaus merged commit 7b889fa into main Apr 14, 2025
2 of 5 checks passed
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