Go to file
Jason Stirnaman 91bdc16386 feat(api): add --no-clean and --dry-run CLI flags 2026-02-17 17:00:48 -06:00
.ci fix(shortcodes): latest-patch CLI version for cloud-serverless (#6655) 2026-01-02 12:47:12 -06:00
.circleci feat(ci): add incremental builds and shared content-utils (#6582) 2025-12-01 19:45:42 -05:00
.claude Merge origin/master into docs-v2-pr6622 2026-01-21 10:31:56 -06:00
.context chore(qol): Add .context to store ephemeral, external, or temp files that LLMs can use to help with docs management. Move plans to .content/plans, untracked. 2025-07-01 12:43:17 -05:00
.github Merge origin/master into docs-v2-pr6622 2026-01-21 10:31:56 -06:00
.husky/_ Ask AI group filters (#6529) 2025-11-18 16:43:02 -06:00
.vscode InfluxDB 3.4 offline tokens (#6346) 2025-08-28 07:03:03 -06:00
api-docs feat(api): add --no-clean and --dry-run CLI flags 2026-02-17 17:00:48 -06:00
assets style(api): remove RapiDoc styles and rename hugo-native to operations 2026-02-13 22:35:22 -06:00
config refactor(api): Remove Scalar renderer and related code 2026-01-02 16:42:28 -06:00
content refactor(api): move Related guides to x-influxdatadocs-related field 2026-02-06 13:48:31 -06:00
cypress style(test): apply lint fixes to API reference tests 2026-02-13 15:07:54 -06:00
data refactor(api): generate article_data at build time instead of tracking 2026-02-04 09:22:55 -06:00
deploy Feature: Generate documentation in LLM-friendly Markdown (#6555) 2025-12-01 12:32:28 -06:00
docs/plans docs(plan): add Hugo-native API migration plan with workflow fixes 2026-02-13 11:49:42 -06:00
flux-build-scripts fix(JS): Rename CommonJS scripts to .cjs extension, keep type: module as the project default. Update and fix ESLint configuration. 2025-05-19 11:34:42 -05:00
helper-scripts refactor(api): migrate shared content operation links to RapiDoc format 2026-02-04 11:48:17 -06:00
layouts refactor(api): complete Hugo-native migration, remove RapiDoc 2026-02-13 15:07:02 -06:00
plans docs(plan): add API clean regeneration implementation plan 2026-02-17 16:54:44 -06:00
scripts Merge remote-tracking branch 'origin/master' into docs-v2-pr6622 2026-01-14 22:09:31 -06:00
shared/text chore(test): Remove shared code sample 2025-07-08 00:25:03 -05:00
static style(api): remove RapiDoc styles and rename hugo-native to operations 2026-02-13 22:35:22 -06:00
telegraf-build fix(telegraf): Aggregator typo and intro 2025-09-23 13:39:08 -05:00
test test(influxdb3): Improve InfluxDB 3 Core and Enterprise Docker services (#6750) 2026-01-20 17:17:36 -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 chore: add enterprise_influxdb API pages to gitignore 2026-02-04 09:32:04 -06:00
.mcp.json docs: Add .mcp.json config file for Docs MCP 2025-09-09 11:16:39 -05:00
.nvmrc End-to-end testing, CI script, and JavaScript QoL improvements: 2025-05-19 09:50:33 -05:00
.prettierignore Note excluded internal-use options (#6571) 2025-11-25 16:58:29 -06:00
.prettierrc.yaml chore: Write data improvements 2024-06-24 15:42:10 -05:00
.remarkrc.yaml Jts contrib and linting fixes (#6494) 2025-10-27 20:24:25 -05:00
.s3deploy.yml Feature: Generate documentation in LLM-friendly Markdown (#6555) 2025-12-01 12:32:28 -06:00
.vale-instructions.ini Jts contrib and linting fixes (#6494) 2025-10-27 20:24:25 -05:00
.vale.ini chore(ci): Improve pre-commit hook, test harness, and linter 2024-07-23 15:08:28 -05:00
AGENTS.md Configure GitHub Copilot instructions and navigation system (#6628) 2025-12-15 12:43:34 -06:00
CLAUDE.md Configure GitHub Copilot instructions and navigation system (#6628) 2025-12-15 12:43:34 -06:00
DOCS-CONTRIBUTING.md Note excluded internal-use options (#6571) 2025-11-25 16:58:29 -06:00
DOCS-DEPLOYING.md ci(preview): Add PR Preview reference in DOCS-DEPLOYING.md (#6668) 2025-12-22 15:56:40 -06:00
DOCS-FRONTMATTER.md Apply suggestion from @jstirnaman 2025-10-08 16:46:00 -05:00
DOCS-SHORTCODES.md chore(docs): Redesign docs CLI tools for creating and editing content, add content/create.md tutorial page for the How to creat… (#6506) 2025-11-03 10:18:15 -06:00
DOCS-TESTING.md Feature: Generate documentation in LLM-friendly Markdown (#6555) 2025-12-01 12:32:28 -06:00
Dockerfile.pytest chore: always verify GPG fingerprint 2025-07-09 10:13:29 -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
PLAN.md style(api): remove RapiDoc styles and rename hugo-native to operations 2026-02-13 22:35:22 -06:00
PLATFORM_REFERENCE.md feat: Add v2.8.0 release notes (#6623) 2025-12-12 17:07:48 -06:00
README.md fix(cli): Make docs edit non-blocking and reorganize CLI code (#6721) 2026-01-13 21:47:09 -06:00
broken_links_report.json fix(ci): resolve link validation workflow false failures 2025-07-28 22:39:40 -05:00
compose.yaml test(influxdb3): Improve InfluxDB 3 Core and Enterprise Docker services (#6750) 2026-01-20 17:17:36 -06:00
cypress.config.js chore(ci): Removes old Cypress link checker test code 2025-08-18 10:51:57 -05:00
docs.code-workspace chore(ide): Add docs.code-workspace file contains: (#6576) 2025-12-01 11:20:33 -06:00
eslint.config.js Jts agentsmd (#6486) 2025-10-28 07:20:13 -05:00
hugo_stats.json fix: remove buffer-mem-limit-mb (#6341) 2025-08-27 08:32:06 -06:00
install-influxdb3-core.sh InfluxDB 3 Core & InfluxDB 3 Enterprise alpha release (#5760) 2025-01-13 07:21:11 -07:00
install_influxdb3.sh Core and Ent3 performance tuning guide and configuration options (#6421) 2025-10-21 13:14:31 -05:00
lefthook.yml Note excluded internal-use options (#6571) 2025-11-25 16:58:29 -06:00
package.json fix(security): Update tar to version 7.5.3 and related dependencies (#6754) 2026-01-20 14:49:07 -06:00
tsconfig.json feat(influxdb): Version detector shortcode triggers a modal 2025-09-30 19:01:21 -05:00
yarn.lock fix(security): Update tar to version 7.5.3 and related dependencies (#6754) 2026-01-20 14:49:07 -06:00

README.md

InfluxData Product Documentation

This repository contains the InfluxData product documentation for InfluxDB and related tooling published at docs.influxdata.com.

Contributing

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

Testing

For information about testing the documentation, including code block testing, link validation, and style linting, see Testing guide.

Documentation Tools

This repository includes a docs CLI tool for common documentation workflows:

# Create new documentation from a draft
npx docs create drafts/new-feature.md --products influxdb3_core

# Create and open files in editor (non-blocking)
npx docs create drafts/new-feature.md --products influxdb3_core --open

# Create and open, wait for editor (blocking)
npx docs create drafts/new-feature.md --products influxdb3_core --open --wait

# Edit existing documentation (supports full URLs or paths)
npx docs edit https://docs.influxdata.com/influxdb3/core/admin/
npx docs edit /influxdb3/core/admin/

# Edit and wait for editor to close (blocking)
npx docs edit /influxdb3/core/admin/ --wait

# List files without opening
npx docs edit /influxdb3/core/admin/ --list

# Use a specific editor
npx docs edit /influxdb3/core/admin/ --editor nano

# Add placeholder syntax to code blocks
npx docs placeholders content/influxdb3/core/admin/upgrade.md

# Get help
npx docs --help

The docs command is automatically configured when you run yarn install.

Editor Configuration

The docs edit and docs create --open commands open documentation files in your preferred editor. By default, they launch the editor in the background and exit immediately (agent-friendly). Use the --wait flag for interactive editing sessions.

Setting Your Editor:

The CLI selects an editor in this priority order:

  1. --editor flag
  2. DOCS_EDITOR environment variable
  3. VISUAL environment variable
  4. EDITOR environment variable
  5. System default (vim, nano, etc.)

Examples:

# Set editor for all commands
export EDITOR=vim

# Set editor specifically for docs CLI
export DOCS_EDITOR=nano

# Use VS Code with built-in wait flag
export DOCS_EDITOR="code --wait"

For Automated Workflows:

The default non-blocking behavior prevents AI agents and automation scripts from hanging:

# In a script or CI pipeline
docs edit /some/url           # Returns immediately
echo "Editor launched"        # This runs right away

# If you need to wait (interactive editing)
docs edit /some/url --wait    # Blocks until editor closes
echo "Editor closed"          # This waits for editor to close

Documentation

Comprehensive reference documentation for contributors:

AI Assistant Instructions

Instructions for AI assistants working with this repository:

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

      After installation, the docs command will be available via npx:

      npx docs --help
      
  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.