Go to file
Jason Stirnaman 200881baa0 chore(api): Use templates for creating pages, page functions return a string of YAML frontmatter and Markdown. 2025-03-04 17:10:50 -06:00
.ci feat(v3): WIP: Revise API specs for Core and Enterprise 2025-02-25 17:08:05 -06:00
.circleci WIP(api): Rename api-docs to api-build-scripts. Fixing API docs menus and cleaning up code 2025-03-04 17:10:50 -06:00
.github Update new feature issue template 2022-04-14 16:08:59 -06:00
.husky/_ WIP: API and JavaScript revamp 2025-03-04 17:07:02 -06:00
.vscode feat(v3): WIP: Revise API specs for Core and Enterprise 2025-02-25 17:08:05 -06:00
ai chore(ai): Moved ai/tests to doc for now 2025-03-04 17:07:04 -06:00
api-build-scripts chore(api): Use templates for creating pages, page functions return a string of YAML frontmatter and Markdown. 2025-03-04 17:10:50 -06:00
api-docs WIP(api): Rename api-docs to api-build-scripts. Fixing API docs menus and cleaning up code 2025-03-04 17:10:50 -06:00
assets chore(ai): object property assignment for main.js and AIChat. 2025-03-04 17:09:23 -06:00
content To build the API pages, run `yarn run build-apidocs` from the project directory. 2025-03-04 17:08:33 -06:00
cypress fix(api): links and headings in local API refs. 2025-02-26 16:20:14 -06:00
data WIP(api): Rename api-docs to api-build-scripts. Fixing API docs menus and cleaning up code 2025-03-04 17:10:50 -06:00
deploy InfluxDB 3 Core & InfluxDB 3 Enterprise alpha release (#5760) 2025-01-13 07:21:11 -07:00
flux-build-scripts Update Flux/InfluxDB version modal (#5668) 2024-11-12 08:20:54 -07:00
layouts WIP: API and JavaScript revamp 2025-03-04 17:09:22 -06:00
resources Add files via upload (#4395) 2022-10-06 13:32:02 -06:00
shared/text Update the placeholder URL for dedicated (#5527) 2024-07-22 16:55:00 -06:00
static Initial Kapa.ai chat integration. 2025-02-03 08:31:55 -06:00
test fix: LInks and headings. Replace `latest` with `v2`. Specify OSS v2 in headings. Closes fix(api-refs): specify v2 in InfluxDB OSS headings #5866, Closes Flux docs: replace `/influxdb/latest` with `/influxdb/v2` #5864. Linting cleanup, removing terminal prompt from examples 2025-02-27 17:50:16 -06:00
.editorconfig chore(ci): Improve CI lint and test runners 2024-06-21 18:41:07 -05:00
.frontmatter-schema.json feat(v3): WIP: Revise API specs for Core and Enterprise 2025-02-25 17:08:05 -06:00
.gitignore WIP(api): Rename api-docs to api-build-scripts. Fixing API docs menus and cleaning up code 2025-03-04 17:10:50 -06:00
.prettierignore chore(ci): Improve CI lint and test runners 2024-06-21 18:41:07 -05:00
.prettierrc.yaml chore: Write data improvements 2024-06-24 15:42:10 -05:00
.s3deploy.yml added font file extensions to s3deploy caching config 2019-01-19 08:30:43 -07:00
.vale.ini chore(ci): Improve pre-commit hook, test harness, and linter 2024-07-23 15:08:28 -05:00
CONTRIBUTING.md WIP(api): Rename api-docs to api-build-scripts. Fixing API docs menus and cleaning up code 2025-03-04 17:10:50 -06:00
DOC_GPT_PROFILE.md Initial Kapa.ai chat integration. 2025-02-03 08:31:55 -06:00
Dockerfile.pytest fix: LInks and headings. Replace `latest` with `v2`. Specify OSS v2 in headings. Closes fix(api-refs): specify v2 in InfluxDB OSS headings #5866, Closes Flux docs: replace `/influxdb/latest` with `/influxdb/v2` #5864. Linting cleanup, removing terminal prompt from examples 2025-02-27 17:50:16 -06:00
Dockerfile.tests chore(ci): Improve pre-commit hook, test harness, and linter 2024-07-23 15:08:28 -05:00
LICENSE added license and issue template, moved security.md 2019-10-07 10:27:36 -06:00
PLATFORM_REFERENCE.md Initial Kapa.ai chat integration. 2025-02-03 08:31:55 -06:00
README.md WIP(api): Rename api-docs to api-build-scripts. Fixing API docs menus and cleaning up code 2025-03-04 17:10:50 -06:00
compose.yaml fix: LInks and headings. Replace `latest` with `v2`. Specify OSS v2 in headings. Closes fix(api-refs): specify v2 in InfluxDB OSS headings #5866, Closes Flux docs: replace `/influxdb/latest` with `/influxdb/v2` #5864. Linting cleanup, removing terminal prompt from examples 2025-02-27 17:50:16 -06:00
cypress.config.js chore(e2e): Add Cypress for link checking and end-to-end tests. Fix broken links revealed by tests. 2025-02-03 17:52:04 -06:00
eslint.config.mjs Initial Kapa.ai chat integration. 2025-02-03 08:31:55 -06:00
hugo.staging.yml InfluxDB 3 Core & InfluxDB 3 Enterprise alpha release (#5760) 2025-01-13 07:21:11 -07:00
hugo.yml InfluxDB 3 Core & InfluxDB 3 Enterprise alpha release (#5760) 2025-01-13 07:21:11 -07:00
install-influxdb3-core.sh InfluxDB 3 Core & InfluxDB 3 Enterprise alpha release (#5760) 2025-01-13 07:21:11 -07:00
lefthook.yml chore(oss): Update install instructions, mostly for Linux 2024-08-30 16:21:23 -05:00
package.json WIP(api): Rename api-docs to api-build-scripts. Fixing API docs menus and cleaning up code 2025-03-04 17:10:50 -06:00
yarn.lock chore(deps): Update cross-spawn due to vulnerability alert. 2025-03-04 17:09:23 -06: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.123.8.

  3. To generate the API docs, see api-build-scripts/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.

Alternative: Use docker compose

  1. Clone this repository to your local machine. See how to clone a repository.

  2. Follow the instructions to install Docker Desktop and Docker Compose to your local machine.

  3. Use Docker Compose to start the Hugo server in development mode--for example, enter the following command in your terminal:

    docker compose up local-dev
    
  4. View the docs at localhost:1313.