Go to file
Jason Stirnaman ef106dd3a1 chore(e2e): Add Cypress for link checking and end-to-end tests. Fix broken links revealed by tests.
- Adds Cypress and a few basic tests for the global topnav, the home page, and link-checking.
- For link-checking, pass a comma-delimited list of URLs in an exported cypress_test_subjects environment variable. For examples, see the convenience commands in package.json
2025-02-03 17:52:04 -06:00
.ci chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 in /.ci/remark-lint 2024-11-27 19:05:58 +00:00
.circleci
.github
.husky/_ InfluxQL TZ clause and function (#5689) 2024-11-27 11:58:37 -07:00
.vscode
api-docs Initial Kapa.ai chat integration. 2025-02-03 08:31:55 -06:00
assets fix(ai): example button width 2025-02-03 13:48:47 -06:00
content Merge branch 'master' into ai-chat-widget 2025-02-03 10:42:02 -06:00
cypress 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
data Apply suggestions from code review 2025-02-03 10:36: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 Merge branch 'master' into ai-chat-widget 2025-02-03 09:28:25 -07:00
resources
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 test(v2): Update and fix Ubuntu and Centos Dockerfiles for testing v2 and telegraf installation 2024-12-03 14:51:11 -06:00
.editorconfig chore(ci): Improve CI lint and test runners 2024-06-21 18:41:07 -05:00
.gitignore chore(ci): Improve pre-commit hook, test harness, and linter 2024-07-23 15:08:28 -05: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
.vale.ini chore(ci): Improve pre-commit hook, test harness, and linter 2024-07-23 15:08:28 -05:00
CONTRIBUTING.md fix(client-lib): commented code block for test setup #5711 2024-12-30 11:44:21 -06:00
DOC_GPT_PROFILE.md Initial Kapa.ai chat integration. 2025-02-03 08:31:55 -06:00
Dockerfile.pytest chore(oss): Update install instructions, mostly for Linux 2024-08-30 16:21:23 -05:00
Dockerfile.tests chore(ci): Improve pre-commit hook, test harness, and linter 2024-07-23 15:08:28 -05:00
LICENSE
PLATFORM_REFERENCE.md Initial Kapa.ai chat integration. 2025-02-03 08:31:55 -06:00
README.md
compose.yaml chore(oss): Update install instructions, mostly for Linux 2024-08-30 16:21:23 -05: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 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
yarn.lock 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

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

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.