* 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 |
||
|---|---|---|
| .. | ||
| influxctl | ||
| influxdb-client-libraries-reference | ||
| influxdb-v2 | ||
| influxdb3 | ||
| influxdb3-admin | ||
| influxdb3-api-reference | ||
| influxdb3-cli | ||
| influxdb3-get-started | ||
| influxdb3-internals | ||
| influxdb3-internals-reference | ||
| influxdb3-plugins | ||
| influxdb3-query-guides | ||
| influxdb3-reference | ||
| influxdb3-sample-data | ||
| influxdb3-visualize | ||
| influxdb3-write-guides | ||
| influxql-v3-reference | ||
| sql-reference | ||
| v3-core-enterprise-release-notes | ||
| v3-distributed-admin-custom-partitions | ||
| v3-distributed-internals-reference | ||
| v3-process-data/visualize | ||
| README.md | ||
| _index.md | ||
| identify-version.md | ||
| v3-line-protocol.md | ||
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
-
Create a new folder for the content in the
/content/shared/directory. -
Copy the markdown files into the new folder.
-
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.
-
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 -
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.