Skip to content

Enable expanding ToC in numpydoc doc #322

Open
@zmoon

Description

@zmoon

numpydoc/doc/conf.py

Lines 140 to 142 in b4f2126

html_sidebars = {
"**": [],
}

seems to disable the expansion of the ToC headings. I don't know if this is a bug or a feature but it is unfortunate since it makes the improvement of #320 a bit less useful.

Edit: looks like the fix is to replace it by

html_sidebars = {
    "**": ["sidebar-nav-bs.html"],
}

Originally posted by @zmoon in #320 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions