Skip to content

dagant/redislabs-docs

 
 

Repository files navigation

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

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.

About

Source files for Redis Labs Enterprise documentation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 51.4%
  • CSS 34.3%
  • HTML 11.8%
  • Shell 2.5%