Merge "Add doc8 rule and check doc/source files"
This commit is contained in:
commit
cd598a4f83
@ -203,8 +203,8 @@ they've been stored in the cache may continue to work. Deployments using
|
|||||||
`memcached`_ may use the following keystonemiddleware configuration options
|
`memcached`_ may use the following keystonemiddleware configuration options
|
||||||
instead of an in-memory cache.
|
instead of an in-memory cache.
|
||||||
|
|
||||||
* ``memcached_servers``: (optional) if defined, the memcached server(s) to use for
|
* ``memcached_servers``: (optional) if defined, the memcached server(s) to use
|
||||||
caching. It will be ignored if Swift MemcacheRing is used instead.
|
for caching. It will be ignored if Swift MemcacheRing is used instead.
|
||||||
* ``token_cache_time``: (optional, default 300 seconds) Set to -1 to disable
|
* ``token_cache_time``: (optional, default 300 seconds) Set to -1 to disable
|
||||||
caching completely.
|
caching completely.
|
||||||
|
|
||||||
|
@ -7,6 +7,7 @@ flake8-docstrings==0.2.1.post1 # MIT
|
|||||||
|
|
||||||
coverage!=4.4,>=4.0 # Apache-2.0
|
coverage!=4.4,>=4.0 # Apache-2.0
|
||||||
cryptography!=2.0,>=1.6 # BSD/Apache-2.0
|
cryptography!=2.0,>=1.6 # BSD/Apache-2.0
|
||||||
|
doc8 # Apache-2.0
|
||||||
docutils>=0.11 # OSI-Approved Open Source, Public Domain
|
docutils>=0.11 # OSI-Approved Open Source, Public Domain
|
||||||
fixtures>=3.0.0 # Apache-2.0/BSD
|
fixtures>=3.0.0 # Apache-2.0/BSD
|
||||||
mock>=2.0.0 # BSD
|
mock>=2.0.0 # BSD
|
||||||
|
6
tox.ini
6
tox.ini
@ -51,6 +51,7 @@ exclude = .venv,.tox,dist,doc,*egg,build
|
|||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
commands=
|
commands=
|
||||||
|
doc8 doc/source
|
||||||
python setup.py build_sphinx
|
python setup.py build_sphinx
|
||||||
|
|
||||||
[testenv:releasenotes]
|
[testenv:releasenotes]
|
||||||
@ -59,3 +60,8 @@ commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasen
|
|||||||
[hacking]
|
[hacking]
|
||||||
import_exceptions =
|
import_exceptions =
|
||||||
keystonemiddleware.i18n
|
keystonemiddleware.i18n
|
||||||
|
|
||||||
|
[doc8]
|
||||||
|
extensions = .rst, .yaml
|
||||||
|
# lines should not be longer than 79 characters.
|
||||||
|
max-line-length = 79
|
||||||
|
Loading…
x
Reference in New Issue
Block a user