Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Migrate docs to docusaurus (#21)
- Loading branch information
1 parent
f57e7b8
commit 123885a
Showing
127 changed files
with
11,111 additions
and
199 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,24 @@ | ||
# Dependencies | ||
/node_modules | ||
|
||
# Production | ||
/build | ||
|
||
# Generated files | ||
.docusaurus | ||
.cache-loader | ||
|
||
# Misc | ||
.DS_Store | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
node_modules | ||
|
||
src/css/fonts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,29 @@ | ||
## Chatwoot Docs | ||
## Chatwoot Handbook | ||
|
||
This repository contains the documentation for self-hosted installations, features in the product and a complete guide on how we run the organization. | ||
|
||
This is the repository for the Chatwoot documentation and handbook. | ||
---- | ||
|
||
___ | ||
## Installation | ||
|
||
Please feel free to suggest any changes. See our [contributing guide](https://www.chatwoot.com/docs/contributing-guide) and [code of conduct](https://www.chatwoot.com/docs/code-of-conduct) to get started. | ||
```console | ||
yarn install | ||
``` | ||
|
||
## Local Development | ||
|
||
```console | ||
yarn start | ||
``` | ||
|
||
This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server. | ||
|
||
## Build | ||
|
||
```console | ||
yarn build | ||
``` | ||
|
||
This command generates static content into the `build` directory and can be served using any static contents hosting service. | ||
|
||
Please feel free to suggest any changes. See our [contributing guide](https://www.chatwoot.com/docs/contributing-guide) to get started. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module.exports = { | ||
presets: [require.resolve('@docusaurus/core/lib/babel/preset')], | ||
}; |
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
--- | ||
title: "Contributing Guide" | ||
sidebar_label: "Introduction" | ||
--- | ||
|
||
This guide will help you get started with Chatwoot! Thank you for taking an interest in contributing to Chatwoot. Before submitting your contribution, please make sure to take a moment and read through the following guidelines: | ||
|
||
### Pull Request Guidelines | ||
|
||
- Please make sure that you have read the [issue triage guidelines](/docs/handbook/engineering/issue-triage) before you make a contribution. | ||
- We use [git-flow](https://nvie.com/posts/a-successful-git-branching-model/) branching model. The base branch is `develop` | ||
- Please raise your PRs against `develop` branch | ||
- It's okay and encouraged to have multiple small commits as you work on the PR - we will squash the commits before merging. | ||
- For other guidelines, please refer to [PR Guidelines](/docs/handbook/engineering/pr-guidelines) | ||
|
||
|
||
### Getting Started | ||
|
||
- Before starting your work, ensure an [issue](https://github.com/chatwoot/chatwoot/issues) exist for it. If not feel free to create one. | ||
- Add a comment on the issue and wait for the issue to be assigned before you start working on it. | ||
- This helps to avoid multiple people working on similar issues. | ||
- If the solution is complex, propose the solution on the issue and wait for one of the core contributors to approve before going into the implementation. | ||
- This helps in shorter turn around times in merging PRs | ||
- For new feature requests, Provide a convincing reason to add this feature. Real-life business use-cases will be super helpful. | ||
- Feel free to join our [discord community](https://discord.gg/cJXdrwS), if you need further discussions with the core team. | ||
|
||
### Developing a new feature: | ||
|
||
- Please create the branch in the format `feature/<issue-id>-<issue-name>` (eg: `feature/235-contact-panel`) | ||
- Add accompanying test cases. | ||
|
||
### Bug fixes or chores: | ||
- If you are resolving a particular issue, add `fix: Fixes xxxx` (#xxxx is the issue) in your PR title. | ||
- Provide a detailed description of the bug in the PR. | ||
- Add appropriate test coverage if applicable. | ||
|
||
### Environment Setup for local development | ||
|
||
These guides will help you to setup the environment required for Chatwoot. Follow the guide based on the operating system you use. | ||
|
||
* [Mac](/docs/contributing-guide/environment-setup/mac-os) | ||
* [Ubuntu](/docs/contributing-guide/environment-setup/ubuntu) | ||
* [Windows](/docs/contributing-guide/environment-setup/windows) | ||
* [Docker](/docs/contributing-guide/environment-setup/docker) | ||
|
||
### Project Setup | ||
|
||
Now, that you have completed the environment as mentioned above, use the following guides to setup Chatwoot on your local machine. | ||
|
||
* [Quick Setup](/docs/contributing-guide/project-setup) | ||
* [Environment Variables](/docs/contributing-guide/environment-variables) | ||
* [Common Errors](/docs/contributing-guide/common-errors) | ||
|
||
|
||
### Others | ||
|
||
* [Code of conduct](/docs/contributing-guide/code-of-conduct) | ||
* [Translation guidelines](/docs/contributing-guide/translation-guidelines) | ||
* [Contributors](/docs/contributing-guide/contributors) |
2 changes: 1 addition & 1 deletion
2
CODE_OF_CONDUCT.md → docs/contributing-guide/code-of-conduct.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
--- | ||
path: "/docs/contributors" | ||
title: "Contributors" | ||
--- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes
2 changes: 1 addition & 1 deletion
2
development/environment-setup/mac-os.md → ...ibuting-guide/environment-setup/mac-os.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
path: "/docs/installation-guide-mac-os" | ||
sidebar_label: "Mac OS" | ||
title: "Mac OS installation guide" | ||
--- | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
development/environment-setup/ubuntu.md → ...ibuting-guide/environment-setup/ubuntu.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
path: "/docs/installation-guide-ubuntu" | ||
sidebar_label: "Ubuntu" | ||
title: "Ubuntu installation guide" | ||
--- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
title: 'Environment variables' | ||
--- | ||
|
||
For a complete set of production environment variables, please refer to [Production Environment Variables Guide](/docs/self-hosted/configuration/environment-variables) | ||
|
||
In addition to the above variables, you can use the following variables in development mode. | ||
|
||
### Use letter opener instead of mailhog/SMTP | ||
|
||
Set the following variable to open emails in letter opener instead of SMTP | ||
|
||
``` | ||
LETTER_OPENER=true | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.