This repository contains the documentation for YugaByte DB available at https://docs.yugabyte.com/
Please open an issue to suggest enhancements.
YugaByte DB docs are based on the Hugo framework and use the Material Docs theme.
- Hugo framework: http://gohugo.io/overview/introduction/
- Material Docs theme: http://themes.gohugo.io/material-docs/
-
Fork this repository on GitHub and create a local clone of your fork.
-
Install Hugo. For example, on a Mac, you can run the following commands:
brew update
brew install hugo
brew install npm
- Copy the config.yaml.sample to config.yaml.
cp config.yaml.sample config.yaml
- Start the local webserver on
127.0.0.1
interface by running the following:
npm start
To start the webserver on some other IP address (in case you want to share the URL of your local docs with someone else), do the following:
YB_HUGO_BASE=<YOUR_IP_OR_HOSTNAME> npm start
You can now share the following link: http://<YOUR_IP_OR_HOSTNAME>:1313