[editorial]Add toc/tocstop to Logs pages (#2321)
This commit is contained in:
parent
8da26373a6
commit
a358a31b2a
2
Makefile
2
Makefile
|
|
@ -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; \
|
||||
|
|
|
|||
|
|
@ -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`.
|
||||
|
|
|
|||
Loading…
Reference in New Issue