Skip to content

Commit b37d50f

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "fix sphinx-lint issues in api guide"
2 parents bed227c + df0a99a commit b37d50f

File tree

6 files changed

+21
-21
lines changed

6 files changed

+21
-21
lines changed

api-guide/source/general_info.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ on compute hosts rather than servers.
250250
A hypervisor, or virtual machine monitor (VMM), is a piece of computer
251251
software, firmware or hardware that creates and runs virtual machines.
252252

253-
In nova, each Host (see `Hosts`) runs a hypervisor. Administrators are able
253+
In nova, each Host (see ``Hosts``) runs a hypervisor. Administrators are able
254254
to query the hypervisor for information, such as all the virtual servers
255255
currently running, as well as detailed info about the hypervisor, such as
256256
CPU, memory, or disk related configuration.

api-guide/source/microversions.rst

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ There are multiple cases which you can resolve with microversions:
3232
compatible with the old API. This prevents the old client from breaking with
3333
backwards incompatible API changes.
3434

35-
Currently the minimum version of microversions is `2.1`, which is a
35+
Currently the minimum version of microversions is ``2.1``, which is a
3636
microversion compatible with the legacy v2 API. That means the legacy v2 API
3737
user doesn't need to worry that their older client software will be broken
3838
when their cloud is upgraded with new versions. And the cloud operator
@@ -52,7 +52,7 @@ Version Discovery
5252
The Version API will return the minimum and maximum microversions. These values
5353
are used by the client to discover the API's supported microversion(s).
5454

55-
Requests to `/` will get version info for all endpoints. A response would look
55+
Requests to ``/`` will get version info for all endpoints. A response would look
5656
as follows::
5757

5858
{
@@ -89,14 +89,14 @@ as follows::
8989
``version`` is the maximum microversion, ``min_version`` is the minimum
9090
microversion. If the value is the empty string, it means this endpoint doesn't
9191
support microversions; it is a legacy v2 API endpoint -- for example, the
92-
endpoint `http://openstack.example.com/v2/` in the above sample. The endpoint
93-
`http://openstack.example.com/v2.1/` supports microversions; the maximum
94-
microversion is `2.14`, and the minimum microversion is `2.1`. The client
92+
endpoint ``http://openstack.example.com/v2/`` in the above sample. The endpoint
93+
``http://openstack.example.com/v2.1/`` supports microversions; the maximum
94+
microversion is ``2.14``, and the minimum microversion is ``2.1``. The client
9595
should specify a microversion between (and including) the minimum and maximum
9696
microversion to access the endpoint.
9797

9898
You can also obtain specific endpoint version information by performing a GET
99-
on the base version URL (e.g., `http://openstack.example.com/v2.1/`). You can
99+
on the base version URL (e.g., ``http://openstack.example.com/v2.1/``). You can
100100
get more information about the version API at :doc:`versions`.
101101

102102
Client Interaction
@@ -107,7 +107,7 @@ HTTP header::
107107

108108
X-OpenStack-Nova-API-Version: 2.4
109109

110-
Starting with microversion `2.27` it is also correct to use the
110+
Starting with microversion ``2.27`` it is also correct to use the
111111
following header to specify the microversion::
112112

113113
OpenStack-API-Version: compute 2.27
@@ -118,7 +118,7 @@ following header to specify the microversion::
118118
This acts conceptually like the "Accept" header. Semantically this means:
119119

120120
* If neither ``X-OpenStack-Nova-API-Version`` nor ``OpenStack-API-Version``
121-
(specifying `compute`) is provided, act as if the minimum supported
121+
(specifying ``compute``) is provided, act as if the minimum supported
122122
microversion was specified.
123123

124124
* If both headers are provided, ``OpenStack-API-Version`` will be preferred.
@@ -128,9 +128,9 @@ This acts conceptually like the "Accept" header. Semantically this means:
128128
of microversions supported, return 406 Not Acceptable.
129129

130130
* If ``X-OpenStack-Nova-API-Version`` or ``OpenStack-API-Version`` has a value
131-
of `latest` (special keyword), act as if maximum was specified.
131+
of ``latest`` (special keyword), act as if maximum was specified.
132132

133-
.. warning:: The `latest` value is mostly meant for integration testing and
133+
.. warning:: The ``latest`` value is mostly meant for integration testing and
134134
would be dangerous to rely on in client code since microversions are not
135135
following semver and therefore backward compatibility is not guaranteed.
136136
Clients should always require a specific microversion but limit what is
@@ -140,7 +140,7 @@ This means that out of the box, an old client without any knowledge of
140140
microversions can work with an OpenStack installation with microversions
141141
support.
142142

143-
In microversions prior to `2.27` two extra headers are always returned in
143+
In microversions prior to ``2.27`` two extra headers are always returned in
144144
the response::
145145

146146
X-OpenStack-Nova-API-Version: microversion_number
@@ -153,7 +153,7 @@ The ``Vary`` header is used as a hint to caching proxies that the response
153153
is also dependent on the microversion and not just the body and query
154154
parameters. See :rfc:`2616` section 14.44 for details.
155155

156-
From microversion `2.27` two additional headers are added to the
156+
From microversion ``2.27`` two additional headers are added to the
157157
response::
158158

159159
OpenStack-API-Version: compute microversion_number

api-guide/source/paginated_collections.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ implementation does not contain ``previous`` links. The last
2525
page in the list does not contain a link to "next" page. The following examples
2626
illustrate three pages in a collection of servers. The first page was
2727
retrieved through a **GET** to
28-
`http://servers.api.openstack.org/v2.1/servers?limit=1`. In these
28+
``http://servers.api.openstack.org/v2.1/servers?limit=1``. In these
2929
examples, the *``limit``* parameter sets the page size to a single item.
3030
Subsequent links honor the initial page size. Thus, a client can follow
3131
links to traverse a paginated collection without having to input the

api-guide/source/polling_changes.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ for changes within a specified time.
1010

1111
The ``changes-since`` time or ``changes-before`` time is specified as
1212
an `ISO 8601 <https://en.wikipedia.org/wiki/ISO_8601>`__ dateTime
13-
(`2011-01-24T17:08Z`). The form for the timestamp is **CCYY-MM-DDThh:mm:ss**.
13+
(``2011-01-24T17:08Z``). The form for the timestamp is **CCYY-MM-DDThh:mm:ss**.
1414
An optional time zone may be written in by appending the form ±hh:mm
1515
which describes the timezone as an offset from UTC. When the timezone is
16-
not specified (`2011-01-24T17:08`), the UTC timezone is assumed.
16+
not specified (``2011-01-24T17:08``), the UTC timezone is assumed.
1717

1818
The following situations need to be considered:
1919

api-guide/source/server_concepts.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ are exposed to administrators:
9595
Refer to :nova-doc:`VM States <reference/vm-states.html>`.
9696

9797
- task_state represents what is happening to the instance at the
98-
current moment. These tasks can be generic, such as `spawning`, or specific,
99-
such as `block_device_mapping`. These task states allow for a better view into
98+
current moment. These tasks can be generic, such as ``spawning``, or specific,
99+
such as ``block_device_mapping``. These task states allow for a better view into
100100
what a server is doing.
101101

102102
Server creation

api-guide/source/versions.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Permanent Links
3737

3838
The MIME type versioning approach allows for creating of permanent
3939
links, because the version scheme is not specified in the URI path:
40-
`https://api.servers.openstack.org/224532/servers/123`.
40+
``https://api.servers.openstack.org/224532/servers/123``.
4141

4242
If a request is made without a version specified in the URI or via HTTP
4343
headers, then a multiple-choices response (300) follows that provides
@@ -99,8 +99,8 @@ everything following that truncated) returned from the authentication system.
9999

100100
You can also obtain additional information about a specific version by
101101
performing a **GET** on the base version URL (such as,
102-
`https://servers.api.openstack.org/v2.1/`). Version request URLs must
103-
always end with a trailing slash (`/`). If you omit the slash, the
102+
``https://servers.api.openstack.org/v2.1/``). Version request URLs must
103+
always end with a trailing slash (``/``). If you omit the slash, the
104104
server might respond with a 302 redirection request.
105105

106106
For examples of the list versions and get version details requests and

0 commit comments

Comments
 (0)