docs-v2/content/shared
Jason Stirnaman 68f00e6805
fix(version-detector): centralize Grafana links and DRY up host examples (#6693)
* fix(version-detector): use centralized getGrafanaLink for all Grafana URLs

Refactor handleAuthorizationHelp to use getGrafanaLink() instead of
hardcoded URLs, ensuring all Grafana links come from a single source.

Also fix incorrect URLs in getGrafanaLink mapping:
- InfluxDB OSS 2.x: /visualize-data/ → /tools/
- InfluxDB Enterprise: /influxdb/enterprise/ → /enterprise_influxdb/v1/
- InfluxDB Cloud (TSM): /visualize-data/ → /tools/
- InfluxDB Cloud v1: now links to Enterprise v1 docs (Cloud v1 is
  Enterprise under the hood)

* refactor(version-detector): DRY up localhost:8086 references

Extract HOST_EXAMPLES to a class-level constant and add DEFAULT_HOST
and DEFAULT_HOST_PORT constants to eliminate duplicate localhost:8086
strings throughout the code.

- Move hostExamples from local variable to class constant
- Use DEFAULT_HOST for URL placeholder and comparison checks
- Use DEFAULT_HOST_PORT for docker curl command examples

* feat(ask-ai): Support source group IDs in Ask AI trigger links

* feat(version-detector): Present context-aware links

- Add ai_source_group_ids fields to ProductConfig interface
- Improve SCSS for doc and Ask AI links
- Update Grafana docs to add aliases and context param for detector
- Update modal partial to include AI source group IDs in config
- Remove custom Cypress commands for version detector
- Update E2E tests to use direct Cypress commands
2026-01-26 18:42:09 -06:00
..
influxctl Move influxctl --perf-debug example output to command reference (#6599) 2025-12-22 13:11:35 -06:00
influxdb-client-libraries-reference docs(influxdb3): use shared Grafana docs for all v3 products, fix product and token naming 2025-10-04 17:36:04 -05:00
influxdb-v2 fix(version-detector): centralize Grafana links and DRY up host examples (#6693) 2026-01-26 18:42:09 -06:00
influxdb3 Merge branch 'master' into jdstrand/fix-rpm-install2 2025-12-23 11:06:51 -05:00
influxdb3-admin Dar 589 cli api params (#6719) 2026-01-15 15:51:16 -06:00
influxdb3-api-reference 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
influxdb3-cli docs(influxdb3): document log-filter values and targeted filtering (#6695) 2026-01-06 14:01:49 -06:00
influxdb3-get-started Dar 588 plugins (#6718) 2026-01-14 18:17:14 -06:00
influxdb3-internals fix(influxdb3): link fragments 2025-10-10 18:07:30 -05:00
influxdb3-internals-reference fix(influxdb3): document exec-mem-pool-bytes usage for data persistence (#6394) 2025-11-05 11:05:13 -06:00
influxdb3-plugins Dar 588 plugins (#6718) 2026-01-14 18:17:14 -06:00
influxdb3-query-guides fix(influxdb3): publish parameterized queries and add HTTP API examples (#6673) 2025-12-27 15:01:20 -06:00
influxdb3-reference Add Invocation metric to telemetry documentation (#6566) 2025-11-24 13:17:46 -05:00
influxdb3-sample-data feat(sample-data): add new wind sample dataset (#6440) 2025-10-06 12:08:35 -06:00
influxdb3-visualize docs(chronograf): add instructions for use with InfluxDB3 products (#6730) 2026-01-15 13:24:09 -06:00
influxdb3-write-guides docs(influxdb3): document log-filter values and targeted filtering (#6695) 2026-01-06 14:01:49 -06:00
influxql-v3-reference fix(influxdb3): publish parameterized queries and add HTTP API examples (#6673) 2025-12-27 15:01:20 -06:00
sql-reference docs(influxdb3): Use the CLI (influxdb3 --version), /ping endpoint, or /health endpoint to get the actual InfluxDB product version—not the SQL version() function. (#6579) 2025-12-01 16:02:25 -06:00
v3-core-enterprise-release-notes Revise release notes for InfluxDB 3 catalog path structure (#6738) 2026-01-26 14:10:47 -06:00
v3-distributed-admin-custom-partitions Apply suggestions from code review 2025-05-09 10:22:47 -05:00
v3-distributed-internals-reference fix(v3): Apply code review suggestions\ 2025-09-09 14:03:44 -05:00
v3-process-data/visualize fix(version-detector): centralize Grafana links and DRY up host examples (#6693) 2026-01-26 18:42:09 -06:00
README.md chore(instruction): content/shared instructions: (#6493) 2025-10-27 20:14:05 -05:00
_index.md chore(v3): Migrate admin/custom-partitioning to shared content 2025-01-09 10:22:12 -06:00
identify-version.md docs(influxdb3): Use a GET request to check ping response headers. (#6749) 2026-01-16 20:51:49 -06:00
v3-line-protocol.md Fix link checker for fragments (#6626) 2025-12-15 09:24:43 -06:00

README.md

Shared content

This section is for content shared across multiple products and versions. The /shared/_index.md frontmatter marks the /shared directory (/content/shared) and its children as draft so they don't get rendered independently when the site is built. The content of each shared document is included and rendered in pages that reference the file as a source in their frontmatter.

Use shared content

  1. Create a new folder for the content in the /content/shared/ directory.

  2. Copy the markdown files into the new folder.

  3. Remove any frontmatter from the markdown files in the shared directory. If the first line starts with a shortcode, add an HTML comment before the first line, otherwise Hugo will err.

  4. In each of the files that use the shared content, add a source to the frontmatter that points to the shared markdown file—for example:

    source: /shared/influxql-v3-reference/regular-expressions.md
    
  5. In the doc body, remove the shared Markdown text and add a comment that points to the shared file, in case someone happens upon the page in the repo--for example, in /content/influxdb3/core/reference/influxql/regular-expressions.md, add the following:

//SOURCE is a comment anchor (recognized by the Comment Anchors editor extension) to make the file path clickable.