Skip to content
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

Fix error uploading Sphinx doc with upload_docs. Fixes #1060 #2573

merged 4 commits into from Feb 20, 2021


Copy link

@melissa-kun-li melissa-kun-li commented Feb 19, 2021

Summary of changes

Closes #1060

Sphinx now uses builder_target_dirs in replacement of builder_target_dir This fix will set the target_dir in upload_docs to the path of the html builder.

Note: Upload_docs was restored support for sites other than PyPi as noted here:

Pull Request Checklist

Copy link

@jaraco jaraco left a comment

Choose a reason for hiding this comment

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

This PR is well done. Thanks for putting together the test, which clearly was a lot more effort than the fix itself (not an uncommon scenario). I have no major concerns and just a few comments for your consideration, then we're ready to merge.

Copy link
Contributor Author

@jaraco Thank you for mentoring me through it!

Copy link

jaraco commented Feb 20, 2021

Very nice. Thorough and thoughtful work.

@jaraco jaraco merged commit d31f7f0 into pypa:main Feb 20, 2021
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

upload_docs raises AttributeError with Sphinx 1.6
3 participants