This repository contains the InfluxDB 2.x documentation published at docs.influxdata.com.
We welcome and encourage community contributions. For information about contributing to the InfluxData documentation, see Contribution guidelines.
InfluxData takes security and our users' trust very seriously. If you believe you have found a security issue in any of our open source projects, please responsibly disclose it by contacting [email protected]. More details about security vulnerability reporting, including our GPG key, can be found at https://www.influxdata.com/how-to-report-security-vulnerabilities/.
-
Clone this repository to your local machine.
-
Install Hugo
The InfluxData documentation uses Hugo, a static site generator built in Go. The InfluxData documentation utilizes Hugo's asset pipeline and requires the extended version of Hugo. See the Hugo documentation for information about how to download and install Hugo.
Note: The most recent version of Hugo tested with this documentation is 0.81.0.
-
Install NodeJS, Yarn, & Asset Pipeline Tools
This project uses tools written in NodeJS to build and process stylesheets and javascript. To successfully build assets:
- Install NodeJS
- Install Yarn
- Run the following command to install the necessary tools:
sudo yarn global add [email protected] [email protected]
-
Start the Hugo server
Hugo provides a local development server that generates the HTML pages, builds the static assets, and serves them at
localhost:1313
.Start the Hugo server from the repository:
$ cd docs-v2/ $ hugo server
View the docs at localhost:1313.