[editorial]Add toc/tocstop to Logs pages (#2321)

This commit is contained in:
Patrice Chalin 2022-02-09 15:24:45 -05:00 committed by GitHub
parent 8da26373a6
commit a358a31b2a
2 changed files with 6 additions and 1 deletions

View File

@ -47,7 +47,7 @@ markdown-toc: $(MARKDOWN_TOC)
@for f in $(ALL_DOCS); do \
if grep -q '<!-- tocstop -->' $$f; then \
echo markdown-toc: processing $$f; \
$(MARKDOWN_TOC) --no-first-h1 -i $$f; \
$(MARKDOWN_TOC) --no-first-h1 --no-stripHeadingTags -i $$f; \
else \
echo markdown-toc: no TOC markers, skipping $$f; \
fi; \

View File

@ -6,6 +6,9 @@ This document describes attributes for log media in OpenTelemetry. Log media are
<!-- Re-generate TOC with `markdown-toc --no-first-h1 -i` -->
<details>
<summary>Table of Contents</summary>
<!-- toc -->
- [Log Media](#log-media)
@ -14,6 +17,8 @@ This document describes attributes for log media in OpenTelemetry. Log media are
<!-- tocstop -->
</details>
## Log Media
**Note:** The OpenTelemetry specification defines a [Resource](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/resource/sdk.md#resource-sdk) as `an immutable representation of the entity producing telemetry`.