mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
Create a tox docs environment (#1426)
To make it easier to build documentation locally, add a new tox environment that installs our requirements and runs Sphinx.
This commit is contained in:
+7
-1
@@ -104,7 +104,7 @@ pip install --editable path/to/project
|
||||
|
||||
You may also want to investigate `tox` to run tests:
|
||||
|
||||
``
|
||||
```
|
||||
pip install tox
|
||||
tox -epy36,flake8,black,isort
|
||||
```
|
||||
@@ -115,3 +115,9 @@ tox -epy36,flake8,black,isort
|
||||
pip install -r requirements.txt
|
||||
sphinx-build doc build
|
||||
```
|
||||
|
||||
If you use tox:
|
||||
|
||||
```
|
||||
tox -edocs
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user