-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Contributor guide and adjusted titles (#14447)
Co-authored-by: Thanhnguyet Vo <[email protected]>
- Loading branch information
Showing
12 changed files
with
267 additions
and
29 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
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,23 @@ | ||
.. _contributor_guide: | ||
|
||
======================= | ||
AWX Contributor's Guide | ||
======================= | ||
|
||
Want to get involved with the AWX community? | ||
Great! | ||
There are so many ways you can contribute to AWX. | ||
|
||
**Join us online** | ||
|
||
You can chat with us and ask questions on Matrix at `#awx:ansible.com <https://matrix.to/#/#awx:ansible.com>`_. | ||
Also visit the `forum.ansible.com <https://forum.ansible.com/>`_ to find contributor resources. | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
:numbered: | ||
|
||
intro | ||
setting_up | ||
work_items | ||
report_issues |
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,7 @@ | ||
|
||
Introduction | ||
============= | ||
|
||
Hi there! We're excited to have you as a contributor. | ||
|
||
Have questions about this document or anything not covered here? Come chat with us at `#ansible-awx` on irc.libera.chat, or submit your question to the `mailing list <https://groups.google.com/forum/#!forum/awx-project>`_. |
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,22 @@ | ||
|
||
.. _docs_report_issues: | ||
|
||
Reporting Issues | ||
================ | ||
|
||
To report issues you find in the AWX documentation, use the GitHub [issue tracker](https://github.com/ansible/awx/issues) for filing bugs. In order to save time, and help us respond to issues quickly, make sure to fill out as much of the issue template | ||
as possible. Version information, and an accurate reproducing scenario are critical to helping us identify the problem. | ||
|
||
Be sure to attach the ``component:docs`` label to your issue. These labels are determined by the template data. Please use the template and fill it out as accurately as possible. | ||
|
||
Please don't use the issue tracker as a way to ask how to do something. Instead, use the `mailing list <https://groups.google.com/forum/#!forum/awx-project>`_, and the ``#ansible-awx`` channel on irc.libera.chat to get help. | ||
|
||
Before opening a new issue, please use the issue search feature to see if what you're experiencing has already been reported. If you have any extra detail to provide, please comment. Otherwise, rather than posting a "me too" comment, please consider giving it a `"thumbs up" <https://github.com/blog/2119-add-reactions-to-pull-requests-issues-and-comment>`_ to give us an indication of the severity of the problem. | ||
|
||
See `How issues are resolved <https://github.com/ansible/awx/blob/devel/ISSUES.md#how-issues-are-resolved>`_ for more information about the triaging and resolution process. | ||
|
||
|
||
Getting help | ||
------------- | ||
|
||
If you require additional assistance, please reach out to us at ``#ansible-awx`` on irc.libera.chat, or submit your question or concern on the `mailing list <https://groups.google.com/forum/#!forum/awx-project>`_, or `Discourse <https://forum.ansible.com/tag/documentation>`_. |
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,76 @@ | ||
|
||
Setting up your development environment | ||
======================================== | ||
|
||
The AWX docs are developed using the Python toolchain. The content itself is authored in ReStructuredText (rst). | ||
|
||
Prerequisites | ||
--------------- | ||
|
||
.. contents:: | ||
:local: | ||
|
||
|
||
Fork and clone the AWX repo | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
If you have not done so already, you'll need to fork the AWX repo on GitHub. For more on how to do this, see `Fork a Repo <https://help.github.com/articles/fork-a-repo/>`_. | ||
|
||
|
||
Install python and setuptools | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
Install the setuptools package on Linux using pip: | ||
|
||
|
||
1. If not already installed, `download the latest version of Python3 <https://www.geeksforgeeks.org/how-to-download-and-install-python-latest-version-on-linux/>`_ on your machine. | ||
|
||
2. Check if pip3 and python3 are correctly installed in your system using the following command: | ||
|
||
:: | ||
|
||
python3 --version | ||
pip3 --version | ||
|
||
3. Upgrade pip3 to the latest version to prevent installation issues: | ||
|
||
:: | ||
|
||
pip3 install --upgrade pip | ||
|
||
4. Install Setuptools: | ||
|
||
:: | ||
|
||
pip3 install setuptools | ||
|
||
5. Verify whether the Setuptools has been properly installed: | ||
|
||
:: | ||
|
||
import setuptools | ||
|
||
If no errors are returned, then the package was installed properly. | ||
|
||
6. Install the tox package so you can build the docs locally: | ||
|
||
:: | ||
|
||
pip3 install tox | ||
|
||
|
||
|
||
Run local build of the docs | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
To build the docs on your local machine, use the tox utility. In your forked branch of your AWX repo, run: | ||
|
||
:: | ||
|
||
tox -e docs | ||
|
||
|
||
Access the AWX user interface | ||
------------------------------ | ||
|
||
To access an instance of the AWX interface, refer to `Build and run the development environment <https://github.com/ansible/awx/blob/devel/CONTRIBUTING.md#setting-up-your-development-environment>`_ for detail. Once you have your environment setup, you can access the AWX UI by logging into it at `https://localhost:8043 <https://localhost:8043>`_, and access the API directly at `https://localhost:8043/api/ <https://localhost:8043/api/>`_. |
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,46 @@ | ||
|
||
What should I work on? | ||
======================= | ||
|
||
Good first issue | ||
----------------- | ||
|
||
We have a `"good first issue" label` <https://github.com/ansible/awx/issues?q=is%3Aopen+label%3A%22good+first+issue%22+label%3Acomponent%3Adocs+) we put on some doc issues that might be a good starting point for new contributors with the following filter: | ||
|
||
:: | ||
|
||
is:open label:"good first issue" label:component:docs | ||
|
||
|
||
Fixing and updating the documentation are always appreciated, so reviewing the backlog of issues is always a good place to start. | ||
|
||
|
||
Things to know prior to submitting revisions | ||
---------------------------------------------- | ||
|
||
- All doc revisions or additions are done through pull requests against the ``devel`` branch. | ||
- You must use ``git commit --signoff`` for any commit to be merged, and agree that usage of ``--signoff`` constitutes agreement with the terms of `DCO 1.1 <https://github.com/ansible/awx/blob/devel/DCO_1_1.md>`_. | ||
- Take care to make sure no merge commits are in the submission, and use ``git rebase`` vs ``git merge`` for this reason. | ||
- If collaborating with someone else on the same branch, consider using ``--force-with-lease`` instead of ``--force``. This will prevent you from accidentally overwriting commits pushed by someone else. For more information, see `git push docs <https://git-scm.com/docs/git-push#git-push---force-with-leaseltrefnamegt>`_. | ||
- If submitting a large doc change, it's a good idea to join the ``#ansible-docs`` channel on irc.libera.chat or `Discourse <https://forum.ansible.com/tag/documentation>`_, and talk about what you would like to do or add first. This not only helps everyone know what's going on, it also helps save time and effort, if the community decides some changes are needed. | ||
- We ask all of our community members and contributors to adhere to the `Ansible code of conduct <http://docs.ansible.com/ansible/latest/community/code_of_conduct.html>`_. If you have questions, or need assistance, please reach out to our community team at `[email protected] <mailto:[email protected]>`_. | ||
|
||
|
||
**NOTES** | ||
|
||
> Issue assignment will only be done for maintainers of the project. If you decide to work on an issue, please feel free to add a comment in the issue to let others know that you are working on it; but know that we will accept the first pull request from whomever is able to fix an issue. Once your PR is accepted we can add you as an assignee to an issue upon request. | ||
|
||
|
||
> If you work in a part of the docs that is going through active development, your changes may be rejected, or you may be asked to `rebase`. A good idea before starting work is to have a discussion with us in the ``#ansible-awx`` channel on irc.libera.chat, or on the `mailing list <https://groups.google.com/forum/#!forum/awx-project>`_, or `Discourse <https://forum.ansible.com/tag/documentation>`_. | ||
|
||
> If you find an issue with the functions of the UI or API, please see the `Reporting Issues <https://github.com/ansible/awx/blob/devel/CONTRIBUTING.md#reporting-issues>`_ section to open an issue. | ||
|
||
> If you find an issue with the docs themselves, refer to :ref:`docs_report_issues`. | ||
|
||
|
||
Translations | ||
------------- | ||
|
||
At this time we do not accept PRs for adding additional language translations as we have an automated process for generating our translations. This is because translations require constant care as new strings are added and changed in the code base. Because of this the .po files are overwritten during every translation release cycle. We also can't support a lot of translations on AWX as its an open source project and each language adds time and cost to maintain. If you would like to see AWX translated into a new language please create an issue and ask others you know to upvote the issue. Our translation team will review the needs of the community and see what they can do around supporting additional language. | ||
|
||
If you find an issue with an existing translation, please see the `Reporting Issues <https://github.com/ansible/awx/blob/devel/CONTRIBUTING.md#reporting-issues>`_ section to open an issue and our translation team will work with you on a resolution. |
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
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