Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Extend sphinx Makefile to cleanup completely #12706

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

Merged
merged 1 commit into from
Nov 2, 2018

Conversation

timhoffm
Copy link
Member

@timhoffm timhoffm commented Nov 1, 2018

PR Summary

Fixes #11139. That PR references an upstream fix, which hasn't made any progress so far.

For the time being, we can work around this by using a hand-crafted clean target.

rm -rf "$(SOURCEDIR)/gallery"
rm -rf "$(SOURCEDIR)/tutorials"
rm -rf "$(SOURCEDIR)/savefig"
rm -rf "$(SOURCEDIR)/sphinxext/__pycache__"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would guess that this isn't needed since __pycache__ is automatically re-generated if a .py file changes? I'm not an expert though so maybe it is needed...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't know either. I've just taken the list from #11139.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well I guess it can't do any harm

@timhoffm timhoffm added this to the v3.1 milestone Nov 1, 2018
Copy link
Member

@NelleV NelleV left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@NelleV NelleV merged commit d9c766e into matplotlib:master Nov 2, 2018
@timhoffm timhoffm deleted the doc-make-clean branch November 2, 2018 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"make clean" doesn't remove all the build doc files
3 participants