DOC: Fix duplicate redirect - #24795
Conversation
The example /gallery/pyplots/dollar_ticks is included into the artists tutorial. matplotlib#24054 Moved that example and added a `.. redirect-from::` directive. This was then duplicated by the include. This PR fixes the issue by moving the include start point after the redirect.
|
I don't think you can (reasonably simple) distinguish this error from a case where the user has explicitly written a duplicate redirect. Let's just fix this and get on with life. If it happens more often inn the future we can always rethink whether we find a better solution. |
|
Owee, I'm MrMeeseeks, Look at me. There seem to be a conflict, please backport manually. Here are approximate instructions:
And apply the correct labels and milestones. Congratulations — you did some good work! Hopefully your backport PR will be tested by the continuous integration and merged soon! Remember to remove the If these instructions are inaccurate, feel free to suggest an improvement. |
|
Owee, I'm MrMeeseeks, Look at me. There seem to be a conflict, please backport manually. Here are approximate instructions:
And apply the correct labels and milestones. Congratulations — you did some good work! Hopefully your backport PR will be tested by the continuous integration and merged soon! Remember to remove the If these instructions are inaccurate, feel free to suggest an improvement. |

The example /gallery/pyplots/dollar_ticks is included into the artists tutorial. #24054 Moved that example and added a
.. redirect-from::directive. This was then duplicated by the include.This PR fixes the issue by moving the include start point after the redirect.
Closes #24058.