The documentation of the Payment Manager OSS product is open source and you can contribute in one of the following ways:
- submit an issue to request the fixing of a documentation bug (for example, a typo)
- fix a bug yourself and submit a pull request (PR)
- write content that describes a new component or functionality and submit a PR
Payment Manager OSS documents are written in AsciiDoc and the documentation site itself is built using a static site generator called Antora. Basic familiarity with these tools is a prerequisite to contributing. If you have worked with Markdown and a static site generator before, it should be fairly easy to acquire the required skills.
AsciiDoc and Antora self-study resources are available here:
Given that the documents are stored in GitHub, some familiarity with Git versioning and GitHub is also recommended.
Git and GitHub self-study resources are available here:
Before you start, ensure you have the following in place:
- You have a GitHub account.
- You have installed Git.
- You have installed Antora. For detailed instructions, see How to install and use Antora site generator with PDF Exporter. Installing Antora is required so you can build the document locally to check if you are happy with your changes before submitting a PR.
- You have installed an AsciiDoc editor. For suggestions, see: https://docs.asciidoctor.org/asciidoctor/latest/tooling/
In the case of small editorial fixes (for example, to correct a typo), you have the option to report the documentation bug by raising an issue directly in the pm4ml/documents GitHub repo.
For detailed instructions on how to submit an issue against a repository, see the following GitHub documentation: https://docs.github.com/en/issues/tracking-your-work-with-issues/creating-an-issue#creating-an-issue-from-a-repository
On submitting the issue, the documentation team is notified. As soon as we fix and close the issue, you will get an email notification from GitHub to the email address you provided when creating your GitHub account.
If you choose to create/update content yourself, then the process at a high level is as follows:
- Clone the pm4ml/documents GitHub repo.
- Create your branch. The default branch (
master
) is protected so we are asking that you create your own branch. - Create/update content.
- Build doc site locally to check if all is OK.
- Submit your changes to your branch via a pull request. Request a review from vandaillyes-modusbox.
- Wait until your PR is reviewed.
- Once your PR has been approved, merge your content to the
master
branch.