This patch enables the sphinx PlantUML extension. As PlantUML is often used in Tacker documents, authors of specs can re-use diagrams when they write user guides with small revising. To build plantUML with a sphinx PlantUML extension: - Updated conf.py - Updated requirements - Added plantuml.jar To use the sphinx PlantUML extension in Zuul jobs: - Added bindep [1][2] to install graphviz - Added pre.yaml to install java [3] - Updated setup.cfg (this is necessary to place more than two directories at the project root) Others: - Added examples to 2023.2/placeholder.rst and template.rst [1] https://github.com/openstack/cinder-specs/blob/master/bindep.txt [2] https://docs.opendev.org/opendev/bindep/latest/readme.html [3] https://opendev.org/zuul/zuul-jobs/src/branch/master/roles/ensure-java Change-Id: I72c2c7887ceba4734b367f7e5bc78921eb0ab0a1
2.1 KiB
Team and repository tags
OpenStack Tacker Specifications
This git repository is used to hold approved design specifications for additions to the Tacker project. Reviews of the specs are done in gerrit, using a similar workflow to how we review and merge changes to the code itself.
The layout of this repository is:
specs/<release>/
You can find an example spec in specs/template.rst.
Specifications are proposed for a given release by adding them to the specs/<release> directory and posting it for review. The implementation status of a blueprint for a given release can be found by looking at the blueprint in launchpad. Not all approved blueprints will get fully implemented.
Specifications have to be re-proposed for every release. The review may be quick, but even if something was previously approved, it should be re-reviewed to make sure it still makes sense as written.
Please note, Launchpad blueprints are still used for tracking the current status of blueprints. For more information, see:
https://wiki.openstack.org/wiki/Blueprints
Launchpad blueprints for Tacker can be found at:
For more information about working with gerrit, see:
https://docs.openstack.org/infra/manual/developers.html#development-workflow
To validate that the specification is syntactically correct (i.e. get more confidence in the Zuul result), please execute the following command:
$ tox
Note that you need to install Java such as openjdk in advance to run
tox
as the plantUML which depends on Java is used inside
some specs.
After running tox
, the documentation will be available
for viewing in HTML format in the doc/build/
directory.
Please do not checkin the generated HTML files as a part of your
commit.