mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-15 16:49:52 +00:00
Start creating documentation
This commit is contained in:
parent
4e294af81c
commit
e66fc2efa8
5 changed files with 340 additions and 0 deletions
22
tox.ini
22
tox.ini
|
|
@ -24,6 +24,28 @@ deps =
|
|||
commands =
|
||||
flake8
|
||||
|
||||
[testenv:docs]
|
||||
deps =
|
||||
sphinx>=1.3.0
|
||||
commands =
|
||||
sphinx-build -E -W -c docs/source/ -b html docs/source/ docs/build/html
|
||||
|
||||
[testenv:serve-docs]
|
||||
basepython = python3.4
|
||||
skipsdist = true
|
||||
skip_install = true
|
||||
use_develop = false
|
||||
changedir = docs/_build/html
|
||||
deps =
|
||||
commands =
|
||||
python -m http.server {posargs}
|
||||
|
||||
[testenv:readme]
|
||||
deps =
|
||||
readme_renderer
|
||||
commands =
|
||||
python setup.py check -r -s
|
||||
|
||||
[flake8]
|
||||
# Ignore some flake8-docstrings errors
|
||||
ignore = D203
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue