Skip to content

Commit fbb12a2

Browse files
committed
fix sphinx errors with incorrect backticks
In these cases two backticks must be used instead of one. Change-Id: I85b00742a06ad1137a2d8f761432af97338995bb Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
1 parent dfdaf09 commit fbb12a2

File tree

3 files changed

+23
-23
lines changed

3 files changed

+23
-23
lines changed

doc/source/admin/rescue.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Support in ironic-python-agent images
1616
=====================================
1717

1818
Rescue is initiated when ironic-conductor sends the ``finalize_rescue``
19-
command to ironic-python-agent. A user `rescue` is created with a password
19+
command to ironic-python-agent. A user ``rescue`` is created with a password
2020
provided as an argument to this command. DHCP is then configured to
2121
facilitate network connectivity, thus enabling a user to login to the machine
2222
in rescue mode.
@@ -34,7 +34,7 @@ DIB
3434
The DIB image supports rescue mode when used with DHCP tenant networks.
3535

3636
After the ``finalize_rescue`` command completes, DHCP will be configured on all
37-
network interfaces, and a `rescue` user will be created with the specified
37+
network interfaces, and a ``rescue`` user will be created with the specified
3838
``rescue_password``.
3939

4040
TinyIPA
@@ -44,7 +44,7 @@ The TinyIPA image supports rescue mode when used with DHCP tenant networks.
4444
No special action is required to `build a TinyIPA image`_ with this support.
4545

4646
After the ``finalize_rescue`` command completes, DHCP will be configured on all
47-
network interfaces, and a `rescue` user will be created with the specified
47+
network interfaces, and a ``rescue`` user will be created with the specified
4848
``rescue_password``.
4949

5050
.. _build a TinyIPA image: https://docs.openstack.org/ironic-python-agent-builder/latest/admin/tinyipa.html

doc/source/admin/troubleshooting.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,6 @@ Edit /etc/ironic_python_agent/ironic_python_agent.conf and set the parameter
277277

278278
References
279279
==========
280-
.. [0] `Dynamic-login DIB element`: https://github.com/openstack/diskimage-builder/tree/master/diskimage_builder/elements/dynamic-login
281-
.. [1] `DevUser DIB element`: https://github.com/openstack/diskimage-builder/tree/master/diskimage_builder/elements/devuser
282-
.. [2] `ironic-python-agent-builder`: https://docs.openstack.org/ironic-python-agent-builder/latest/install/index.html
280+
.. [0] Dynamic-login DIB element: https://github.com/openstack/diskimage-builder/tree/master/diskimage_builder/elements/dynamic-login
281+
.. [1] DevUser DIB element: https://github.com/openstack/diskimage-builder/tree/master/diskimage_builder/elements/devuser
282+
.. [2] ironic-python-agent-builder: https://docs.openstack.org/ironic-python-agent-builder/latest/install/index.html

doc/source/contributor/hardware_managers.rst

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ How are methods executed on HardwareManagers?
2121
---------------------------------------------
2222
Methods that modify hardware are dispatched to each hardware manager in
2323
priority order. When a method is dispatched, if a hardware manager does not
24-
have a method by that name or raises `IncompatibleHardwareMethodError`, IPA
24+
have a method by that name or raises ``IncompatibleHardwareMethodError``, IPA
2525
continues on to the next hardware manager. Any hardware manager that returns
2626
a result from the method call is considered a success and its return value
2727
passed on to whatever dispatched the method. If the method is unable to run
28-
successfully on any hardware managers, `HardwareManagerMethodNotFound` is
28+
successfully on any hardware managers, ``HardwareManagerMethodNotFound`` is
2929
raised.
3030

3131
Why build a custom HardwareManager?
@@ -65,11 +65,11 @@ in :ironic-doc:`Ironic Cleaning </admin/cleaning.html>`. A node will perform
6565
a set of cleaning steps any time the node is deleted by a tenant or moved from
6666
``manageable`` state to ``available`` state. Ironic will query
6767
IPA for a list of clean steps that should be executed on the node. IPA
68-
will dispatch a call to `get_clean_steps()` on all available hardware managers
69-
and then return the combined list to Ironic.
68+
will dispatch a call to ``get_clean_steps()`` on all available hardware
69+
managers and then return the combined list to Ironic.
7070

7171
To expose extra clean steps, the custom hardware manager should have a function
72-
named `get_clean_steps()` which returns a list of dictionaries. The
72+
named ``get_clean_steps()`` which returns a list of dictionaries. The
7373
dictionaries should be in the form:
7474

7575
.. code-block:: python
@@ -89,18 +89,18 @@ dictionaries should be in the form:
8989
}
9090
]
9191
92-
Then, you should create functions which match each of the `step` keys in
93-
the clean steps you return. The functions will take two parameters: `node`,
94-
a dictionary representation of the Ironic node, and `ports`, a list of
95-
dictionary representations of the Ironic ports attached to `node`.
92+
Then, you should create functions which match each of the ``step`` keys in
93+
the clean steps you return. The functions will take two parameters: ``node``,
94+
a dictionary representation of the Ironic node, and ``ports``, a list of
95+
dictionary representations of the Ironic ports attached to ``node``.
9696

97-
When a clean step is executed in IPA, the `step` key will be sent to the
97+
When a clean step is executed in IPA, the ``step`` key will be sent to the
9898
hardware managers in hardware support order, using
99-
`hardware.dispatch_to_managers()`. For each hardware manager, if the manager
100-
has a function matching the `step` key, it will be executed. If the function
99+
``hardware.dispatch_to_managers()``. For each hardware manager, if the manager
100+
has a function matching the ``step`` key, it will be executed. If the function
101101
returns a value (including None), that value is returned to Ironic and no
102102
further managers are called. If the function raises
103-
`IncompatibleHardwareMethodError`, the next manager will be called. If the
103+
``IncompatibleHardwareMethodError``, the next manager will be called. If the
104104
function raises any other exception, the command will be considered failed,
105105
the command result's error message will be set to the exception's error
106106
message, and no further managers will be called. An example step:
@@ -159,7 +159,7 @@ function with extra parameters.
159159
160160
.. note::
161161

162-
If two managers return steps with the same `step` key, the priority will
162+
If two managers return steps with the same ``step`` key, the priority will
163163
be set to whichever manager has a higher hardware support level and then
164164
use the higher priority in the case of a tie.
165165

@@ -319,10 +319,10 @@ Priority
319319
~~~~~~~~
320320
A hardware manager has a single overall priority, which should be based on how
321321
well it supports a given piece of hardware. At load time, IPA executes
322-
`evaluate_hardware_support()` on each hardware manager. This method should
322+
``evaluate_hardware_support()`` on each hardware manager. This method should
323323
return an int representing hardware manager priority, based on what it detects
324324
about the platform it's running on. Suggested values are included in the
325-
`HardwareSupport` class. Returning a value of 0 aka `HardwareSupport.NONE`,
325+
``HardwareSupport`` class. Returning a value of 0 aka ``HardwareSupport.NONE``,
326326
will prevent the hardware manager from being used. IPA will never ship a
327327
hardware manager with a priority higher than 3, aka
328-
`HardwareSupport.SERVICE_PROVIDER`.
328+
``HardwareSupport.SERVICE_PROVIDER``.

0 commit comments

Comments
 (0)