Skip to content

Attribute Error when running the docs #11604

@rohanbabbar04

Description

@rohanbabbar04

Describe the bug

Thanks for this great project, I have been using it a lot..
Recently switching to sphinx==7.2.0, I am getting an AttributeError which was not there in the earlier version(

Theme error:
An error happened in rendering the page adding.
Reason: AttributeError("'TocTree' object has no attribute 'get_toctree_ancestors'")

Expecting a quick reply from you all...

How to Reproduce

These are some of the files that may be required:

Environment Information

Platform:              linux; (Linux-6.2.0-26-generic-x86_64-with-glibc2.35)
Python version:        3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0])
Python implementation: CPython
Sphinx version:        7.2.0
Docutils version:      0.19
Jinja2 version:        3.1.2
Pygments version:      2.15.1

Sphinx extensions

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions