Skip to content

Sidebar Navigation Shows Duplicate Sections for Multi-Language Docs #1215

@soniasingla

Description

@soniasingla

The sidebar navigation (table of contents) shows duplicate sections and method names on documentation pages that use multi-language code examples.

Steps to Reproduce

  1. Go to https://www.inngest.com/docs/learn/inngest-steps
  2. 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:

  1. Show only one "Available Step Methods" section
  2. Dynamically update method names in the sidebar when switching between language tabs
  3. Display TypeScript methods when TypeScript tab is selected, Go methods when Go tab is selected, etc.

It should look something like:

Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions