adobe / parliament-client-template

A template for client projects of the developer documentation site
Apache License 2.0
7 stars 18 forks source link

Table of Contents does not show hierarchy as expected #398

Closed sana-malik closed 2 years ago

sana-malik commented 2 years ago

Expected Behaviour

The table of contents under the "On This Page" sidebar should match the headings hierarchy on the page.

Actual Behaviour

The table of contents is showing unexpected nesting, such as a flattened list:

image

Reproduce Scenario (including but not limited to)

https://developers.corp.adobe.com/adobe-cnac/architecture-best-practices/data_processing/spark.md/

Steps to Reproduce

Platform and Version

Sample Code that illustrates the problem

Logs taken while reproducing problem

sana-malik commented 2 years ago

Fixed by #399