Skip to content

Possible to edit table of contents depth? #657

@matthewfeickert

Description

@matthewfeickert

At the moment the table of contents for a lesson shows:

  • The episodes of the lesson
  • Heading level 2 sections of the episodes
Example from carpentries-incubator/reproducible-ml-workflows:

From https://github.com/carpentries-incubator/reproducible-ml-workflows

Image

I have not seen in the docs a way to extend the table of contents to also include subsequent heading levels. This would be nice to have as there are times when you would like to be able to quickly navigate to a specific section of an episode that is a subsection of a longer key part — so having additional level 2 heading wouldn't make sense.

Is it possible to edit the depth of the table of contents?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions