Go to file
Jason Stirnaman e10340b6ec chore(ci): Add config for new link validation tool (docs-tooling/link-checker)
chore(ci): Replaced PR link validation workflow with new workflow from docs-tooling/link-checker/.github-workflows-link-check.yml

chore: organize .gitignore

test: add content to trigger link-checker workflow

This small change tests the pr-link-check.yml workflow

feat: update link-checker workflow and documentation

- Add production config with corrected User-Agent placement
- Remove old link validation actions (replaced by link-checker)

fix: update link-checker workflow configuration

- Update Node.js version to 20 for dependency compatibility

feat: use pre-built link-checker binary from docs-tooling releases

- Replace building from source with downloading from releases
- Use GitHub API to get latest release and binary
- Maintain same artifact structure for downstream job

fix: improve change detection in pr-link-check workflow

- Use GitHub API for reliable PR file detection
- Add debug output to show all changed files
- Fix conditional logic for when jobs should run

docs: update TESTING.md with binary distribution and automated GitHub Actions integration

- Document pre-built binary download as recommended installation method
- Explain automated PR link checking workflow for docs-v2
- Replace manual GitHub Actions example with automated integration details
- Remove exaggerated language and specify actual exclusion types

fix(ci): download link-checker binary from docs-v2 releases

- Change binary source from private docs-tooling to public docs-v2 releases
- Fixes GitHub Actions permission issues accessing private repos
- Binary is now stored as a release asset on docs-v2 itself

test: add test file with valid links to verify workflow passes

test: remove temporary test file for link checker workflow

The test file was only needed to verify the workflow functionality
and should not be part of the documentation.

docs: update TESTING.md to document docs-v2 binary distribution

- Change primary installation method to download from docs-v2 releases
- Explain that binary distribution enables reliable GitHub Actions access
- Update automated workflow description to reflect docs-v2 release usage
- Maintain build-from-source as alternative option

refactor(ci): combine workflow into single job for cleaner PR display

- Merge detect-changes, build-site, and download-link-checker into single job
- All setup steps now run conditionally within one job
- Cleaner PR display shows only 'Check links in affected files'
- Maintains all functionality with improved UX

fix(ci): exclude problematic URLs from link checking

- Add reddit.com exclusions (blocks bots)
- Add support.influxdata.com exclusion (SSL certificate issues in CI)
- Prevents false positive failures in automated link checking
2025-08-16 22:14:27 -05:00
.ci chore(ci): Add config for new link validation tool (docs-tooling/link-checker) 2025-08-16 22:14:27 -05:00
.circleci chore(js): Extract Hugo params imports to single-purpose modules, fix environment-specific Hugo configs, use Hugo environments instead of specifying the config file, configure source maps and ESM for development and testing 2025-06-09 16:46:26 -05:00
.claude/commands feat(influxdb3): Add missing precision CLI option, fix and enhance write documentation.\ 2025-07-08 19:38:44 -05: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 chore(ci): Add config for new link validation tool (docs-tooling/link-checker) 2025-08-16 22:14:27 -05:00
.husky/_ Release influxctl v2.10.3 (#6270) 2025-08-01 23:43:54 -05:00
.vscode chore(js): Extract Hugo params imports to single-purpose modules, fix environment-specific Hugo configs, use Hugo environments instead of specifying the config file, configure source maps and ESM for development and testing 2025-06-09 16:46:26 -05:00
api-docs minor updates to requestBody to fix Ci build error 2025-08-14 14:58:03 -07:00
assets hotfix(analytics): typo 2025-07-14 13:11:24 -05:00
config chore(analytics): Migrate to GA4 Google tag. If on the local server, use debug mode and prevent tracking. Add the www.influxdata.com Google tag script. Remove the conditional from header.html. Remove the old, unused GTM ID 2025-06-25 21:47:48 -05:00
content chore(ci): Add config for new link validation tool (docs-tooling/link-checker) 2025-08-16 22:14:27 -05:00
cypress Update cypress/support/link-cache.js 2025-07-29 10:48:05 -05:00
data feat(v1): update documentation for the upcoming InfluxDB v1.12 and Enterprise v1.12 release 2025-08-15 15:27:34 -05:00
deploy Add release artifacts to Clustered release notes (#6132) 2025-06-10 16:57:08 -05: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 chore(qol): Add instructions imports to CLAUDE.md 2025-07-10 11:25:28 -05:00
layouts chore: update Google Tag ID to master GA4 measurement ID:This should roll docs analytics into the Master property with other subdomains 2025-07-30 07:59:13 -05:00
plans/cli-docs-sync 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
resources Add files via upload (#4395) 2022-10-06 13:32:02 -06:00
shared/text chore(test): Remove shared code sample 2025-07-08 00:25:03 -05:00
static Clustered release 20250721-1796368 2025-08-05 09:22:01 -05:00
telegraf-build Adapt templates to generator tool definitions 2025-06-02 17:21:47 +02:00
test chore: always verify GPG fingerprint 2025-07-09 10:13:29 -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 chore(ci): Add config for new link validation tool (docs-tooling/link-checker) 2025-08-16 22:14:27 -05:00
.nvmrc End-to-end testing, CI script, and JavaScript QoL improvements: 2025-05-19 09:50:33 -05:00
.prettierignore Merge pull request #6079 from influxdata/chore-js-refactor-footer-scripts-modules 2025-06-09 14:40:37 -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
CLAUDE.md feat(testing): add link validation automation and improvements 2025-07-28 16:24:24 -05:00
CONTRIBUTING.md feat(testing): add link validation automation and improvements 2025-07-28 16:24:24 -05: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
PLATFORM_REFERENCE.md Initial Kapa.ai chat integration. 2025-02-03 08:31:55 -06:00
README.md feat(testing): add link validation automation and improvements 2025-07-28 16:24:24 -05:00
TESTING.md chore(ci): Add config for new link validation tool (docs-tooling/link-checker) 2025-08-16 22:14:27 -05:00
broken_links_report.json fix(ci): resolve link validation workflow false failures 2025-07-28 22:39:40 -05:00
compose.yaml fix(monolith): docker instructions:run-help Updates 2025-07-09 13:31:28 -05:00
cypress.config.js Apply suggestions from code review 2025-07-28 21:58:09 -05:00
eslint.config.js chore(ci): Cleanup JS 2025-07-07 12:13:36 -05:00
hugo_stats.json Merge pull request #6079 from influxdata/chore-js-refactor-footer-scripts-modules 2025-06-09 14:40:37 -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 feat(testing): add link validation automation and improvements 2025-07-28 16:24:24 -05:00
package.json chore(deps): bump axios from 1.10.0 to 1.11.0 2025-07-25 16:55:42 +00:00
yarn.lock chore(deps): bump tmp from 0.2.3 to 0.2.4 2025-08-06 17:14:39 +00: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.

Testing

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

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.