nova-specs/tools
melanie witt 3c64c66238 Make 'tox -e fast-specs' fail on sphinx warnings
I'm not sure if others will want this but when I made an edit on my
spec and ran 'tox -e fast-specs', my expectation was that it was a fast
way to check whether the edits I made would pass openstack-tox-docs in
the gate. This turned out not to be the case, 'tox -e fast-specs'
showed the "fast-specs: commands succeeded" message but when I uploaded
the change, the openstack-tox-docs job failed because there was a
sphinx parsing error in my spec.

This adds -W to the sphinx-build call to treat warnings as errors to
match 'tox -e docs' and openstack-tox-docs. It also runs sphinx-build
via exec to make the script fail if sphinx-build returns non-zero.

Change-Id: I9de750e7f44a746d4466c522004d0c2a624052e2
2022-03-31 04:45:53 +00:00
..
abandon_spec.py Stop to use the __future__ module. 2020-06-02 20:31:41 +02:00
count_blueprints.py Add a script for counting blueprints 2019-04-01 09:55:16 -05:00
fast-specs.sh Make 'tox -e fast-specs' fail on sphinx warnings 2022-03-31 04:45:53 +00:00
lib.py Tools & docs for backlog & abandoned spec process 2019-04-09 15:23:16 +00:00
move_implemented_specs.py Stop to use the __future__ module. 2020-06-02 20:31:41 +02:00
move_spec.py Stop to use the __future__ module. 2020-06-02 20:31:41 +02:00