Skip to content
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

BUG: Autosummary links broken in master #7570

Closed
larsoner opened this issue Apr 27, 2020 · 3 comments
Closed

BUG: Autosummary links broken in master #7570

larsoner opened this issue Apr 27, 2020 · 3 comments

Comments

@larsoner
Copy link
Contributor

As of commit e5192ba (according to git bisect) sphinx-gallery builds of a simple test are failing where references to objects are no longer usable:

.../tinybuild/auto_examples/future/plot_future_imports.rst:32: WARNING: py:func reference target not found: sphinx_gallery.backreferences.NameFinder

I wondered if it was due to #7549, but we explicitly have autosummary_generate = True in the conf.py so I don't think so.

I'll keep working on boiling this down to a more minimal example. But if anyone wants to try in the meantime, something like this should work:

git clone https://github.com/sphinx-gallery/sphinx-gallery.git
cd sphinx-gallery
pip install -ve .
cd sphinx_gallery/tests/tinybuild
make
@larsoner
Copy link
Contributor Author

I have reconfirmed that e5192ba causes the bug. Before that commit I get no warnings and:

Screenshot from 2020-04-27 11-01-04

After that commit:

Screenshot from 2020-04-27 11-03-37

Here is the minimal example, just unzip and run make:

tinybuild.zip

@tk0miya
Copy link
Member

tk0miya commented Apr 29, 2020

Thank you for letting me know. This must be a bug!

@tk0miya
Copy link
Member

tk0miya commented Apr 30, 2020

Fixed by #7578
Thank you for reporting.

@tk0miya tk0miya closed this as completed Apr 30, 2020
tk0miya added a commit that referenced this issue Apr 30, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants