[user-guide] Changes underscore to hyphen in RST files

Adds the following changes:

- Renames all the RST files in the user-guide folder to use
  hyphens instead of underscores;
- Adds redirects to the renamed files to .htaccess.

Change-Id: Ic5f1a90421add35d001363cd39bada0b56a04d7f
Implements: blueprint consistency-file-rename
This commit is contained in:
Maria Zlatkova 2016-08-10 13:22:47 +03:00
parent d7c74c7a70
commit b94d0b58d4
70 changed files with 133 additions and 67 deletions

View File

@ -55,11 +55,11 @@ Before you can launch an instance, gather the following parameters:
You can also assign a floating IP address to a running instance to
make it accessible from outside the cloud. See
:doc:`cli_manage_ip_addresses`.
:doc:`cli-manage-ip-addresses`.
After you gather the parameters that you need to launch an instance,
you can launch it from an :doc:`image<cli_nova_launch_instance_from_image>`
or a :doc:`volume<cli_nova_launch_instance_from_volume>`. You can launch an
you can launch it from an :doc:`image<cli-nova-launch-instance-from-image>`
or a :doc:`volume<cli-nova-launch-instance-from-volume>`. You can launch an
instance directly from one of the available OpenStack images or from
an image that you have copied to a persistent volume. The OpenStack
Image service provides a pool of images that are accessible to members
@ -160,7 +160,7 @@ You can launch an instance from various sources.
.. toctree::
:maxdepth: 2
cli_nova_launch_instance_from_image.rst
cli_nova_launch_instance_from_volume.rst
cli_nova_launch_instance_using_ISO_image.rst
cli-nova-launch-instance-from-image.rst
cli-nova-launch-instance-from-volume.rst
cli-nova-launch-instance-using-ISO-image.rst

View File

@ -14,12 +14,12 @@ discusses node management tasks.
.. toctree::
:maxdepth: 2
cli_manage_ip_addresses.rst
cli_change_the_size_of_your_server.rst
cli_stop_and_start_an_instance.rst
cli_search_instance_with_ip_address.rst
cli_reboot_an_instance.rst
cli_delete_an_instance.rst
cli_access_instance_through_a_console.rst
cli_manage_bare_metal_nodes.rst
cli-manage-ip-addresses.rst
cli-change-the-size-of-your-server.rst
cli-stop-and-start-an-instance.rst
cli-search-instance-with-ip-address.rst
cli-reboot-an-instance.rst
cli-delete-an-instance.rst
cli-access-instance-through-a-console.rst
cli-manage-bare-metal-nodes.rst

View File

@ -61,7 +61,7 @@ Rules are automatically enforced as soon as you create or modify them.
You can also assign a floating IP address to a running instance to
make it accessible from outside the cloud. See
:doc:`cli_manage_ip_addresses`.
:doc:`cli-manage-ip-addresses`.
Add a key pair
~~~~~~~~~~~~~~

View File

@ -10,17 +10,17 @@ OpenStack command-line clients
common/cli-discover-version-number-for-a-client.rst
common/cli-set-environment-variables-using-openstack-rc.rst
common/cli-manage-images.rst
cli_manage_images_curl.rst
cli-manage-images-curl.rst
common/cli-manage-volumes.rst
cli_manage_shares.rst
cli_nova_configure_access_security_for_instances.rst
cli_launch_instances.rst
cli_manage_instances_hosts.rst
cli_provide_user_data_to_instances.rst
cli_use_snapshots_to_migrate_instances.rst
cli_config_drive.rst
cli_create_and_manage_networks.rst
cli-manage-shares.rst
cli-nova-configure-access-security-for-instances.rst
cli-launch-instances.rst
cli-manage-instances-hosts.rst
cli-provide-user-data-to-instances.rst
cli-use-snapshots-to-migrate-instances.rst
cli-config-drive.rst
cli-create-and-manage-networks.rst
managing-openstack-object-storage-with-swift-cli.rst
cli_create_and_manage_stacks.rst
cli_ceilometer.rst
cli-create-and-manage-stacks.rst
cli-ceilometer.rst
trove-manage-db.rst

View File

@ -11,15 +11,15 @@ sizes of server instances.
.. toctree::
:maxdepth: 2
dashboard_log_in.rst
dashboard_manage_images.rst
configure_access_and_security_for_instances.rst
dashboard_launch_instances.rst
dashboard_create_networks.rst
dashboard_manage_containers.rst
dashboard_manage_volumes.rst
dashboard_manage_shares.rst
dashboard_stacks.rst
dashboard_databases.rst
dashboard_manage_lbaasv2.rst
dashboard-log-in.rst
dashboard-manage-images.rst
configure-access-and-security-for-instances.rst
dashboard-launch-instances.rst
dashboard-create-networks.rst
dashboard-manage-containers.rst
dashboard-manage-volumes.rst
dashboard-manage-shares.rst
dashboard-stacks.rst
dashboard-databases.rst
dashboard-manage-lbaasv2.rst

View File

@ -25,7 +25,7 @@ Contents
cli.rst
sdk.rst
hot.rst
cli_cheat_sheet.rst
cli-cheat-sheet.rst
Appendix
~~~~~~~~

View File

@ -16,16 +16,16 @@ concurrency of 10.
.. toctree::
:maxdepth: 2
cli_swift_create_containers.rst
cli_swift_manage_access_swift.rst
cli_swift_manage_objects.rst
cli_swift_env_vars.rst
cli_swift_set_object_versions.rst
cli_swift_serialized_response_formats.rst
cli_swift_large_lists.rst
cli_swift_pseudo_hierarchical_folders_directories.rst
cli_swift_discoverability.rst
cli_swift_large_object_creation.rst
cli_swift_archive_auto_extract.rst
cli_swift_bulk_delete.rst
cli_swift_static_website.rst
cli-swift-create-containers.rst
cli-swift-manage-access-swift.rst
cli-swift-manage-objects.rst
cli-swift-env-vars.rst
cli-swift-set-object-versions.rst
cli-swift-serialized-response-formats.rst
cli-swift-large-lists.rst
cli-swift-pseudo-hierarchical-folders-directories.rst
cli-swift-discoverability.rst
cli-swift-large-object-creation.rst
cli-swift-archive-auto-extract.rst
cli-swift-bulk-delete.rst
cli-swift-static-website.rst

View File

@ -5,13 +5,13 @@ OpenStack Python SDK
.. toctree::
:maxdepth: 2
sdk_overview.rst
sdk_install.rst
sdk_authenticate.rst
sdk_create_legacy_novaclient.rst
sdk_manage_images.rst
sdk_assign_cors_headers.rst
sdk_schedule_objects_for_deletion.rst
sdk_configure_access_security_instances.rst
sdk_neutron_apis.rst
sdk_compute_apis.rst
sdk-overview.rst
sdk-install.rst
sdk-authenticate.rst
sdk-create-legacy-novaclient.rst
sdk-manage-images.rst
sdk-assign-cors-headers.rst
sdk-schedule-objects-for-deletion.rst
sdk-configure-access-security-instances.rst
sdk-neutron-apis.rst
sdk-compute-apis.rst

View File

@ -10,9 +10,9 @@ handling complex administrative tasks.
.. toctree::
:maxdepth: 1
create_db.rst
backup_db.rst
backup_db_incremental.rst
manage_db_config.rst
set_up_replication.rst
set_up_clustering.rst
create-db.rst
backup-db.rst
backup-db-incremental.rst
manage-db-config.rst
set-up-replication.rst
set-up-clustering.rst

View File

@ -293,6 +293,72 @@ redirectmatch 301 ^/([a-z-]+)/ts_non_existent_host.html /$1/ts-non-existent-host
redirectmatch 301 ^/([a-z-]+)/ts_non_existent_vlun.html /$1/ts-non-existent-vlun.html
redirectmatch 301 ^/([a-z-]+)/ts_vol_attach_miss_sg_scan.html /$1/ts-vol-attach-miss-sg-scan.html
# Redirect renamed User Guide pages
redirect 301 /user-guide/cli_swift_pseudo_hierarchical_folders_directories.html /user-guide/cli-swift-pseudo-hierarchical-folders-directories.html
redirect 301 /user-guide/sdk_configure_access_security_instances.html /user-guide/sdk-configure-access-security-instances.html
redirect 301 /user-guide/cli_create_and_manage_networks.html /user-guide/cli-create-and-manage-networks.html
redirect 301 /user-guide/cli_stop_and_start_an_instance.html /user-guide/cli-stop-and-start-an-instance.html
redirect 301 /user-guide/configure_access_and_security_for_instances.html /user-guide/configure-access-and-security-for-instances.html
redirect 301 /user-guide/dashboard_create_networks.html /user-guide/dashboard-create-networks.html
redirect 301 /user-guide/sdk_install.html /user-guide/sdk-install.html
redirect 301 /user-guide/create_db.html /user-guide/create-db.html
redirect 301 /user-guide/cli_manage_shares.html /user-guide/cli-manage-shares.html
redirect 301 /user-guide/cli_swift_discoverability.html /user-guide/cli-swift-discoverability.html
redirect 301 /user-guide/cli_access_instance_through_a_console.html /user-guide/cli-access-instance-through-a-console.html
redirect 301 /user-guide/cli_search_instance_with_ip_address.html /user-guide/cli-search-instance-with-ip-address.html
redirect 301 /user-guide/manage_db_config.html /user-guide/manage-db-config.html
redirect 301 /user-guide/cli_reboot_an_instance.html /user-guide/cli-reboot-an-instance.html
redirect 301 /user-guide/set_up_replication.html /user-guide/set-up-replication.html
redirect 301 /user-guide/cli_manage_bare_metal_nodes.html /user-guide/cli-manage-bare-metal-nodes.html
redirect 301 /user-guide/cli_ceilometer.html /user-guide/cli-ceilometer.html
redirect 301 /user-guide/cli_nova_launch_instance_from_volume.html /user-guide/cli-nova-launch-instance-from-volume.html
redirect 301 /user-guide/cli_nova_launch_instance_using_ISO_image.html /user-guide/cli-nova-launch-instance-using-ISO-image.html
redirect 301 /user-guide/backup_db.html /user-guide/backup-db.html
redirect 301 /user-guide/cli_nova_launch_instance_from_image.html /user-guide/cli-nova-launch-instance-from-image.html
redirect 301 /user-guide/dashboard_log_in.html /user-guide/dashboard-log-in.html
redirect 301 /user-guide/cli_provide_user_data_to_instances.html /user-guide/cli-provide-user-data-to-instances.html
redirect 301 /user-guide/cli_swift_static_website.html /user-guide/cli-swift-static-website.html
redirect 301 /user-guide/dashboard_manage_shares.html /user-guide/dashboard-manage-shares.html
redirect 301 /user-guide/cli_swift_manage_access_swift.html /user-guide/cli-swift-manage-access-swift.html
redirect 301 /user-guide/cli_swift_large_object_creation.html /user-guide/cli-swift-large-object-creation.html
redirect 301 /user-guide/cli_cheat_sheet.html /user-guide/cli-cheat-sheet.html
redirect 301 /user-guide/dashboard_manage_lbaasv2.html /user-guide/dashboard-manage-lbaasv2.html
redirect 301 /user-guide/sdk_assign_cors_headers.html /user-guide/sdk-assign-cors-headers.html
redirect 301 /user-guide/cli_swift_bulk_delete.html /user-guide/cli-swift-bulk-delete.html
redirect 301 /user-guide/cli_nova_configure_access_security_for_instances.html /user-guide/cli-nova-configure-access-security-for-instances.html
redirect 301 /user-guide/backup_db_incremental.html /user-guide/backup-db-incremental.html
redirect 301 /user-guide/cli_manage_instances_hosts.html /user-guide/cli-manage-instances-hosts.html
redirect 301 /user-guide/cli_delete_an_instance.html /user-guide/cli-delete-an-instance.html
redirect 301 /user-guide/cli_swift_env_vars.html /user-guide/cli-swift-env-vars.html
redirect 301 /user-guide/cli_swift_create_containers.html /user-guide/cli-swift-create-containers.html
redirect 301 /user-guide/sdk_neutron_apis.html /user-guide/sdk-neutron-apis.html
redirect 301 /user-guide/dashboard_manage_images.html /user-guide/dashboard-manage-images.html
redirect 301 /user-guide/dashboard_stacks.html /user-guide/dashboard-stacks.html
redirect 301 /user-guide/cli_swift_large_lists.html /user-guide/cli-swift-large-lists.html
redirect 301 /user-guide/dashboard_databases.html /user-guide/dashboard-databases.html
redirect 301 /user-guide/cli_swift_archive_auto_extract.html /user-guide/cli-swift-archive-auto-extract.html
redirect 301 /user-guide/cli_swift_set_object_versions.html /user-guide/cli-swift-set-object-versions.html
redirect 301 /user-guide/sdk_compute_apis.html /user-guide/sdk-compute-apis.html
redirect 301 /user-guide/cli_create_and_manage_stacks.html /user-guide/cli-create-and-manage-stacks.html
redirect 301 /user-guide/cli_change_the_size_of_your_server.html /user-guide/cli-change-the-size-of-your-server.html
redirect 301 /user-guide/cli_swift_serialized_response_formats.html /user-guide/cli-swift-serialized-response-formats.rhtml
redirect 301 /user-guide/sdk_authenticate.html /user-guide/sdk-authenticate.html
redirect 301 /user-guide/cli_use_snapshots_to_migrate_instances.html /user-guide/cli-use-snapshots-to-migrate-instances.html
redirect 301 /user-guide/sdk_manage_images.html /user-guide/sdk-manage-images.html
redirect 301 /user-guide/sdk_overview.html /user-guide/sdk-overview.html
redirect 301 /user-guide/cli_manage_images_curl.html /user-guide/cli-manage-images-curl.html
redirect 301 /user-guide/cli_config_drive.html /user-guide/cli-config-drive.html
redirect 301 /user-guide/cli_launch_instances.html /user-guide/cli-launch-instances.html
redirect 301 /user-guide/cli_manage_ip_addresses.html /user-guide/cli-manage-ip-addresses.html
redirect 301 /user-guide/set_up_clustering.html /user-guide/set-up-clustering.html
redirect 301 /user-guide/sdk_create_legacy_novaclient.html /user-guide/sdk-create-legacy-novaclient.html
redirect 301 /user-guide/sdk_schedule_objects_for_deletion.html /user-guide/sdk-schedule-objects-for-deletion.html
redirect 301 /user-guide/dashboard_launch_instances.html /user-guide/dashboard-launch-instances.html
redirect 301 /user-guide/dashboard_manage_containers.html /user-guide/dashboard-manage-containers.html
redirect 301 /user-guide/cli_swift_manage_objects.html /user-guide/cli-swift-manage-objects.html
redirect 301 /user-guide/dashboard_manage_volumes.html /user-guide/dashboard-manage-volumes.html
# Since we don't have a direct match for all file, redirect to the index page.
redirectmatch 301 "^/user-guide/content/.*$" /user-guide/index.html