[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 \
|
@for f in $(ALL_DOCS); do \
|
||||||
if grep -q '<!-- tocstop -->' $$f; then \
|
if grep -q '<!-- tocstop -->' $$f; then \
|
||||||
echo markdown-toc: processing $$f; \
|
echo markdown-toc: processing $$f; \
|
||||||
$(MARKDOWN_TOC) --no-first-h1 -i $$f; \
|
$(MARKDOWN_TOC) --no-first-h1 --no-stripHeadingTags -i $$f; \
|
||||||
else \
|
else \
|
||||||
echo markdown-toc: no TOC markers, skipping $$f; \
|
echo markdown-toc: no TOC markers, skipping $$f; \
|
||||||
fi; \
|
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` -->
|
<!-- Re-generate TOC with `markdown-toc --no-first-h1 -i` -->
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>Table of Contents</summary>
|
||||||
|
|
||||||
<!-- toc -->
|
<!-- toc -->
|
||||||
|
|
||||||
- [Log Media](#log-media)
|
- [Log Media](#log-media)
|
||||||
|
|
@ -14,6 +17,8 @@ This document describes attributes for log media in OpenTelemetry. Log media are
|
||||||
|
|
||||||
<!-- tocstop -->
|
<!-- tocstop -->
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
## Log Media
|
## 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`.
|
**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