Capitalize project names correctly

Update capitalization of project names.

Change-Id: Id816776b594ad4cf0e630d08251fbc7b084c083e
This commit is contained in:
Andreas Jaeger 2015-04-14 21:08:08 +02:00
parent 66843e2440
commit 11b7494d90
2 changed files with 8 additions and 8 deletions

View File

@ -31,13 +31,13 @@ PROJECTS = ['ceilometer', 'cinder', 'glance', 'heat', 'keystone', 'neutron',
MASTER_RELEASE = 'Kilo'
CODENAME_TITLE = {'ceilometer': 'Telemetry',
'cinder': 'OpenStack Block Storage',
'glance': 'OpenStack Image Service',
'glance': 'OpenStack Image service',
'heat': 'Orchestration',
'keystone': 'OpenStack Identity',
'neutron': 'OpenStack Networking',
'nova': 'OpenStack Compute',
'swift': 'OpenStack Object Storage',
'trove': 'Database Service'}
'trove': 'Database service'}
def setup_venv(branch, novenvupdate):

View File

@ -546,8 +546,8 @@ def document_single_project(os_command, output_dir):
api_name = "OpenStack Block Storage API"
title = "Block Storage command-line client"
elif os_command == 'glance':
api_name = 'OpenStack Image Service API'
title = "Image Service command-line client"
api_name = 'OpenStack Image service API'
title = "Image service command-line client"
# Does not know about bash-completion yet, need to specify
# subcommands manually
subcommands = ["image-create", "image-delete", "image-list",
@ -584,11 +584,11 @@ def document_single_project(os_command, output_dir):
"stat", "upload"]
elif os_command == 'trove':
api_name = "Database API"
title = "Database Service command-line client"
title = "Database service command-line client"
blacklist = ["resize-flavor"]
elif os_command == 'trove-manage':
api_name = "Database Management Utility"
title = "Database Service Management command-line client"
title = "Database service management command-line client"
# Does not know about bash-completion yet, need to specify
# subcommands manually
subcommands = ["db_sync", "db_upgrade",
@ -623,7 +623,7 @@ def document_single_project(os_command, output_dir):
if os_command == 'glance':
out_file.write("""
<section xml:id=\"glance_cli_v1\">
<title>Image Service API v1 commands</title>\n""")
<title>Image service API v1 commands</title>\n""")
if os_command == 'openstack':
generate_subcommands(os_command, out_file, blacklist,
@ -673,7 +673,7 @@ def document_single_project(os_command, output_dir):
out_file.write("""
<section xml:id=\"glance_cli_v2\">
<title>Image Service API v2 commands</title>
<title>Image service API v2 commands</title>
<para>
You can select an API version to use by adding the
<parameter>--os-image-api-version</parameter> option or by setting