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
|
.scrapy
|
||||||
|
|
||||||
# Sphinx documentation
|
# Sphinx documentation
|
||||||
doc/_build/
|
docs/_build/
|
||||||
doc/source/_static/
|
docs/source/_static/
|
||||||
|
|
||||||
# PyBuilder
|
# PyBuilder
|
||||||
target/
|
target/
|
||||||
|
@ -28,8 +28,8 @@ oslo.policy.policies =
|
|||||||
deckhand = deckhand.policies:list_rules
|
deckhand = deckhand.policies:list_rules
|
||||||
|
|
||||||
[build_sphinx]
|
[build_sphinx]
|
||||||
source-dir = doc/source
|
source-dir = docs/source
|
||||||
build-dir = doc/build
|
build-dir = docs/build
|
||||||
all_files = 1
|
all_files = 1
|
||||||
warning-is-error = 1
|
warning-is-error = 1
|
||||||
|
|
||||||
|
8
tox.ini
8
tox.ini
@ -62,7 +62,7 @@ commands =
|
|||||||
bandit -r deckhand -x deckhand/tests -n 5
|
bandit -r deckhand -x deckhand/tests -n 5
|
||||||
|
|
||||||
[testenv:releasenotes]
|
[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
|
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
||||||
|
|
||||||
[testenv:genconfig]
|
[testenv:genconfig]
|
||||||
@ -83,10 +83,10 @@ commands = flake8 {posargs}
|
|||||||
# [H904] Delay string interpolations at logging calls.
|
# [H904] Delay string interpolations at logging calls.
|
||||||
enable-extensions = H106,H203,H204,H205,H210,H904
|
enable-extensions = H106,H203,H204,H205,H210,H904
|
||||||
ignore = E127,E128,E129,E131,H405
|
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]
|
[testenv:docs]
|
||||||
deps = -r{toxinidir}/doc/requirements.txt
|
deps = -r{toxinidir}/docs/requirements.txt
|
||||||
commands =
|
commands =
|
||||||
rm -rf doc/build
|
rm -rf docs/build
|
||||||
python setup.py build_sphinx {posargs}
|
python setup.py build_sphinx {posargs}
|
||||||
|
Loading…
Reference in New Issue
Block a user