-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Plot directive may be confused by ..include:: #17860
Copy link
Copy link
Closed
Labels
Difficulty: Mediumhttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issueshttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issuesGood first issueOpen a pull request against these issues if there are no active ones!Open a pull request against these issues if there are no active ones!topic: sphinx extension
Milestone
Metadata
Metadata
Assignees
Labels
Difficulty: Mediumhttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issueshttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issuesGood first issueOpen a pull request against these issues if there are no active ones!Open a pull request against these issues if there are no active ones!topic: sphinx extension
Bug report
In our docs, we have
users/whats_new.rstthat does.. include:: prev_whats_new/whats_new_3.3.0.rst.For any
plotdirectives, this latter file creates files likebuild/plot_directive/users/prev_whats_new/whats_new_3-3-0-*.*. Somehow this also gets copied tobuild/plot_directive/users/whats_new-*.*. Then in the final docs (inbuild/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 inbuild/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.Matplotlib version
print(matplotlib.get_backend())): TkAgg