[cli-ref] add heat deprecation note
As of https://review.openstack.org/#/c/291631/ the heat CLI is deprecated. Change-Id: Id759651a135a9ace0c6b331e4ad5ecb22e5707c8
This commit is contained in:
parent
984c9f8184
commit
cec83cebf4
@ -92,6 +92,14 @@ def generate_heading(os_command, api_name, title,
|
||||
os_file.write(".. #################################################\n\n")
|
||||
format_heading(title, 1, os_file)
|
||||
|
||||
if os_command == "heat":
|
||||
os_file.write(".. warning::\n\n")
|
||||
os_file.write(" The " + os_command + " CLI is deprecated\n")
|
||||
os_file.write(" in favor of python-openstackclient.\n")
|
||||
os_file.write(" For more information, see :doc:`openstack`.\n")
|
||||
os_file.write(" For a Python library, continue using\n")
|
||||
os_file.write(" python-" + os_command + "client.\n\n")
|
||||
|
||||
if os_command == "openstack":
|
||||
os_file.write("The openstack client is a common OpenStack")
|
||||
os_file.write("command-line interface (CLI).\n\n")
|
||||
|
Loading…
x
Reference in New Issue
Block a user