svezfaz / storageos.github.io

Public documentation for StorageOS, persistent container storage

Home Page:https://docs.storageos.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

StorageOS Documentation

Content in this repository is available at https://docs.storageos.com

Development Environment

These instructions should work on Mac, Windows and Linux.

All steps are run from a terminal console.

You will need the following software installed:

If you would like to contribute and earn cash, read the Guide Bounty Program.

Staging the site locally (from scratch setup)

Make sure Docker is running (download and install from https://www.docker.com/products/overview).

The below commands to setup your environment for running GitHub pages locally. Then, any edits you make will be viewable on a lightweight webserver that runs on your local machine.

This will typically be the fastest way (by far) to iterate on docs changes and see them staged.

Fork the repository on github and clone it:

git clone https://github.com/fork/storageos.github.io.git

Run a local copy:

make serve

Your copy of the site will then be viewable at: http://localhost:4000 (or wherever Jekyll tells you).

You may edit the files while the server is running, and pages will update whenever they are saved.

Contributing

All contributions welcome, from major updates to typos. If you're unsure, jump into our Slack channel to discuss.

Please make sure to pull the latest changes from the original repo before committing your contribution.

When done, please submit a pull request from your fork's master branch to the storageos/storageos.github.io master branch.

Best Practices

"Say what you mean, simply and directly." - Brian Kernighan

Minimal Viable Documentation

From Google Documentation Best Practices:

A small set of fresh and accurate docs are better than a sprawling, loose assembly of "documentation" in various states of disrepair.

Write short and useful documents. Cut out everything unnecessary, while also making a habit of continually massaging and improving every doc to suit your changing needs. Docs work best when they are alive but frequently trimmed, like a bonsai tree.

Use a linter

On VS Code, install markdownlinter and follow recommendations where appropriate.

Avoid HTML in markdown

HTML should not be included in Markdown unless the team agrees there is appropriate need and no better alternative. Ask on the Slack channel for other suggestions or agreement to proceed before adding HTML.

Use link syntax to respect permalinks

Prefer:

[cluster install]({% link _docs/install/clusterinstall.md %})

Over:

[cluster install](../install/clusterinstall.html)

Use classes for images

Create a CSS class if you need non-default styling of an image.

Prefer:

[logo](/images/docs/iso/applicon.png)

Over:

<br> <img src="/images/docs/iso/appleicon.png" width="25">

About

Public documentation for StorageOS, persistent container storage

https://docs.storageos.com


Languages

Language:CSS 73.9%Language:HTML 19.5%Language:Ruby 6.3%Language:Makefile 0.3%