Git Product home page Git Product logo

red-hat-ansible-automation-platform-documentation's Introduction

Red Hat Ansible Automation Platform Documentation

Contributing

We welcome contributions to the Red Hat Ansible Automation Platform documentation. You can either open an issue for discussion, or submit an update using the steps below. This section describes the workflow and provides resources for Red Hat style and documentation architecture conventions.

Authoring modularly structured documentation

Documentation follows a modular-based content model, providing a structure for writing and presenting user-story-based documentation. User-story-based documentation attempts to address the reader’s needs more than focusing on feature-based documentation. This is accomplished using a set of templates for concepts, references, procedures and assemblies. Templates can be found here.

Repository Organization

.
|
├── common
├── downstream
│   ├── assemblies
│   │   ├── platform-component1
│   │   └── platform-component2
│   │        ├── assembly-title-1.adoc
│   │        ├── assembly-title-2.adoc
│   │        └── modules -> ../modules/
│   ├── attributes
│   ├── images
│   │   ├── image-1.png
│   │   └── image-2.png
│   ├── modules
│   │   ├── platform-component1
│   │   └── platform-component2
│   │       ├── module-title-1.adoc
│   │       └── module-title-2.adoc
|   ├── titles
│   │   ├── platform-component1
│   │   └── platform-component2
│   │        ├── title-1.adoc
│   │        ├── title-2.adoc
│   │        └── modules -> ../modules/
├── release-notes
└── README.adoc

Top-level directories are:

  • common: Contains modules and attributes that are shared across Red Hat Ansible Automation branches. You should modify content in the common folder on the main branch only.

  • downstream: Contains Red Hat Ansible Automation Platform modules, assemblies, and titles in these sub-folders:

    • attributes: A common directory for attribute files.

    • assemblies: A directory for all assemblies, each in its own AsciiDoc file. Assemblies are collections of modules linked together. Platform assemblies are grouped by component.

    • images: A directory for all images and other digital content.

    • modules: A directory for all modules, each one in its own AsciiDoc file. Platform modules are grouped by component.

    • titles: A directory for titles (information units, e.g, install guide, user guide). Contains master.adoc files that and symbolic links to the assemblies and modules directories. Platform titles are grouped by component or feature.

  • release-notes: Contains release note content.

Red Hat Documentation Asciidoc Mark-up Conventions

Red Hat Ansible Automation Platform documentation is written in Asciidoc. See Red Hat Documentation Asciidoc Mark-up Conventions to learn more about implementing Asciidoc in your writing.

Red Hat product documentation style conventions

The Red Hat Customer Content Services team uses the Red Hat supplementary style guide for product documentation and The IBM Style Guide as its primary sources for technical writing conventions and style guidelines. Refer first to the Red Hat supplementary style guide for product documentation for style guidance and conventions. If a topic is not included there, it means we follow the convention as established in the IBM Style Guide.

Submitting an update

These instructions show how to submit an update using the command line. You may also use the GitHub web interface for the update. Whichever method you choose, the update should be submitted as a pull request.

Before you begin:

The first time you contribute:

  1. Fork the repository.

    From the main page of the link:https://github.com/RedHatInsights/red-hat-ansible-automation-platform-documentation[GitHub repository], click **Fork** in the upper right corner.
  2. Clone the forked repository locally.

$ git clone [email protected]:<username>/red-hat-ansible-automation-platform-documentation.git
If this command fails, be sure that you have link:https://docs.github.com/en/github/authenticating-to-github/adding-a-new-ssh-key-to-your-github-account[set up an SSH key for GitHub].
  1. Navigate to the red-hat-ansible-automation-platform-documentation directory.

  2. Set the upstream remote repository.

    -----
    $ git remote add -f upstream [email protected]:RedHatInsights/red-hat-ansible-automation-platform-documentation.git
    -----

To submit an update:

  1. Fetch the latest changes.

    -----
    $ git fetch upstream
    -----
  2. Check out a branch from upstream/master

$ git checkout -b <new-branch> upstream/master
  1. Make your edits.

    Add or edit files as needed.
  2. Stage the changes for each file.

 $ git add <file-name>
  1. Commit the changes.

    -----
      $ git commit -m "<descriptive-commit-message>"
    -----
  2. Push the changes to your forked repository.

$ git push origin HEAD
  1. Open a pull request.

    Typically the previous command gives the URL to open a pull request. If not, you can open one from the link:https://github.com/RedHatInsights/red-hat-ansible-automation-platform-documentation/pulls[Pull requests] tab of the GitHub UI.

After you submit a pull request, it will be reviewed by members of this project.

Building the guide

You must have asciidoctor installed. See the Asciibinder documentation for more information on installing Asciibinder.

  1. Navigate to the red-hat-ansible-automation-platform-documentation directory.

  2. Use the following command to build the guide:

$ asciidoctor master.adoc

This generates a master.html file that you can now view in a browser.

Contacts

For questions or comments about Red Hat Ansible Automation Platform Documentation documentation, please contact:

red-hat-ansible-automation-platform-documentation's People

Contributors

ariordan-redhat avatar cbudz avatar dcdacosta avatar fdstrand avatar gmcculloug avatar ianf77 avatar jself-sudoku avatar lmalivert avatar neal-timpe avatar oranod avatar rogrange avatar samccann avatar samdoran avatar tarikfd avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.