Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide "Contents" on pages with multiple TOC trees #613

Commits on Jan 4, 2023

  1. Hide "Contents" on pages with multiple TOC trees

    If a document has more than one TOC tree directive and no other headings
    on the page, an empty "Contents" section is rendered in the sidebar.
    Adjusting the hide-toc logic to check if all entries in the TOC tree are
    all local TOC tree entries.
    
    Signed-off-by: James Knight <james.d.knight@live.com>
    jdknight committed Jan 4, 2023
    Configuration menu
    Copy the full SHA
    b6968da View commit details
    Browse the repository at this point in the history