website/src/pages/community-guide.mdx
The number of Wails users is growing at an incredible rate, and if you're reading this, chances are you're ready to join. So... welcome!
This Code of Conduct is an easy guide to develop the technical communities in which we participate.
Wails is an open source, community driven project. We welcome anyone to join us in contributing to the project. This documentation is aimed at anyone wishing to get familiar with the project and the development processes.
There are many ways to contribute to the project:
Guides for these have been created in their own sections. Before getting started, please introduce yourself in the Contributing to Wails discussion.
We are always keen to add features to Wails and expand on what the project can do. The process for adding new features are as follows:
feature/<ticket_number>_<ticket_title>:::note There is nothing stopping you from opening a ticket and working on it yourself, but please be aware that all enhancement requests are reviewed for good fit. Not all ideas will be selected, so it's best to have discussion about the enhancement first. :::
:::warning Any PRs opened without a corresponding ticket may be rejected. :::
The process for fixing bugs are as follows:
wails doctorbugfix/<ticket_number>_<ticket_title>:::note There is nothing stopping you from opening a ticket and working on it yourself, but please be aware that all bugfixes should be discussed as the approach may have unintended side effects. :::
:::warning Any PRs opened without a corresponding ticket may be rejected. :::
Testing is vitally important to ensure quality in the project. There are a couple of scenarios where testing can really help the project:
If you chose to test if someone's bug report is reproducible on your local system, then
feel free to add a comment on the ticket confirming this with the output of wails doctor.
To test PRs, choose a PR to test and check if the PR description has the testing scenarios listed. If not, please ask the person who opened the PR to provide that list. Once you have determined a valid test scenario, please report your findings on the PR.
If you ever need more clarity or help on testing, please ask a question in the Contributing to Wails discussion or on slack.
This website is also the main documentation site for the project. Sometimes this gets out of date and needs some slight adjustments. Some of the documentation isn't written to the best standards either. Developing documentation is hard and so any contribution to this is greatly appreciated. Features without documentation are unfinished so to the project, it's as important as the code.
We generally do not create tickets for updating documentation so if there is text you
think should be updated or rephrased then feel free to submit a PR for that. This site
is in the main repository under the website directory. We use Docusaurus to create
the site so there is plenty of existing documentation and tutorials around to get started.
To set up a local documentation development environment, do the following:
cd websitenpm installnpm run startAfter it has all installed and is running, you should see the site at http://localhost:3000.
Any changes made to the site text will be immediately reflected in the browser.
We employ a versioning system where we have the "latest" documentation AKA "Next Version" which has all the changes that have occurred since the last release. We also keep the last release documentation as well as the version before that.
There isn't usually a reason to update released documentation so we don't generally update
the documents in the versioned_docs or versioned_sidebars directories.
The "next version" docs are mainly in website/docs with some "version independent" documents
in src/pages. Any updates should be made in the website/docs directory.
The default documents of the Wails project are English documents. We use the "crowdin" tool to translate documents in other languages and synchronize them to the website. You can join our project and submit your translations to make contributions.
If you want to add a new language to the documentation, please follow the prompts to fill in and submit an Issue. After being confirmed by the maintainer, we will add the language to the "crowdin" and you will then be able to submit your translation.
A great way to contribute to the project is to help others who are experiencing difficulty. This is normally reported as a ticket or a message on the Wails discord server. Even just clarifying the issue can really help out. Sometimes, when an issue is discussed and gets resolved, we create a guide out of it to help others who face the same issues.
To join the Wails discord server, click here.
:::note
Work In Progress
:::