requests / requests-oauthlib

OAuthlib support for Python-Requests!
https://requests-oauthlib.readthedocs.org/
ISC License
1.71k stars 421 forks source link

Fix Docs generation - Improve Pipeline #459

Closed JonathanHuot closed 2 years ago

JonathanHuot commented 2 years ago

Add docs generation into tox. Took the opportunity to move Black Travis job into Tox as well.

To generate Sphinx (ReadTheDocs) locally, you can run tox -e docs To validate Readme syntax (used when publishing package into Pypi https://pypi.org/project/requests-oauthlib/ ), you can run tox -e readme To validate code syntax, you can run tox -e black

Also fix https://github.com/requests/requests-oauthlib/issues/392 by adding a docutils 0.16 restriction which is blocking ReadTheDocs worker.