IndexError: pop from empty list in depart_table when using sphinx_book_theme with custom extension djangodocs.py #13122
Labels
awaiting:response
Waiting for a response from the author of this issue
html theme
python
Pull requests that update Python code
type:bug
Describe the bug
When building documentation for Django using sphinx_book_theme, an IndexError: pop from empty list occurs in the depart_table function of a custom extension (djangodocs.py). The error seems related to table handling and compatibility with the theme or Sphinx version.
How to Reproduce
Clone the Django documentation source:
git clone https://github.com/django/django.git cd django/docs
Install necessary dependencies:
Build the documentation with the specified theme:
.\make.bat html
Observe the IndexError occurring in the console.
Environment Information
Sphinx extensions
No response
Additional context
Error log
The text was updated successfully, but these errors were encountered: