Fix none-ascii char in doc
There exist some none-ascii chars in doc, which may cause trouble in displaying. Change-Id: I1ebf83fb4e8cc853fd7f3065ecf420a064c9983f
This commit is contained in:
parent
76a946b6da
commit
fbc86f8844
@ -144,7 +144,7 @@ API status code. The system also returns additional
|
|||||||
information about the fault in the body of the response.
|
information about the fault in the body of the response.
|
||||||
|
|
||||||
|
|
||||||
**Example: Fault: JSON response**
|
**Example: Fault: JSON response**
|
||||||
|
|
||||||
.. code::
|
.. 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 error ``code`` is returned in the body of the response for convenience.
|
||||||
The ``message`` section returns a human-readable message that is appropriate
|
The ``message`` section returns a human-readable message that is appropriate
|
||||||
for display to the end user. The ``details`` section is optional and may
|
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
|
down an error. The ``details`` section might or might not be appropriate for
|
||||||
display to an end user.
|
display to an end user.
|
||||||
|
|
||||||
@ -189,7 +189,7 @@ faults may also contain a ``created`` timestamp that specifies when the fault
|
|||||||
occurred.
|
occurred.
|
||||||
|
|
||||||
|
|
||||||
**Example: Server in error state: JSON response**
|
**Example: Server in error state: JSON response**
|
||||||
|
|
||||||
.. code::
|
.. code::
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ exists in the current OpenStack deployment.
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
**Example: Full image reference: JSON request**
|
**Example: Full image reference: JSON request**
|
||||||
|
|
||||||
.. code::
|
.. 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::
|
.. code::
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ links to traverse a paginated collection without having to input the
|
|||||||
*``marker``* parameter.
|
*``marker``* parameter.
|
||||||
|
|
||||||
|
|
||||||
**Example: Servers collection: JSON (first page)**
|
**Example: Servers collection: JSON (first page)**
|
||||||
|
|
||||||
.. code::
|
.. code::
|
||||||
|
|
||||||
|
@ -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
|
application/json. If conflicting versions are specified using both an HTTP
|
||||||
header and a URI, the URI takes precedence.
|
header and a URI, the URI takes precedence.
|
||||||
|
|
||||||
**Example: Request with MIME type versioning**
|
**Example: Request with MIME type versioning**
|
||||||
|
|
||||||
.. code::
|
.. code::
|
||||||
|
|
||||||
@ -22,7 +22,7 @@ header and a URI, the URI takes precedence.
|
|||||||
X-Auth-Token: eaaafd18-0fed-4b3a-81b4-663c99ec1cbb
|
X-Auth-Token: eaaafd18-0fed-4b3a-81b4-663c99ec1cbb
|
||||||
|
|
||||||
|
|
||||||
**Example: Request with URI versioning**
|
**Example: Request with URI versioning**
|
||||||
|
|
||||||
.. code::
|
.. code::
|
||||||
|
|
||||||
@ -44,7 +44,7 @@ headers, then a multiple-choices response (300) follows that provides
|
|||||||
links and MIME types to available versions.
|
links and MIME types to available versions.
|
||||||
|
|
||||||
|
|
||||||
**Example: Multiple choices: JSON response**
|
**Example: Multiple choices: JSON response**
|
||||||
|
|
||||||
.. code::
|
.. code::
|
||||||
|
|
||||||
|
@ -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:\> $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:\> $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:\> Unblock-File $dest
|
||||||
PS C:\> Start-Process $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:\> $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:\> $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:\> Unblock-File $dest
|
||||||
PS C:\> Start-Process $dest
|
PS C:\> Start-Process $dest
|
||||||
|
|
||||||
|
@ -359,7 +359,7 @@ compute host to the storage array:
|
|||||||
Failed to connect to volume 6f6a6a9c-dfcf-4c8d-b1a8-4445ff883200 while\
|
Failed to connect to volume 6f6a6a9c-dfcf-4c8d-b1a8-4445ff883200 while\
|
||||||
attaching at /dev/vdjTRACE nova.compute.manager [instance: 60ebd6c7-c1e3-4\
|
attaching at /dev/vdjTRACE nova.compute.manager [instance: 60ebd6c7-c1e3-4\
|
||||||
bf0-8ef0-f07aa4c3d5f3|instance: 60ebd6c7-c1e3-4bf0-8ef0-f07aa4c3d5f3]
|
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\
|
server has either erred or is incapable of performing the requested\
|
||||||
operation.(HTTP 500)(Request-ID: req-71e5132b-21aa-46ee-b3cc-19b5b4ab2f00)
|
operation.(HTTP 500)(Request-ID: req-71e5132b-21aa-46ee-b3cc-19b5b4ab2f00)
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ delays in the case that there is only a single green thread::
|
|||||||
...
|
...
|
||||||
greenthread.sleep(0)
|
greenthread.sleep(0)
|
||||||
|
|
||||||
In current code, time.sleep(0)does 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
|
time module is patched through eventlet.monkey_patch(). To be explicit, we recommend
|
||||||
contributors use ``greenthread.sleep()`` instead of ``time.sleep()``.
|
contributors use ``greenthread.sleep()`` instead of ``time.sleep()``.
|
||||||
|
|
||||||
|
@ -281,4 +281,4 @@ systems. However, to use the VFAT format, add the following line to the
|
|||||||
|
|
||||||
config_drive_format=vfat
|
config_drive_format=vfat
|
||||||
|
|
||||||
If you choose VFAT, the configuration drive is 64 MB.
|
If you choose VFAT, the configuration drive is 64 MB.
|
||||||
|
@ -262,7 +262,7 @@ the volume to boot an instance.
|
|||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
A bootable encrypted volume can also be created by adding the
|
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
|
.. 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
|
or the ``nova boot`` ``--ephemeral`` parameter to attach an ephemeral
|
||||||
disk on boot. When you terminate the instance, both disks are deleted.
|
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
|
.. code-block:: console
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user