-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
viewcode.py gives "list index out of range" #11016
Comments
I'm experiencing the same issue. Do we know why this is happening and how can I resolve? |
I have the same issue. It is observed after pydantic migration (from 1.10.2 to 2.1.1). Instalation of autodoc-pydantic sphinx extension helps for me. |
Running into the same issue myself. |
Could you pinpoint the exact commit please? |
Unfortunately I can't, but it must be one of the commits between version 7.2.6 and 7.3.0. What confuses me, is that it only affects one of the projects, even tho they use a central Sphinx Update: Managed to get the
|
@Stausssi I tried this and got |
@jjacekk which version of autodoc_pydantic are you using? I have 2.1.0 and it's still failing with list index out of range |
@BrandonLiang Some of my packages: |
@jjacekk / @BrandonLiang what build command are you using? Can you link to the documentation it is for? A |
Describe the bug
When attempting to build the docs for our project at https://github.com/aiproteomics/aiproteomics we get an exception:
This happens when running
make coverage doctest html
.The full output is here:
How to Reproduce
The command was
make coverage doctest html
. run in the docs/ directory of our repo: https://github.com/aiproteomics/aiproteomicsIt is possible to cause this with
make html
Environment Information
text Platform: darwin; (macOS-10.16-x86_64-i386-64bit) Python version: 3.9.15 (main, Nov 24 2022, 08:29:02) [Clang 14.0.6 ]) Python implementation: CPython Sphinx version: 5.3.0 Docutils version: 0.17.1 Jinja2 version: 3.1.2
Sphinx extensions
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: