Trivial: Rename doc to docs to align with UCP standard
Change-Id: I79e1544bfee8701cc49fe50509d69d53495e2ffa
This commit is contained in:
parent
116fafcec3
commit
d27814cb1e
4
.gitignore
vendored
4
.gitignore
vendored
@ -67,8 +67,8 @@ instance/
|
||||
.scrapy
|
||||
|
||||
# Sphinx documentation
|
||||
doc/_build/
|
||||
doc/source/_static/
|
||||
docs/_build/
|
||||
docs/source/_static/
|
||||
|
||||
# PyBuilder
|
||||
target/
|
||||
|
@ -28,8 +28,8 @@ oslo.policy.policies =
|
||||
deckhand = deckhand.policies:list_rules
|
||||
|
||||
[build_sphinx]
|
||||
source-dir = doc/source
|
||||
build-dir = doc/build
|
||||
source-dir = docs/source
|
||||
build-dir = docs/build
|
||||
all_files = 1
|
||||
warning-is-error = 1
|
||||
|
||||
|
8
tox.ini
8
tox.ini
@ -62,7 +62,7 @@ commands =
|
||||
bandit -r deckhand -x deckhand/tests -n 5
|
||||
|
||||
[testenv:releasenotes]
|
||||
deps = -r{toxinidir}/doc/requirements.txt
|
||||
deps = -r{toxinidir}/docs/requirements.txt
|
||||
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
||||
|
||||
[testenv:genconfig]
|
||||
@ -83,10 +83,10 @@ commands = flake8 {posargs}
|
||||
# [H904] Delay string interpolations at logging calls.
|
||||
enable-extensions = H106,H203,H204,H205,H210,H904
|
||||
ignore = E127,E128,E129,E131,H405
|
||||
exclude = .venv,.git,.tox,dist,*lib/python*,*egg,build,releasenotes,doc
|
||||
exclude = .venv,.git,.tox,dist,*lib/python*,*egg,build,releasenotes,docs
|
||||
|
||||
[testenv:docs]
|
||||
deps = -r{toxinidir}/doc/requirements.txt
|
||||
deps = -r{toxinidir}/docs/requirements.txt
|
||||
commands =
|
||||
rm -rf doc/build
|
||||
rm -rf docs/build
|
||||
python setup.py build_sphinx {posargs}
|
||||
|
Loading…
Reference in New Issue
Block a user