Skip to content

Commit

Permalink
tocbot fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Amy Chen authored and Amy Chen committed Mar 13, 2024
1 parent 6c0c156 commit b0ecdbe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Landing.js
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,7 @@ export default class Landing extends Component {
contentSelector: ".active .summary__display", // where to grab the headings to build the table of contents
headingSelector: "h2, h3", // which headings to grab inside of the contentSelector element
positionFixedSelector: ".active .summary__nav", // element to add the positionFixedClass to
ignoreSelector: ".panel-title",
collapseDepth: 0, // how many heading levels should not be collpased
includeHtml: true, // include the HTML markup from the heading node, not just the text,
// fixedSidebarOffset: this.shouldShowTabs() ? -1 * MIN_HEADER_HEIGHT : "auto",
Expand Down

0 comments on commit b0ecdbe

Please sign in to comment.