Go to file
Jason Stirnaman 02e10068ad - **Improved successor handling in stable-version.html**
- Fixed logic to maintain current product context while using successor for version info
  - Added appropriate successor product display in callout warning
  - Fixed conditions for when callout should appear
  - Fixed potential `isset <nil>` problems with proper nil checks before accessing properties

- **Added comprehensive Cypress tests for successor relationship**
  - Created `stable-version-callout.cy.js` for testing successor behavior
  - Tests that `/influxdb/v1/` and `/influxdb/v2/` pages show successor callout
  - Verifies "InfluxDB 3 Core" appears in callout with correct links
  - Checks product data configuration in `products.yml`
  - Includes JavaScript error detection

- **Configured environment-specific Hugo settings**
  - Added `/config/testing/config.yml` for test environment
  - Configured port 1315 for test environment
  - Added build parameters specific to testing context
  - Separated test environment from development environment

- **Updated Docker configuration**
  - Added new package.json script for building Docker image
  - Improved Docker-based testing commands
2025-05-19 09:55:06 -05:00
.ci feat(v3): WIP: Revise API specs for Core and Enterprise 2025-02-25 17:08:05 -06:00
.circleci Docu: fix broken link (#5410) 2024-04-08 16:07:49 -06:00
.github feat(cloud-dedicated): Admin UI: Account info, manage clusters, manage databases, manage tables, manage tokens. (Closes #6023) 2025-05-06 14:05:12 -05:00
.husky/_ End-to-end testing, CI script, and JavaScript QoL improvements: 2025-05-19 09:50:33 -05:00
.vscode chore(copilot): update to latest settings in https://code.visualstudio.com/docs/copilot/reference/copilot-settings 2025-04-09 11:05:36 -05:00
api-docs hotfix(ent3): API ref: Remove admin token enterprise-only note and rebuild with previous fix. 2025-05-15 09:22:50 -05:00
assets - **Improved successor handling in stable-version.html** 2025-05-19 09:55:06 -05:00
config - **Improved successor handling in stable-version.html** 2025-05-19 09:55:06 -05:00
content chore(ci): Shortcode tests using example.md. Support test-only files (such as example.md) without abusing draft mode. 2025-05-19 09:33:34 -05:00
cypress - **Improved successor handling in stable-version.html** 2025-05-19 09:55:06 -05:00
data - **Improved successor handling in stable-version.html** 2025-05-19 09:55:06 -05: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
influxdb3cli-build-scripts chore(influxdb3): Add script to generate CLI reference docs from influxdb3 CLI help output. This is better than manually creating docs, but still needs improvement. Run it from the docs-v2 root and it uses whatever influxdb3 is in your global PATH. 2025-04-27 23:58:04 -05:00
layouts - **Improved successor handling in stable-version.html** 2025-05-19 09:55:06 -05: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 chore(dedicated): Admin UI: Update table instructions for custom partitioning options 2025-05-09 14:58:25 -05:00
telegraf-build feat(telegraf): Use metadata from autogenerated Telegraf docs in template frontmatter. 2025-03-31 08:42:11 -05:00
test fix(cloudv2): Doesn't support environment references in templates 2025-03-14 18:11:16 -05: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 End-to-end testing, CI script, and JavaScript QoL improvements: 2025-05-19 09:50:33 -05:00
.nvmrc End-to-end testing, CI script, and JavaScript QoL improvements: 2025-05-19 09:50:33 -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 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 End-to-end testing, CI script, and JavaScript QoL improvements: 2025-05-19 09:50:33 -05:00
DOC_GPT_PROFILE.md chore(ai): Update product list in GPT instructions. 2025-03-17 15:02:15 -05:00
Dockerfile.pytest fix(cloudv2): Doesn't support environment references in templates 2025-03-14 18:11:16 -05: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-12 13:48:29 -06:00
README.md docs: Add docker compose workflow for running docs locally (#5400) 2024-04-01 12:17:07 -05:00
compose.yaml fix: getting one last quay 2025-04-25 18:57:58 -04:00
cypress.config.js End-to-end testing, CI script, and JavaScript QoL improvements: 2025-05-19 09:50:33 -05:00
eslint.config.mjs End-to-end testing, CI script, and JavaScript QoL improvements: 2025-05-19 09:50:33 -05:00
hugo.staging.yml InfluxDB 3 Core & InfluxDB 3 Enterprise alpha release (#5760) 2025-01-13 07:21:11 -07:00
hugo.yml End-to-end testing, CI script, and JavaScript QoL improvements: 2025-05-19 09:50:33 -05:00
install-influxdb3-core.sh InfluxDB 3 Core & InfluxDB 3 Enterprise alpha release (#5760) 2025-01-13 07:21:11 -07:00
lefthook.yml End-to-end testing, CI script, and JavaScript QoL improvements: 2025-05-19 09:50:33 -05:00
package.json End-to-end testing, CI script, and JavaScript QoL improvements: 2025-05-19 09:50:33 -05:00
yarn.lock End-to-end testing, CI script, and JavaScript QoL improvements: 2025-05-19 09:50:33 -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.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.