Browse Source

Fix none-ascii char in doc

There exist some none-ascii chars in doc, which may cause trouble
in displaying.

Change-Id: I1ebf83fb4e8cc853fd7f3065ecf420a064c9983f
changes/22/588422/3
zhufl 3 years ago
parent
commit
fbc86f8844
  1. 6
      api-guide/source/faults.rst
  2. 4
      api-guide/source/links_and_references.rst
  3. 2
      api-guide/source/paginated_collections.rst
  4. 6
      api-guide/source/versions.rst
  5. 4
      doc/source/admin/configuration/hypervisor-hyper-v.rst
  6. 2
      doc/source/admin/support-compute.rst
  7. 2
      doc/source/reference/threading.rst
  8. 2
      doc/source/user/config-drive.rst
  9. 4
      doc/source/user/launch-instance-from-volume.rst

6
api-guide/source/faults.rst

@ -144,7 +144,7 @@ API status code. The system also returns additional
information about the fault in the body of the response.
**Example: Fault: JSON response**
**Example: Fault: JSON response**
.. code::
@ -158,7 +158,7 @@ information about the fault in the body of the response.
The error ``code`` is returned in the body of the response for convenience.
The ``message`` section returns a human-readable message that is appropriate
for display to the end user. The ``details`` section is optional and may
contain information—for example, a stack trace—to assist in tracking
contain information--for example, a stack trace--to assist in tracking
down an error. The ``details`` section might or might not be appropriate for
display to an end user.
@ -189,7 +189,7 @@ faults may also contain a ``created`` timestamp that specifies when the fault
occurred.
**Example: Server in error state: JSON response**
**Example: Server in error state: JSON response**
.. code::

4
api-guide/source/links_and_references.rst

@ -30,7 +30,7 @@ exists in the current OpenStack deployment.
}
**Example: Full image reference: JSON request**
**Example: Full image reference: JSON request**
.. code::
@ -97,7 +97,7 @@ following types of link relations are associated with resources:
}
**Example: Server with alternate link: JSON**
**Example: Server with alternate link: JSON**
.. code::

2
api-guide/source/paginated_collections.rst

@ -32,7 +32,7 @@ links to traverse a paginated collection without having to input the
*``marker``* parameter.
**Example: Servers collection: JSON (first page)**
**Example: Servers collection: JSON (first page)**
.. code::

6
api-guide/source/versions.rst

@ -12,7 +12,7 @@ A version MIME type is always linked to a base MIME type, such as
application/json. If conflicting versions are specified using both an HTTP
header and a URI, the URI takes precedence.
**Example: Request with MIME type versioning**
**Example: Request with MIME type versioning**
.. code::
@ -22,7 +22,7 @@ header and a URI, the URI takes precedence.
X-Auth-Token: eaaafd18-0fed-4b3a-81b4-663c99ec1cbb
**Example: Request with URI versioning**
**Example: Request with URI versioning**
.. code::
@ -44,7 +44,7 @@ headers, then a multiple-choices response (300) follows that provides
links and MIME types to available versions.
**Example: Multiple choices: JSON response**
**Example: Multiple choices: JSON response**
.. code::

4
doc/source/admin/configuration/hypervisor-hyper-v.rst

@ -223,7 +223,7 @@ properly on the 64bit version.
PS C:\> $src = "https://www.python.org/ftp/python/2.7.3/python-2.7.3.msi"
PS C:\> $dest = "$env:temp\python-2.7.3.msi"
PS C:\> Invoke-WebRequest –Uri $src –OutFile $dest
PS C:\> Invoke-WebRequest -Uri $src -OutFile $dest
PS C:\> Unblock-File $dest
PS C:\> Start-Process $dest
@ -310,7 +310,7 @@ Download the nova code
PS C:\> $src = "https://github.com/msysgit/msysgit/releases/download/Git-1.9.2-preview20140411/Git-1.9.2-preview20140411.exe"
PS C:\> $dest = "$env:temp\Git-1.9.2-preview20140411.exe"
PS C:\> Invoke-WebRequest –Uri $src –OutFile $dest
PS C:\> Invoke-WebRequest -Uri $src -OutFile $dest
PS C:\> Unblock-File $dest
PS C:\> Start-Process $dest

2
doc/source/admin/support-compute.rst

@ -359,7 +359,7 @@ compute host to the storage array:
Failed to connect to volume 6f6a6a9c-dfcf-4c8d-b1a8-4445ff883200 while\
attaching at /dev/vdjTRACE nova.compute.manager [instance: 60ebd6c7-c1e3-4\
bf0-8ef0-f07aa4c3d5f3|instance: 60ebd6c7-c1e3-4bf0-8ef0-f07aa4c3d5f3]
Traceback (most recent call last):f07aa4c3d5f3\] ClientException: The\
Traceback (most recent call last):...f07aa4c3d5f3\] ClientException: The\
server has either erred or is incapable of performing the requested\
operation.(HTTP 500)(Request-ID: req-71e5132b-21aa-46ee-b3cc-19b5b4ab2f00)

2
doc/source/reference/threading.rst

@ -32,7 +32,7 @@ delays in the case that there is only a single green thread::
...
greenthread.sleep(0)
In current code, time.sleep(0does the same thing as greenthread.sleep(0) if
In current code, time.sleep(0) does the same thing as greenthread.sleep(0) if
time module is patched through eventlet.monkey_patch(). To be explicit, we recommend
contributors use ``greenthread.sleep()`` instead of ``time.sleep()``.

2
doc/source/user/config-drive.rst

@ -281,4 +281,4 @@ systems. However, to use the VFAT format, add the following line to the
config_drive_format=vfat
If you choose VFAT, the configuration drive is 64 MB.
If you choose VFAT, the configuration drive is 64 MB.

4
doc/source/user/launch-instance-from-volume.rst

@ -262,7 +262,7 @@ the volume to boot an instance.
.. note::
A bootable encrypted volume can also be created by adding the
`-type ENCRYPTED_VOLUME_TYPE` parameter to the volume create command:
`--type ENCRYPTED_VOLUME_TYPE` parameter to the volume create command:
.. code-block:: console
@ -362,7 +362,7 @@ Use the ``nova boot`` ``--swap`` parameter to attach a swap disk on boot
or the ``nova boot`` ``--ephemeral`` parameter to attach an ephemeral
disk on boot. When you terminate the instance, both disks are deleted.
Boot an instance with a 512 MB swap disk and 2 GB ephemeral disk.
Boot an instance with a 512 MB swap disk and 2 GB ephemeral disk.
.. code-block:: console

Loading…
Cancel
Save