Go to file
Jason Stirnaman f13e34de6d
Install dependencies as project dependencies from NPM repo (#2476)
* Added hugo-extended, postcss, postcss-cli, and autoprefixer as devDependencies. Run npm install or yarn install. (#2474)

* Replaced global hugo and yarn installs with project-level yarn install.

* Replaced npm package.lock with yarn.lock (#2474).

* enhancement: update README with instructions for installing NODE.JS dependencies. (#2474)

* updated api doc generator script to use npx

* Update README.md

Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>

* Update README.md

Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>

* Update README.md

Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>

* Update README.md

Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>

* Update README.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Update package.json

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* fix: indentation. (#2476)

* update: Added separate dependencies list for api-docs.
- Moved redoc-cli to a separate package.json in api-docs. Excluded
api-docs/node_modules from generate-api-docs.sh.
- Updated redoc-cli argument sequence to agree with their docs.
- Updated READMEs.
- Fixed typos.

* update: add api-docs > yarn install to .circleci

* Added language and consistency to code block. Specify where to run the command.

Co-authored-by: Scott Anderson <scott@influxdata.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2021-05-24 12:11:01 -05:00
.circleci Install dependencies as project dependencies from NPM repo (#2476) 2021-05-24 12:11:01 -05:00
.github Add new Github issue templates (#2195) 2021-02-19 13:34:24 -07:00
api-docs Install dependencies as project dependencies from NPM repo (#2476) 2021-05-24 12:11:01 -05:00
assets Flux 0.115 (#2517) 2021-05-11 16:07:41 -06:00
content telegraf 1.18.3 changelog (#2575) 2021-05-24 09:58:26 -07:00
data Latest patch shortcode (#2561) 2021-05-18 15:21:34 -06:00
deploy hot fix -- update telegraf version 2021-03-18 08:21:51 -07:00
layouts Added Coveo search meta data (#2576) 2021-05-21 14:17:01 -06:00
static Rename GS and add new Cloud GS (addresses #2124) (#2413) 2021-05-12 13:24:33 -07:00
.gitignore 2.0 GA and separate Cloud from OSS (#1805) 2020-11-11 09:52:14 -07:00
.s3deploy.yml added font file extensions to s3deploy caching config 2019-01-19 08:30:43 -07:00
CONTRIBUTING.md Latest patch shortcode (#2561) 2021-05-18 15:21:34 -06:00
LICENSE added license and issue template, moved security.md 2019-10-07 10:27:36 -06:00
README.md Install dependencies as project dependencies from NPM repo (#2476) 2021-05-24 12:11:01 -05:00
config.staging.toml hotfix: fixed logic for robots.txt 2021-02-16 21:04:51 -07:00
config.toml Add robots.txt and staging config file (#2184) 2021-02-16 16:58:55 -07:00
package.json Install dependencies as project dependencies from NPM repo (#2476) 2021-05-24 12:11:01 -05:00
yarn.lock Install dependencies as project dependencies from NPM repo (#2476) 2021-05-24 12:11:01 -05:00

README.md

InfluxDB 2.0 Documentation

This repository contains the InfluxDB 2.x documentation published at docs.influxdata.com.

Contributing

We welcome and encourage community contributions. For information about contributing to the InfluxData documentation, see Contribution guidelines.

Reporting a Vulnerability

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 security@influxdata.com. More details about security vulnerability reporting, including our GPG key, can be found at https://www.influxdata.com/how-to-report-security-vulnerabilities/.

Running the docs locally

  1. Clone this repository to your local machine.

  2. Install NodeJS, Yarn, Hugo, & Asset Pipeline Tools

    The InfluxData documentation uses Hugo, a static site generator built in Go. The site uses Hugo's asset pipeline, which requires the extended version of Hugo along with NodeJS tools like PostCSS, to build and process stylesheets and javascript.

    To install the required dependencies and build the assets, do the following:

    1. Install NodeJS

    2. Install Yarn

    3. In your terminal, from the docs-v2 directory, install the dependencies:

      cd docs-v2
      yarn install
      

      Note: The most recent version of Hugo tested with this documentation is 0.83.1.

  3. To generate the API docs, see api-docs/README.md.

  4. 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.

    In your terminal, start the Hugo server:

    npx hugo server
    
  5. View the docs at localhost:1313.