Giter VIP home page Giter VIP logo

docs's Introduction

Kabanero.io Documentation

This repository holds the documentation for the kabanero-io site. These docs are dynamically pulled in during the Kabanero-website build process.

How to contribute to the documentation

Before You Start

  • Click the fork button to create your fork of the docs repo. Make changes on your fork then open a pull request against kabanero-io/docs:master when you're ready for the changes to be reviewed and merged.

Doc format

You have 2 options when creating docs: Markdown and AsciiDoc.

Doc Front Matter

You need the proper front matter on each doc to get it categorized correctly. The title and the doc-category are the only one you should change for your doc.

  • For Markdown, use a YAML front matter
    ---
    layout: general-reference
    doc-category: Configuration
    title: Connecting Kabanero to GitHub with Tekton Webhooks
    ---
    
  • For AsciiDoc, use page- AsciiDoc attributes in place.
    :page-layout: general-reference
    :page-doc-category: Configuration
    :page-title: Connecting Kabanero to GitHub with Tekton Webhooks
    :linkattrs:
    :sectanchors:
    

Doc Categories

We currently have 3 categories you can use for the doc-category front matter

  • Installation
  • Reference
  • Configuration

If you need a new category feel free to open an issue or discussion in a pull request about the new category.

Doc category Order in table of contents

The doc-categories.adoc file configures the order that the doc categories will show up on our table of contents for the website. Currently the order is

  1. Installation
  2. Configuration
  3. Reference

This file should only be updated if a new category is added.

  • If a new category is added you must place your category in the page-categories in order you want it to show up on the site.

Doc Syntax

Create an a Markdown/AsciiDoc file that contains the documentation in a presentable format. For help on syntax you can view these references.

Do Not Publish Doc Yet

If you want to get a doc ready ahead of time, but do not want it published to the site you can still contribute the doc, but be sure to include the published: false front matter. When you are ready to the doc to be published you can remove the published front matter variable.

  • For Markdown use published: false
  • For AsciiDoc use :page-published: false

Add Images

To add an image to your AsciiDoc put the image in the img directory. You can reference this image in your AsciiDoc by using the path to the img directory. For example, if you added my_image.png to the img directory you can use that image with the following AsciiDoc syntax: image::/docs/img/my_image.png[My image alt text]. The image will not show for the GitHub preview, but it will be linked on the website when its deployed.

Doc Location

In this repository you shoud place the doc under the folder that best describes the documentation category. These folders located in the ref directory

docs's People

Contributors

alohr51 avatar ksee04 avatar dmuelle avatar jhschube avatar jantley-ibm avatar stephenkinder avatar dacleyra avatar ralanlittle avatar kaczyns avatar bschrammibm avatar tseelbach avatar mezarin avatar nateziemann avatar jagraj avatar kidus60 avatar davco01a avatar nastacio avatar j-c-berger 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.