Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Asana task](https://app.asana.com/0/1200099998847559/1205976870784519/f) ## What are you changing in this pull request and why? If h2 or h3 headers exist within the Tabs or Expandable components, they appear in the TOC. However they are unable to link to the section in the page from the TOC as they are hidden elements initially. This filters out TOC headers which are nested in Tabs or Expandable components. ## Previews This page has tabs and a demo `expandable` component at the top of the page. Verify the headers within these sections are removed from the TOC: https://docs-getdbt-com-git-hide-toc-headers-dbt-labs.vercel.app/docs/cloud/cloud-cli-installation This page has h2 & h3 headings, verify they remain on the page: https://docs-getdbt-com-git-hide-toc-headers-dbt-labs.vercel.app/docs/cloud/about-cloud/architecture ## Checklist - [x] Remove demo Expandable content from cloud-cli-installation page
- Loading branch information