Browse Source

Capitalize project names correctly

Update capitalization of project names.

Change-Id: Id816776b594ad4cf0e630d08251fbc7b084c083e
tags/0.25
Andreas Jaeger 4 years ago
parent
commit
11b7494d90
2 changed files with 8 additions and 8 deletions
  1. 2
    2
      autogenerate_config_docs/diff_branches.py
  2. 6
    6
      os_doc_tools/commands.py

+ 2
- 2
autogenerate_config_docs/diff_branches.py View File

@@ -31,13 +31,13 @@ PROJECTS = ['ceilometer', 'cinder', 'glance', 'heat', 'keystone', 'neutron',
31 31
 MASTER_RELEASE = 'Kilo'
32 32
 CODENAME_TITLE = {'ceilometer': 'Telemetry',
33 33
                   'cinder': 'OpenStack Block Storage',
34
-                  'glance': 'OpenStack Image Service',
34
+                  'glance': 'OpenStack Image service',
35 35
                   'heat': 'Orchestration',
36 36
                   'keystone': 'OpenStack Identity',
37 37
                   'neutron': 'OpenStack Networking',
38 38
                   'nova': 'OpenStack Compute',
39 39
                   'swift': 'OpenStack Object Storage',
40
-                  'trove': 'Database Service'}
40
+                  'trove': 'Database service'}
41 41
 
42 42
 
43 43
 def setup_venv(branch, novenvupdate):

+ 6
- 6
os_doc_tools/commands.py View File

@@ -546,8 +546,8 @@ def document_single_project(os_command, output_dir):
546 546
         api_name = "OpenStack Block Storage API"
547 547
         title = "Block Storage command-line client"
548 548
     elif os_command == 'glance':
549
-        api_name = 'OpenStack Image Service API'
550
-        title = "Image Service command-line client"
549
+        api_name = 'OpenStack Image service API'
550
+        title = "Image service command-line client"
551 551
         # Does not know about bash-completion yet, need to specify
552 552
         # subcommands manually
553 553
         subcommands = ["image-create", "image-delete", "image-list",
@@ -584,11 +584,11 @@ def document_single_project(os_command, output_dir):
584 584
                        "stat", "upload"]
585 585
     elif os_command == 'trove':
586 586
         api_name = "Database API"
587
-        title = "Database Service command-line client"
587
+        title = "Database service command-line client"
588 588
         blacklist = ["resize-flavor"]
589 589
     elif os_command == 'trove-manage':
590 590
         api_name = "Database Management Utility"
591
-        title = "Database Service Management command-line client"
591
+        title = "Database service management command-line client"
592 592
         # Does not know about bash-completion yet, need to specify
593 593
         # subcommands manually
594 594
         subcommands = ["db_sync", "db_upgrade",
@@ -623,7 +623,7 @@ def document_single_project(os_command, output_dir):
623 623
     if os_command == 'glance':
624 624
         out_file.write("""
625 625
     <section xml:id=\"glance_cli_v1\">
626
-       <title>Image Service API v1 commands</title>\n""")
626
+       <title>Image service API v1 commands</title>\n""")
627 627
 
628 628
     if os_command == 'openstack':
629 629
         generate_subcommands(os_command, out_file, blacklist,
@@ -673,7 +673,7 @@ def document_single_project(os_command, output_dir):
673 673
 
674 674
         out_file.write("""
675 675
     <section xml:id=\"glance_cli_v2\">
676
-       <title>Image Service API v2 commands</title>
676
+       <title>Image service API v2 commands</title>
677 677
     <para>
678 678
        You can select an API version to use by adding the
679 679
        <parameter>--os-image-api-version</parameter> option or by setting

Loading…
Cancel
Save