Skip to content

Increase header levels on "Payloads" documentation page to fix table of contents#3040

Merged
liamcottle merged 1 commit into
meshcore-dev:devfrom
blowfishpro:docs/FixPayloadDocsFormatting
Jul 27, 2026
Merged

Increase header levels on "Payloads" documentation page to fix table of contents#3040
liamcottle merged 1 commit into
meshcore-dev:devfrom
blowfishpro:docs/FixPayloadDocsFormatting

Conversation

@blowfishpro

Copy link
Copy Markdown

Overview

It looks like mkdocs will only consider the first H1 (if any) and subheaders under it for the table of contents. All the section headers for the various payload types were H1s, so they get omitted from the table of contents.

This change increases the header levels of everything below "important concepts" by 1 so that the table of contents correctly includes them.

Comparison

Before

Payloads page table of contents before this change

After

Payloads page table of contents after this change

mkdocs will only consider the first H1 (if any) and subheaders under it for the table of contents

this increases the header levels of everything below "important concepts" by 1 so that the table of contents correctly resolves them
@liamcottle
liamcottle merged commit cee6d94 into meshcore-dev:dev Jul 27, 2026
@blowfishpro
blowfishpro deleted the docs/FixPayloadDocsFormatting branch July 27, 2026 05:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants