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
{{ message }}
Repository navigation
Plot directive may be confused by ..include:: #17860
In our docs, we have users/whats_new.rst that does .. include:: prev_whats_new/whats_new_3.3.0.rst.
For any plot directives, this latter file creates files like build/plot_directive/users/prev_whats_new/whats_new_3-3-0-*.*. Somehow this also gets copied to build/plot_directive/users/whats_new-*.*. Then in the final docs (in build/html), this ends up in coming from _images/whats_new-*.*. I don't really understand why that third copy is made, since the other two still exist in build/html, but whatever.
The problem occurs when you update plots in whats_new_3.3.0.rst. Only the first image is updated, and nothing is copied to the second or third locations.
I think this pretty self-contained to the sphinx extension code only, so should be a good first issue. However, since it requires understanding sphinx it's at least medium difficulty.
Activity
QuLogic commentedon Jul 10, 2020
I think this pretty self-contained to the sphinx extension code only, so should be a good first issue. However, since it requires understanding sphinx it's at least medium difficulty.