-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Enable local doc building without git installation #13015
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is done this way so that the you can build the docs of a released version of matplotlib (which will report as the tag name) but still capture what the commit the docs were built off of was.
For example, the currently published docs report "Doc version v3.0.2-2-g91e2d00a8" but with this change would report just 'v3.0.2'.
Ah fair enough, maybe adding a |
I think the best fix would be to replicate part of versioneer and use the git export templating, a quick fix would be to put the subprocess call in a |
Our last two comments passed in the ether, looks like |
d4879ac
to
0c19a56
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do not see how this could have caused the ttc failure...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Travis failure is #13137 and unrelated to this PR.
…015-on-v3.0.x Backport PR #13015 on branch v3.0.x (Enable local doc building without git installation)
This just uses the version that
versioneer
gives Matplotlib. This should be a 1:1 mapping between commits and version numbers (my local build givesDoc version 3.0.2.post1037.dev0+g0fec7f1c3.
).Fixes #13013