diff --git a/data/flux_stdlib_frontmatter.yml b/data/flux_stdlib_frontmatter.yml index 200c2e545..4b92702e4 100644 --- a/data/flux_stdlib_frontmatter.yml +++ b/data/flux_stdlib_frontmatter.yml @@ -920,11 +920,49 @@ aliases: - /influxdb/v2/reference/flux/stdlib/experimental/mqtt/ - /influxdb/cloud/reference/flux/stdlib/experimental/mqtt/ + prepend: + block: warn + content: | + #### Only supported in InfluxDB Cloud (TSM) + + The `experimental/mqtt` package only supported in InfluxDB Cloud (TSM). + It is still available to import in InfluxDB OSS and Enterprise, but + functions will not successfully publish to an MQTT broker. + exclude_from: + nightly: true + oss: ^* + enterprise: ^* /flux/v0/stdlib/experimental/mqtt/to.md: | aliases: - /influxdb/v2/reference/flux/stdlib/experimental/mqtt/to/ - /influxdb/cloud/reference/flux/stdlib/experimental/mqtt/to/ + prepend: + block: warn + content: | + #### Only supported in InfluxDB Cloud (TSM) + + The `experimental/mqtt` package only supported in InfluxDB Cloud (TSM). + It is still available to import in InfluxDB OSS and Enterprise, but + functions will not successfully publish to an MQTT broker. + exclude_from: + nightly: true + oss: ^* + enterprise: ^* + +/flux/v0/stdlib/experimental/mqtt/publish.md: | + prepend: + block: warn + content: | + #### Only supported in InfluxDB Cloud (TSM) + + The `experimental/mqtt` package only supported in InfluxDB Cloud (TSM). + It is still available to import in InfluxDB OSS and Enterprise, but + functions will not successfully publish to an MQTT broker. + exclude_from: + nightly: true + oss: ^* + enterprise: ^* /flux/v0/stdlib/experimental/oee/_index.md: | aliases: diff --git a/layouts/partials/footer/modals/flux-influxdb-versions.html b/layouts/partials/footer/modals/flux-influxdb-versions.html index 722bfd019..cc69dd83a 100644 --- a/layouts/partials/footer/modals/flux-influxdb-versions.html +++ b/layouts/partials/footer/modals/flux-influxdb-versions.html @@ -45,7 +45,8 @@ {{ $versionSemVer := split $value "." }} {{ $supported := cond (ge (index $versionSemVer 0) (index $introducedSemVer 0)) (cond (ge (index $versionSemVer 1) (index $introducedSemVer 1)) (cond (ge (index $versionSemVer 2) (index $introducedSemVer 2)) true false) false) false }} {{ $deprecated := and (isset $.Page.Params "deprecated") (cond (ge (index $versionSemVer 0) (index $deprecatedSemVer 0)) (cond (ge (index $versionSemVer 1) (index $deprecatedSemVer 1)) (cond (ge (index $versionSemVer 2) (index $deprecatedSemVer 2)) true false) false) false) }} - {{ $excluded := gt (len (findRE (string $excludePatternOSS) $key)) 0 }} + {{ $nightlyExcluded := and (eq $key "nightly") $.Page.Params.exclude_from.nightly }} + {{ $excluded := or (gt (len (findRE (string $excludePatternOSS) $key)) 0) $nightlyExcluded }}

InfluxDB {{ $key }}