Fix shortcodes (#4739)

* WIP trying to fix shortcodes

* hotfix: fixed broken links

* fix shortcodes
pull/4740/head
Scott Anderson 2023-02-02 10:51:35 -07:00 committed by GitHub
parent aff1587d8d
commit 33aa277ac9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 7 deletions

View File

@ -41,8 +41,8 @@ question, the better solution for high series cardinality workloads.
IOx lets you query your time series data with SQL. For more information about IOx lets you query your time series data with SQL. For more information about
querying your data with SQL, see: querying your data with SQL, see:
- [Query data with SQL](/influxdb/cloud-iox/...) - [Query data with SQL](/influxdb/cloud-iox/query-data/sql/)
- [InfluxDB SQL reference](/influxdb/cloud-iox/...) - [InfluxDB SQL reference](/influxdb/cloud-iox/reference/sql/)
#### Do you want better InfluxQL performance? #### Do you want better InfluxQL performance?

View File

@ -22,7 +22,8 @@ to visualize data from your **InfluxDB {{< current-version >}}** instance.
The instructions in this guide require **Grafana Cloud** or **Grafana v8.0+**. The instructions in this guide require **Grafana Cloud** or **Grafana v8.0+**.
{{% /note %}} {{% /note %}}
1. [Start InfluxDB OSS {{< current-version >}}](/influxdb/v2.6/install/#start-influxdb). 1. {{% cloud-only %}}[Log into InfluxDB Cloud](https://cloud2.influxdata.com).{{% /cloud-only %}}
1. {{% oss-only %}}[Start InfluxDB](/influxdb/v2.6/install/#start-and-configure-influxdb).{{% /oss-only %}}
2. [Sign up for Grafana Cloud](https://grafana.com/products/cloud/) or 2. [Sign up for Grafana Cloud](https://grafana.com/products/cloud/) or
[download and install Grafana](https://grafana.com/grafana/download). [download and install Grafana](https://grafana.com/grafana/download).
3. Visit your **Grafana Cloud user interface** (UI) or, if running Grafana locally, 3. Visit your **Grafana Cloud user interface** (UI) or, if running Grafana locally,
@ -75,9 +76,9 @@ configure your InfluxDB connection:
{{< img-hd src="/img/influxdb/cloud-tools-grafana.png" alt="Use Grafana with InfluxDB Cloud and Flux" />}} {{< img-hd src="/img/influxdb/cloud-tools-grafana.png" alt="Use Grafana with InfluxDB Cloud and Flux" />}}
{{% /cloud-only %}} {{% /cloud-only %}}
{{< oss-only >}} {{% oss-only %}}
{{< img-hd src="/img/influxdb/2-2-tools-grafana.png" alt="Use Grafana with InfluxDB and Flux" />}} {{< img-hd src="/img/influxdb/2-2-tools-grafana.png" alt="Use Grafana with InfluxDB and Flux" />}}
{{< /oss-only >}} {{% /oss-only %}}
{{% /tab-content %}} {{% /tab-content %}}
<!----------------------------- END FLUX CONTENT -----------------------------> <!----------------------------- END FLUX CONTENT ----------------------------->

View File

@ -3,5 +3,5 @@
{{- $keep := .Get "keep" | default false -}} {{- $keep := .Get "keep" | default false -}}
{{- $keepClass := cond ( $keep ) " keep" "" -}} {{- $keepClass := cond ( $keep ) " keep" "" -}}
{{- $isCloud := in $currentVersion "cloud" -}} {{- $isCloud := in $currentVersion "cloud" -}}
{{- $versionText := cond ($isCloud) "Cloud" $currentVersion }} {{- $versionText := cond ($isCloud) "Cloud" $currentVersion -}}
<span class="current-version{{ $keepClass }}">{{ $versionText }}</span> <span class="current-version{{ $keepClass }}">{{- $versionText -}}</span>