sphinx-book-theme
sphinx-book-theme copied to clipboard
AttributeError: 'BootstrapHTML5Translator' object has no attribute 'generate_targets_for_table'
Describe the bug
context When I do build via read the docs. I just changed from the alabaster theme to this one.
expectation I expected it to build to occur.
bug But instead it fails happens Here's an error message I ran into...
[Previous line repeated 2 more times]
File "/home/docs/checkouts/readthedocs.org/user_builds/piel/envs/latest/lib/python3.11/site-packages/docutils/nodes.py", line 191, in walkabout
visitor.dispatch_visit(self)
File "/home/docs/checkouts/readthedocs.org/user_builds/piel/envs/latest/lib/python3.11/site-packages/sphinx/util/docutils.py", line 572, in dispatch_visit
method(node)
File "/home/docs/checkouts/readthedocs.org/user_builds/piel/envs/latest/lib/python3.11/site-packages/pydata_sphinx_theme/bootstrap_html_translator.py", line 27, in visit_table
self.generate_targets_for_table(node)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'BootstrapHTML5Translator' object has no attribute 'generate_targets_for_table'
Exception occurred:
File "/home/docs/checkouts/readthedocs.org/user_builds/piel/envs/latest/lib/python3.11/site-packages/pydata_sphinx_theme/bootstrap_html_translator.py", line 27, in visit_table
self.generate_targets_for_table(node)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'BootstrapHTML5Translator' object has no attribute 'generate_targets_for_table'
The full traceback has been saved in /tmp/sphinx-err-g0ck6vdr.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>
problem This is a problem for people doing building this theme in recent environments.
Reproduce the bug
Go to https://readthedocs.org/projects/piel/builds/21295318/
It has the whole setup. It should work.
List your environment
https://readthedocs.org/projects/piel/builds/21295318/