Skip to content

Latest commit

 

History

History
143 lines (96 loc) · 3.67 KB

CONTRIBUTING.md

File metadata and controls

143 lines (96 loc) · 3.67 KB

Contributing to LazyDraft

Thank you for your interest in contributing to LazyDraft! Your help is highly appreciated, whether it's reporting issues, suggesting features, or submitting code improvements.

Table of Contents


Getting Started

To get started, make sure you have the following installed on your system:

Steps to Set Up the Project

  1. Fork the Repository:
    Click the "Fork" button at the top-right corner of the repository page.

  2. Clone Your Fork:
    Clone the repository to your local machine:

    git clone https://github.com/<your-username>/lazydraft.git
    cd lazydraft
  3. Create a New Branch:
    Create a feature or bugfix branch for your work:

    git checkout -b feature/your-feature-name
  4. Build the Project:
    Build and test the project to ensure everything is set up correctly:

    cargo build --release
    cargo test

Reporting Issues

If you find a bug or have a question, please open an issue on the GitHub Issues page. Make sure to include:

  • A clear description of the issue.
  • Steps to reproduce (if applicable).
  • Relevant logs, screenshots, or error messages.

Suggesting Features

We welcome feature suggestions! When suggesting a feature:

  • Check Existing Issues: Ensure the feature hasn’t already been requested.
  • Provide Details: Describe the feature, its purpose, and how it benefits users.

Submit feature requests via the GitHub Issues page.


Submitting Changes

Steps to Submit a Pull Request

  1. Make Your Changes:
    Develop your feature or bugfix on your branch. Ensure all tests pass:

    cargo test
  2. Commit Your Changes:
    Write a meaningful commit message:

    git add .
    git commit -m "Add detailed description of your change"
  3. Push Your Branch:
    Push your branch to your fork:

    git push origin feature/your-feature-name
  4. Open a Pull Request:
    Go to the main LazyDraft repository and click New Pull Request. Select your branch and describe your changes.


Code Guidelines

To maintain consistency and quality, please adhere to the following guidelines:

Coding Standards

Tests

  • Write tests for new features and bug fixes.
  • Run all tests before submitting:
    cargo test

Commit Messages

  • Use descriptive commit messages.
  • Example: Fix panic on invalid config file path or Add feature to export markdown files.

Need Help?

If you have questions about the contribution process or the project, feel free to:

Thank you for contributing to LazyDraft!