Run prettier over docs shortcodes (#2858)

Co-authored-by: Phillip Carter <pcarter@fastmail.com>
This commit is contained in:
Patrice Chalin 2023-06-11 00:03:30 -04:00 committed by GitHub
parent 87bb7e199d
commit f6c56866de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 6 deletions

View File

@ -2,10 +2,14 @@
/.netlify
/iconography
/layouts
/themes
/tmp
/layouts/*
!/layouts/shortcodes
/layouts/shortcodes/*
!/layouts/shortcodes/docs
# Ignore content-modules except for Community pages and Go docs
/content-modules/*

View File

@ -1,3 +1,7 @@
{{ $prettier_ignore := `
<!-- prettier-ignore -->
` -}}
{{ $lang := .Get 0 -}}
{{ $data := index $.Site.Data.instrumentation.languages $lang }}
{{ $name := $data.name -}}
@ -22,11 +26,11 @@ get started using OpenTelemetry {{ $name }}.
## Status and Releases
The current status of the major functional components for OpenTelemetry {{ $name }} is
as follows:
The current status of the major functional components for OpenTelemetry
{{ $name }} is as follows:
| Traces | Metrics | Logs |
| -------- | ------- | ------- |
| {{ $tracesStatus }} | {{ $metricsStatus }} | {{ $logsStatus }} |
| Traces | Metrics | Logs |
| ------------------- | -------------------- | ----------------- |
| {{ $tracesStatus }} | {{ $metricsStatus }} | {{ $logsStatus }} |
{{ partial "docs/latest-release.md" (dict "lang" $lang "Inner" .Inner) -}}