The sidebar navigation (table of contents) shows duplicate sections and method names on documentation pages that use multi-language code examples.
Steps to Reproduce
- Go to https://www.inngest.com/docs/learn/inngest-steps
- Look at the right-hand sidebar and it shows all sections from all languages (TypeScript, Go, Python) variants are rendered in the sidebar simultaneously
Expected Behavior
The sidebar should:
- Show only one "Available Step Methods" section
- Dynamically update method names in the sidebar when switching between language tabs
- Display TypeScript methods when TypeScript tab is selected, Go methods when Go tab is selected, etc.
It should look something like:

The sidebar navigation (table of contents) shows duplicate sections and method names on documentation pages that use multi-language code examples.
Steps to Reproduce
Expected Behavior
The sidebar should:
It should look something like: