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

Setting up docs #211

Draft
wants to merge 15 commits into
base: main
Choose a base branch
from
6 changes: 6 additions & 0 deletions docs/contributor-guide/changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# History of changes and updates
Date :
<ul>
<li>Update 1
<li>Update 2
<ul/>
86 changes: 86 additions & 0 deletions docs/contributor-guide/contributing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
# Contributing to MarkItDown

Welcome! We're pleased that you're considering contributing to this project. Whether you're fixing a typo, reporting a bug, suggesting a feature, or writing code, your contributions are highly valued and appreciated.

## Steps to Contribute

Follow these steps to get started:

1. **Fork the Repository**
Create a copy of the repository by forking it on GitHub.

2. **Create a Branch**
Make a branch for your feature or bug fix. Use a meaningful name like `feature/add-login` or `fix/typo-readme`.

3. **Write Your Code**
Add your changes, write tests if necessary, and ensure your code is clean and well-documented.

4. **Run Tests and Pre-Commit Checks**
Before submitting, please make sure your code passes all tests and follows the code formatting guidelines (see the [Running Tests and Checks](#running-tests-and-checks) section).

5. **Submit a Pull Request (PR)**
Open a pull request to share your changes with us. Reviewers will help you improve it.

## Contributor License Agreement (CLA)
Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

- When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment).
- Follow the instructions provided by the bot.
- You will only need to do this once across all repos using our CLA.

## Code of Conduct

We have adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). By participating in this project, you agree to uphold these standards.

- **For FAQs or more information:** Visit the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq).
- **For questions or concerns:** Contact [[email protected]](mailto:[email protected]).

## Getting Started

Ready to contribute? Start here:

### Issues and PRs
You can help by looking at issues or helping review PRs. Any issue or PR is welcome, but we have also marked some as 'open for contribution' and 'open for reviewing' to help facilitate community contributions. These are of course just suggestions and you are welcome to contribute in any way you like.

<div align="center">

| | All | Especially Needs Help from Community |
|-----------------------|------------------------------------------|------------------------------------------------------------------------------------------|
| **Issues** | [All Issues](https://github.com/microsoft/markitdown/issues) | [Issues open for contribution](https://github.com/microsoft/markitdown/issues?q=is%3Aissue+is%3Aopen+label%3A%22open+for+contribution%22) |
| **PRs** | [All PRs](https://github.com/microsoft/markitdown/pulls) | [PRs open for reviewing](https://github.com/microsoft/markitdown/pulls?q=is%3Apr+is%3Aopen+label%3A%22open+for+reviewing%22) |

</div>

## Running Tests and Checks

- Install `hatch` in your environment and run tests:
```sh
pip install hatch # Other ways of installing hatch: https://hatch.pypa.io/dev/install/
hatch shell
hatch test
```

(Alternative) Use the Devcontainer which has all the dependencies installed:
```sh
# Reopen the project in Devcontainer and run:
hatch test
```

- Run pre-commit checks before submitting a PR: `pre-commit run --all-files`

##### Pre-Commit Checks

Before submitting your pull request, run these checks to ensure code quality:
```sh
pre-commit run --all-files
```

## Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft
trademarks or logos is subject to and must follow
[Microsoft's Trademark & Brand Guidelines](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general).
Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship.
Any use of third-party trademarks or logos are subject to those third-party's policies.

Thank you for helping make this project better!
1 change: 1 addition & 0 deletions docs/user-guide/FAQ.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions docs/user-guide/configuration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions docs/user-guide/usage.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@