1
0
mirror of https://github.com/gluster/glusterdocs.git synced 2026-02-05 15:47:01 +01:00
N Balachandran 7c5f3bfe2a glusterdocs: "Getting Started" and "Tools"
Signed-off-by: N Balachandran <nbalacha@redhat.com>
2017-06-28 21:59:19 +05:30
2017-05-09 11:43:21 -05:00
2017-06-01 11:15:13 -04:00
2017-04-29 17:59:24 -05:00
2017-05-09 11:43:21 -05:00
2017-04-29 17:59:24 -05:00
2017-04-17 17:05:10 -05:00

glusterdocs

Source code to gluster documentation: http://gluster.readthedocs.io

Building the docs

If you are on EPEL 7 or Fedora, the first thing you will need is to install mkdocs, with the following command :

#sudo yum install mkdocs

For Fedora 23+ (run the following in root)

#dnf install python-pip
#pip install mkdocs

Then you need to run mkdocs from the root of that repository:

$ mkdocs build

The result will be in the site/ subdirectory, in HTML.

** Advanced topic: changing the TOC. The TOC is mkdocs.yml, NOT index.md is the base directory. **

Writing the docs

This documentation set uses the Commonmark markdown set. You can read more about Commonmark here: Commonmark Specification

For examples of topics, see the 'Templates' subdirectory in this folder. Each topic type has a markdown template that you can copy and complete for a topic that is formatted like others in the documentation.

Minimum viable style guide

  • Topic titles have an -ing (gerund) construction, such as "Configuring the pool" and "Adding users".
  • Every topic must have a brief explanation of why a user would read the topic or complete the procedure.
  • Note: useful thing to know without bad consequences.
  • Warning: only use for personal injury or death.
  • Caution: something in this topic could cause loss of data or damage to equipment.
  • Before a set of steps, have a heading that says "To thing the thing".
  • Sequential steps are always numbered. Only use bulleted lists if the order doesn't matter.
  • Every procedure should end with an updated status or test so that the user knows they completed the steps correctly.
  • When in doubt about how to format information, add it to the "docdrafts" file and notify someone.

Full RedHat Style Guide

Description
This repo contains the source of official Gluster documentation rendered at https://docs.gluster.org
Readme MIT 110 MiB
Languages
HTML 92.1%
Makefile 4.3%
Dockerfile 3.6%