osbornm / PublicKB

Help Docs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CenturyLink Cloud Knowledge Base

Welcome to the CenturyLink Cloud knowledge base repository. This is the source of information on all of our products and services available today. Please follow the guidelines below to contribute or make changes.

If you are new to Git and Github, we highly recommend spending 5 minutes reading this great article on Understanding the Github Flow. This repo follows the Github Flow.

##Overview

The repository is organized by category, and each folder represents a category. Within each category folder are markdown (.md) files that represent an individual knowledge base article.

The top of each .md file contains metadata about the knowledge base article itself. It is used to list things such as author, date created, modified, keywords, title, etc. It looks like this:

{{{
  "title": "ARTICLE TITLE",
  "date": "01-15-2015",
  "author": "Author Name",
  "attachments": [],
  "related-products" : [],
  "contentIsHTML": false
}}}

contentIsHTML Generally this should be set to false. Only when a document is written entirely in HTML syntax should this be set to true.

##How to Make Additions or Changes

  1. Fork the https://github.com/CenturyLinkCloud/PublicKB repository. This will produce a personal copy of this repo.

  2. Then Clone the repo to your desktop.

  3. Anything in the master branch is always deployable. Create a new branch from master. Your branch name should be descriptive (e.g., january-release-notes, anti-affinity-policy-faq) so that others have an idea of what the branch is for.

  4. Once your branch has been created, make your changes (add, edit, delete) your knowledge base article in your favorite Markdown editor (we like Atom).

Links (KB article to KB article)

Links to articles should follow this format:

```
[Link Text](../category/kb-article-name.md)
```

so like this (folder names are case-sensitive):

```
[Packages Best Practices](../Blueprints/packages-best-practices.md)
[Using SAML for Single-Sign-On](../Control Portal/using-saml-for-single-sign-on-to-the-centurylink-platform-control-portal.md )
```

Images

When adding an image to an article, place the image file in the images/ directory in the root of this repo. In the article itself, set the image source path like so:

```
../images/[image file]
```

Attachments

When adding an attachment to an article, place the file in the 'attachments/' directory at the root of this repo. In the article itself, add the file information to the front-matter data at the top of the article like so:

```
"attachments": [
  {
    "file_name": "Attached File",
    "url": "../attachments/Balancing Agility Cost and Control.pdf",
    "type": "application/pdf"
  }
]
```

"file_name" will be the human readable output of the file which will appear on the page

"url" needs to be set exactly like the above example, like so:

```
../attachments/[file name]
```

"type" is simply the MIME type of the file and is used to check which sort of icon to present on the front end.

  1. Commit your change(s) locally to your branch.

  2. Push or sync your commit(s) to the remote repository on Github.

  3. Create a pull request to merge your changes into the master branch.

  1. CenturyLink Cloud Platform Team reviews your pull request. If accepted, it will be added to the Knowledge Base on CenturyLinkCloud.com.

About

Help Docs

License:Apache License 2.0