Move documentation source file to the dedicated sub directory

... and ignore the documentation files built.

Change-Id: Ia5a02aaaa288d38da0ab287ef4fc527e4ba4cfd5
This commit is contained in:
Takashi Kajinami 2025-03-13 23:16:34 +09:00
parent 93303286da
commit dd98e5cc05
6 changed files with 4 additions and 3 deletions

1
.gitignore vendored
View File

@ -5,5 +5,6 @@
vendor/*
Gemfile.lock
packstack.egg-info
docs/build
releasenotes/build
.stestr

View File

@ -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):

View File

@ -23,7 +23,7 @@ packages =
packstack
data_files =
share/packstack = docs/packstack.rst
share/packstack = docs/source/packstack.rst
[global]
setup-hooks =

View File

@ -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