docs-v2/layouts/shortcodes
Jason Stirnaman 42ae0fbf6b
dar issue 563 - Cloud 1 documentation, support, and migration (#6729)
* docs(v2): Specify versions for v2 Cloud and OSS

* docs(v2): Use specific version for OSS v2, add ToC

* docs(v1): Use specific versions and names. Replace Enterprise v1 with 3
Ent.

* docs(v1): More detailed description for OSS v1 release notes. Repetition
fixes.

* docs(v1): Update Download instructions. Add version specificity

* docs(v1): OSS v1 specificity, fix config commands, cleanup lists

* docs(cloud1): Shared note shortcode to guide Cloud 1 users to Enterprise
documentation, Cloud 1 support, and v3 migration

* Provide Cloud 1.x in version detector and product selector menu,
simplify InfluxDB 1.x section

- Simplify InfluxDB 1.x section on platform page to product links and
  migration guidance
- Remove detailed TICK stack and Enterprise feature descriptions
- Update all Cloud 1 links to point to /platform/#influxdb-cloud-1

- Keep Cloud 1 infrastructure intact:
  - products.yml configuration
  - Product selector entry (links to platform page section)
  - Version detector for *.influxcloud.net service URLs
  - Ask AI integration

Files changed:
- content/platform/_index.md (simplified, updated links)
- content/shared/identify-version.md (updated links)
- layouts/shortcodes/influxdb-cloud1-note.html (updated links)
- assets/js/utils/product-mappings.ts
- assets/js/influxdb-version-detector.ts

Closes /influxdata/dar/issues/563

* Delete content/influxcloud/v1/_index.md

* Update content/enterprise_influxdb/v1/_index.md

* Update content/influxdb/v1/introduction/install.md

* Fix PR Preview skipping when layout changes include wildcard URL patterns (#6725)

* Initial plan

* Fix: Strip wildcards from URL paths in PR Preview detection

- Update normalizeUrlPath() to remove asterisk wildcards
- Collapse multiple consecutive slashes after wildcard removal
- Add backtick as valid URL delimiter for code-wrapped URLs
- Add comprehensive test cases for wildcard handling
- Update backtick test to reflect safer truncation behavior

Fixes issue where PR descriptions with wildcard patterns like
`/influxdb3/enterprise/*` were not properly extracted, causing
PR Preview to skip even when URLs were provided.

Co-authored-by: jstirnaman <212227+jstirnaman@users.noreply.github.com>

* docs: Clarify backtick handling in URL validation

Add comment explaining that backticks act as delimiters in regex
extraction, preventing them from appearing in extracted paths even
though they're in the rejection pattern.

Co-authored-by: jstirnaman <212227+jstirnaman@users.noreply.github.com>

* docs: Improve comments explaining normalization and regex logic

- Clarify why wildcards are removed before slash collapsing
- Document the defense-in-depth backtick handling
- Add examples of the normalization process

Co-authored-by: jstirnaman <212227+jstirnaman@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jstirnaman <212227+jstirnaman@users.noreply.github.com>

* Update content/platform/_index.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* refactor: organize cloud1-note shortcode into influxdb directory (#6734)

Move the Cloud 1 note shortcode from influxdb-cloud1-note.html
to influxdb/cloud1-note.html to follow the existing organizational
pattern in layouts/shortcodes/influxdb/.

This change also applies the Cloud 1 content updates from PR #6729
using the new organized shortcode path: {{< influxdb/cloud1-note >}}

closes influxdata/docs-v2#6729

Co-authored-by: Claude <noreply@anthropic.com>

---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>
2026-01-15 14:55:06 -06:00
..
api fix(v3): remove v2-prefer note, replace with specific recommendations (#5195) 2023-10-26 14:45:38 -05:00
bucket-schema 4758 link to explicit bucket schemas leads to 404 (#4783) 2023-03-10 17:05:14 -06:00
cli InfluxDB 3 Core & InfluxDB 3 Enterprise alpha release (#5760) 2025-01-13 07:21:11 -07:00
datetime Document v3 custom partitions (#5309) 2024-03-04 09:15:10 -07:00
flux Merge pull request #6079 from influxdata/chore-js-refactor-footer-scripts-modules 2025-06-09 14:40:37 -05:00
html-diagram InfluxDB 3 Core & InfluxDB 3 Enterprise alpha release (#5760) 2025-01-13 07:21:11 -07:00
influxdb dar issue 563 - Cloud 1 documentation, support, and migration (#6729) 2026-01-15 14:55:06 -06:00
influxdb3 hotfix: updated influxdb3 table limits 2025-04-15 08:44:41 -06:00
influxql Add InfluxDB 3 query guides (#5798) 2025-01-23 10:18:45 -07:00
resources Bump hugo to latest version v0.121.2 (#5293) 2024-01-17 09:15:00 -07:00
sql add sql window functions and new shortcodes 2025-02-21 14:11:32 -07:00
telegraf Telegraf Controller (alpha) Documentation (#6685) 2025-12-31 14:49:32 -07:00
ui Create ui/timestamp-formats shortcode (#2259) 2021-03-19 16:36:51 -06:00
admin-ui-access.html docs: admin ui uses macro for intro 2025-11-20 11:13:10 -05:00
api-endpoint.html dar issue 563 - Cloud 1 documentation, support, and migration (#6729) 2026-01-15 14:55:06 -06:00
ask-ai-link.html Ask AI group filters (#6529) 2025-11-18 16:43:02 -06:00
bucket-schema-requires.html Feature/2470 bucket schema (#2765) 2021-07-07 11:53:54 -05:00
caps.html InfluxDB 2.1 (#3367) 2021-11-08 09:48:11 -08:00
caption.html Influxdb 2.0.6 (#2459) 2021-04-29 14:04:33 -06:00
children.html dar issue 563 - Cloud 1 documentation, support, and migration (#6729) 2026-01-15 14:55:06 -06:00
cite.html Work with Prometheus metrics in Flux (#3232) 2021-10-18 16:25:20 -06:00
cloud-token-auth.html Fix/2759 1.x query api (#2841) 2021-07-14 16:59:39 -05:00
cloud_regions.html IOx documentation (#4730) 2023-01-31 11:07:26 -07:00
code-callout.html Cloud Dedicated InfluxQL reference (#4959) 2023-05-26 10:30:08 -06:00
code-placeholder-key.html Dedicated influxql (#4976) 2023-06-07 12:55:09 -06:00
code-placeholders.html fix(code-placeholders): Store escaped expression in a data attribute 2025-04-23 10:25:25 -05:00
code-tab-content.html upgraded to hugo 0.55.1 and made necessary adjustments 2019-04-16 10:05:16 -06:00
code-tabs-wrapper.html upgraded to hugo 0.55.1 and made necessary adjustments 2019-04-16 10:05:16 -06:00
code-tabs.html upgraded to hugo 0.55.1 and made necessary adjustments 2019-04-16 10:05:16 -06:00
columns.html Document v3 custom partitions (#5309) 2024-03-04 09:15:10 -07:00
cta-link.html hotfix: fix influxdb3 cta links 2025-05-12 14:08:29 -06:00
current-version.html Version restructure (#5133) 2023-09-12 23:33:31 -06:00
diagram.html Merge pull request #6079 from influxdata/chore-js-refactor-footer-scripts-modules 2025-06-09 14:40:37 -05:00
enterprise-warning-authn-b4-authz.md Version restructure (#5133) 2023-09-12 23:33:31 -06:00
expand-wrapper.html Update Grafana docs for OSS 2.0 and Cloud (#2210) 2021-02-26 18:31:19 -07:00
expand.html Enterprise 1.11 (#5177) 2023-10-18 15:11:52 -06:00
filesystem-diagram.html Influxdb 2.0.6 (#2459) 2021-04-29 14:04:33 -06:00
flex-content.html SAL operators (#5225) 2023-11-13 09:12:50 -07:00
flex.html Work with Prometheus metrics in Flux (#3232) 2021-10-18 16:25:20 -06:00
get-leaf-text.html Feature/2470 bucket schema (#2765) 2021-07-07 11:53:54 -05:00
get-shared-text.html Fix shared files (#2856) 2021-07-15 17:21:52 -05:00
hide-in.html Add 'show-in' and 'hide-in' shortcodes (#5946) 2025-04-01 15:41:32 -06:00
icon.html Telegraf Controller (alpha) Documentation (#6685) 2025-12-31 14:49:32 -07:00
img-hd.html Work with Prometheus metrics in Flux (#3232) 2021-10-18 16:25:20 -06:00
influxdb-cloud1-note.html dar issue 563 - Cloud 1 documentation, support, and migration (#6729) 2026-01-15 14:55:06 -06:00
influxdb-version-detector.html Ask AI group filters (#6529) 2025-11-18 16:43:02 -06:00
influxdbu.html Add the influxdbu shortcode for diplaying InfluxDB University banners (#4083) 2022-06-03 13:26:25 -05:00
keep-url.html update influxdb urls on window focus, exempt code blocks from being updated, added info to contributing.md 2020-04-20 14:47:04 -06:00
keybind.html Merge pull request #6079 from influxdata/chore-js-refactor-footer-scripts-modules 2025-06-09 14:40:37 -05:00
latest-cli.html Add influx CLI 2.1 release notes (#2944) 2021-07-30 10:35:40 -07:00
latest-influxctl.html InfluxDB 3 Core & InfluxDB 3 Enterprise alpha release (#5760) 2025-01-13 07:21:11 -07:00
latest-patch.html fix(shortcodes): latest-patch CLI version for cloud-serverless (#6655) 2026-01-02 12:47:12 -06:00
list-filters.html Merge pull request #6079 from influxdata/chore-js-refactor-footer-scripts-modules 2025-06-09 14:40:37 -05:00
nav-icon.html chore(hugo): Update shortcodes and templates to avoid calling isset on <nil> 2025-05-19 14:57:15 -05:00
note.html restructured article css files, fixed cloud-msg styles, resolves #224 2019-05-09 15:13:53 -06:00
page-nav.html InfluxDB Clustered Helm install (#5540) 2024-08-02 20:27:02 -06:00
product-key.html fix(shortcode): (Closes #5948) extra line ending in shortcode file breaks code samples 2025-04-02 16:35:04 -05:00
product-name.html Telegraf Controller (alpha) Documentation (#6685) 2025-12-31 14:49:32 -07:00
release-toc.html Merge pull request #6079 from influxdata/chore-js-refactor-footer-scripts-modules 2025-06-09 14:40:37 -05:00
req.html Kapacitor 1.6.0 (#2756) 2021-06-28 14:57:05 -06:00
show-in.html Add 'show-in' and 'hide-in' shortcodes (#5946) 2025-04-01 15:41:32 -06:00
svg.html Procedural documentation for the join package (#4466) 2022-09-23 14:42:19 -06:00
tab-content.html upgraded to hugo 0.55.1 and made necessary adjustments 2019-04-16 10:05:16 -06:00
tabs-wrapper.html upgraded to hugo 0.55.1 and made necessary adjustments 2019-04-16 10:05:16 -06:00
tabs.html influxctl v2.8.0 (#5413) 2024-04-11 11:17:49 -06:00
token-link.md Apply suggestions from code review 2025-04-23 09:47:04 -06:00
tooltip.html added tooltip shortcode, updated data elements doc with tooltip shortcode 2020-07-06 14:36:19 -06:00
truncate.html InfluxDB get started (#4628) 2022-11-21 15:44:14 -07:00
warn.html restructured article css files, fixed cloud-msg styles, resolves #224 2019-05-09 15:13:53 -06:00
youtube.html fix frontmatter causing build issues, add custom youtube shortcode, add video to demo data section, resolves #1135 2020-06-23 13:54:02 -06:00