Skip to content

Latest commit

 

History

History
85 lines (75 loc) · 2.64 KB

CONTRIBUTING.adoc

File metadata and controls

85 lines (75 loc) · 2.64 KB

Contributors Guide

Improvements to Tackle documentation are welcome.

Read the [Guidelines for Red Hat Documentation](https://redhat-documentation.github.io/) before opening a pull request.

Use the following steps to create a pull request for the Tackle documentation repository.

  1. Fork the tackle-documentation GitHub repository.

    Click the Fork button in the top right corner of the page.

  2. Clone the forked repository locally.

    $ git clone [email protected]:YOUR_USERNAME/tackle-documentation.git
  3. Add the upstream repository.

    git remote add -f upstream [email protected]:tackle-documentation.git
  4. Get the latest changes.

    $ git fetch upstream
  5. Check out a topic branch.

    $ git checkout -b BRANCH_NAME upstream/main
  6. Make the desired edits.

    The documentation is written in AsciiDoc. Review the AsciiDoc Guidelines and Tips section of this guide before making changes.

  7. Build the guides to verify your changes.

    1. Navigate to the appropriate guide’s directory and issue the following command. Note that you must have Asciidoctor installed.

      $ cd documentation/<document>
      $ asciidoctor -t -dbook -a toc -o html master.adoc
    2. View the generated HTML file in a browser.

  8. Add each new or updated file to git.

    $ git add FILE_NAME.adoc
  9. Commit the changes locally.

    $ git commit -m "My commit message."
  10. Push the changes to your forked repository.

    $ git push origin HEAD
  11. Open a pull request to merge your changes to the master branch.

    1. Navigate to your forked repository in a browser: https://github.com/YOUR_USERNAME/konveyor/tackle-documentation.

    2. Open a new pull request. Be sure to review the diff before submitting.

    3. A member of the Tackle documentation team will merge or provide feedback on your request.

Building the Guides

Navigate to the appropriate guide’s directory and issue the following command. Note that you must have Asciidoctor installed.

$ cd documentation/<document>
$ asciidoctor -t -dbook -a toc -o html master.adoc

View the generated HTML file in a browser.

Publishing the Guides

The Tackle guides are published downstream on the Red Hat Customer Portal.