Giter VIP home page Giter VIP logo

redislabs-docs's Introduction

The master branch => CircleCI

Redis Labs Documentation Center

The Redis Labs Documentation Center is built with Hugo and is based on the DocDock theme.

Installing the Redis Labs Documentation Center

To run the Redis Labs Documentation Center locally:

  1. Install the latest Hugo:

    • On CentOS:

      1. Install the copr plugin for yum: sudo yum install yum-plugin-copr
      2. Enable the Hugo repository: sudo yum copr enable daftaupe/hugo
      3. Install Hugo: sudo yum install hugo
    • On Ubuntu:

      • Install Hugo: sudo apt-get install hugo
    • On Windows:

      1. Install chocolatey.
      2. Install Hugo: choco install hugo -confirm
    • On MacOS:

      1. Install homebrew
      2. Install Hugo: brew install hugo
  2. Verify that Hugo is installed: hugo version

  3. Clone this repository to your local host.

  4. Change directory to the redislabs-docs directory.

  5. Start the hugo web server: hugo server

To access the site, go to: http://localhost:1313

Publishing

Official version documentation is published through the version build branches (for example latest-build).

The master branch is published to https://docs.redislabs.com/staging/dev and represents the unstable version of documentation for the latest publicly available release. When stable, this branch is published to the latest branch.

The latest branch is the latest stable version of documentation for the latest publicly available release at: https://docs.redislabs.com/latest

Contributing to the documentation

Whether you see a typo or you want to suggest a change to the technical content, we encourage you to fork this repository and submit a pull request.

The "Edit on GitHub" link that is in the upper-left corner of every page opens the source file of that page so you can easily submit a change.

Content organization

Articles are organized in directories that present the articles in a heirarchy in the site sidebar. When you add a file to a directory, it is automatically listed in that section in the sidebar.

The metadata (front matter) of a page is used to:

  • Order the articles in a section by the 'weight' parameter (Remember, lower weight = higher priority
  • Mark articles as draft: true so that they are not published

To add a new section in the sidebar, you must add a directory and add an _index.md file in that directory. The content of the _index.md file is shown when you click on the category in the sidebar, and the weight of the _index.md file determines the order in which the category is listed in the sidebar.

Markdown

For more information about markdown syntax for our docs, see the cheatsheet.

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.