You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
['sphinx.ext.todo', # since found irrelevant to the issue'sphinx.ext.autodoc', # since found irrelevant to the issue'sphinx.ext.viewcode',
'sphinx.ext.autosummary']
Additional learning:
I have slimmed down the example repo:
It appears to be a conflict
between autoapi and viewcode extensions, with the following settings:
autoapi_options = ['inherited-members']
autoapi_python_use_implicit_namespaces = True
autoapi_python_class_content = 'both'
I have pushed a commit with the slimmed down example.
The text was updated successfully, but these errors were encountered:
Even more strangely I just re-ran my original example (with the same env) and I was un able to replicate the error. Obviously something changed (I rebuilt my machine with ubuntu 24.04), but search me... Closing the issue.
This is a port of an issue from Sphinx (sphinx-doc/sphinx#12026)
The original issue:
Describe the bug
building sphinx the build fails if the child class is smaller than the parent class file.
Error message
Adding blank lines to the child class (at the end of the file) resolves the problem....
It seems like it must be a rather minimal problem, but it took some time to find the issue
How to Reproduce
The easiest way to reproduce the error is to clone the demo repo I have created: It has full environment information (conda) as well. https://github.com/hansonmcoombs/sphinx_bug_test
Environment Information
Sphinx extensions
Additional learning:
I have slimmed down the example repo:
It appears to be a conflict
between autoapi and viewcode extensions, with the following settings:
I have pushed a commit with the slimmed down example.
The text was updated successfully, but these errors were encountered: