Move documentation source file to the dedicated sub directory
... and ignore the documentation files built. Change-Id: Ia5a02aaaa288d38da0ab287ef4fc527e4ba4cfd5
This commit is contained in:
parent
93303286da
commit
dd98e5cc05
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,5 +5,6 @@
|
||||
vendor/*
|
||||
Gemfile.lock
|
||||
packstack.egg-info
|
||||
docs/build
|
||||
releasenotes/build
|
||||
.stestr
|
||||
|
@ -30,7 +30,7 @@ FILE_YUM_VERSION_LOCK = "/etc/yum/pluginconf.d/versionlock.list"
|
||||
|
||||
PACKSTACK_SRC_DOC = os.path.realpath(
|
||||
os.path.join(os.path.abspath(
|
||||
packstack.__path__[0]), '..', 'docs/packstack.rst'
|
||||
packstack.__path__[0]), '..', 'docs/source/packstack.rst'
|
||||
)
|
||||
)
|
||||
if os.path.exists(PACKSTACK_SRC_DOC):
|
||||
|
@ -23,7 +23,7 @@ packages =
|
||||
packstack
|
||||
|
||||
data_files =
|
||||
share/packstack = docs/packstack.rst
|
||||
share/packstack = docs/source/packstack.rst
|
||||
|
||||
[global]
|
||||
setup-hooks =
|
||||
|
2
tox.ini
2
tox.ini
@ -31,7 +31,7 @@ setenv = NOSE_WITH_COVERAGE=1
|
||||
commands = {posargs}
|
||||
|
||||
[testenv:docs]
|
||||
commands = sphinx-build -a -E -W -d docs/build/doctrees -b html docs docs/build/html
|
||||
commands = sphinx-build -a -E -W -d docs/build/doctrees -b html docs/source docs/build/html
|
||||
|
||||
[testenv:releasenotes]
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
|
Loading…
x
Reference in New Issue
Block a user