The Cloudify Documentation Center is built with Hugo and is based on the DocDock theme.
You can is available in the Cloudify Documentation Center.
The Cloudify Documentation Center is built with Hugo and is based on the DocDock theme.
To run the Cloudify Documentation Center locally:
-
Install the latest Hugo:
-
On CentOS:
- Install the copr plugin for yum:
sudo yum install yum-plugin-copr
- Enable the Hugo repository:
sudo yum copr enable daftaupe/hugo
- Install Hugo:
sudo yum install hugo
- Install the copr plugin for yum:
-
On Ubuntu:
- Install Hugo:
sudo apt-get install hugo
- Install Hugo:
-
On Windows:
- Install chocolatey.
- Install Hugo:
choco install hugo -confirm
-
On MacOS:
- Install homebrew
- Install Hugo:
brew install hugo
-
-
Verify that Hugo is installed:
hugo version
-
Clone this repository to your local host.
-
Change directory to the docs.getcloudify.org directory.
-
Start the hugo web server:
hugo server
To access the site, go to: http://localhost:1313
Version branches, for example 4.3.0-build, are automatically built to https://docs.cloudify.co.
When you commit a change to any other branch, the site is built to the staging directory so you can preview and share your changes before publishing them in the official public documentation.
Your staging website is available at: https://docs.cloudify.co/staging/<branch_name>
Don't worry about cluttering - staging websites are automatically removed after 21 days.
Official version documentation is published through the version build branches (for example 4.3.0-build).
The master branch is published to https://docs.cloudify.co/staging/dev and represents the latest documentation for the latest publicly available release. This branch is published to the latest official version site once a day.
The next branch is published to https://docs.cloudify.co/staging/next and represents the latest documentation for the upcoming release. This branch is published to the community documentation site https://docs.cloudify.co/community each time a community milestone is released.
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.
To create a link that will always direct to the latest version of the docs use 'latest/' syntax:
[Latest home page](http://docs.cloudify.co/latest)
Goes to: http://docs.cloudify.co/<latest_version_number>
For example: Latest home page
For more information about markdown syntax, see the cheatsheet.