Comment 0 for bug 1673425

Olena Logvinova (ologvinova) wrote :

*Steps to reproduce:*

1. Use the following instructions to set up openstack-doc-tools:
   https://docs.openstack.org/contributor-guide/doc-tools/cli-reference.html
2. Generate an updated config file for **Cinder** using openstack-doc-tools. See output:
   https://review.openstack.org/#/c/445296.
3. Verify the version python-cinderclient that this file was generated for:
   https://review.openstack.org/#/c/445296/1/doc/cli-reference/source/cinder.rst (line 26) -
   version **2.0.0**.
4. Verify that the `manageable-list` command is deleted (line 194).
5. Verify the shell.py file of python-cinderclient for v2:
   https://github.com/openstack/python-cinderclient/blob/master/cinderclient/v2/shell.py#L2500

**Actual result:**

The `manageable-list` command is present in the shell.py file of python-cinderclient for v2 although it was deleted by the openstack-doc-tools while generating new content.

**Expected result:**

The openstack-doc-tools generates updated content for the corresponding version of the python-clients correctly.