Skip to content

fix: move headings out from template #1848

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sunchanglong
Copy link
Collaborator

@sunchanglong sunchanglong commented Jun 19, 2025

docusaurus generate toc in right order for headings not wrapped by DocTemplate.and will just append headings wrapped in Doctemplate to the last position of the toc.
so only write headings directly in markdown files or only wrapped by DocTemplate Tag to keep the right order of TOC.

What's Changed in this PR

Describe the change in this PR

Checklist

  • Please confirm that all corresponding versions of the documents have been revised.
  • Please ensure that the content in sidebars.ts matches the current document structure when you changed the document structure.
  • This change requires follow-up update in localized docs.

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.

1 participant