diff mbox series

[01/11] docs/cpu-hotplug.rst: Fix rST markup issues

Message ID 20190201145035.22739-2-peter.maydell@linaro.org
State Superseded
Headers show
Series Enable build and install of our rST docs | expand

Commit Message

Peter Maydell Feb. 1, 2019, 2:50 p.m. UTC
sphinx-build complains:

docs/cpu-hotplug.rst:67: ERROR: Unexpected indentation.
docs/cpu-hotplug.rst:69: ERROR: Unexpected indentation.
docs/cpu-hotplug.rst:74: WARNING: Block quote ends without a blank line; unexpected unindent.
docs/cpu-hotplug.rst:75: WARNING: Block quote ends without a blank line; unexpected unindent.
docs/cpu-hotplug.rst:76: SEVERE: Unexpected section title.

}
{
docs/cpu-hotplug.rst:78: WARNING: Block quote ends without a blank line; unexpected unindent.

These are the result of not indicating one of the literal
blocks by finishing the preceding paragraph with the "::" marker.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

---
 docs/cpu-hotplug.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.20.1

Comments

Alex Bennée Feb. 1, 2019, 4:29 p.m. UTC | #1
Peter Maydell <peter.maydell@linaro.org> writes:

> sphinx-build complains:

>

> docs/cpu-hotplug.rst:67: ERROR: Unexpected indentation.

> docs/cpu-hotplug.rst:69: ERROR: Unexpected indentation.

> docs/cpu-hotplug.rst:74: WARNING: Block quote ends without a blank line; unexpected unindent.

> docs/cpu-hotplug.rst:75: WARNING: Block quote ends without a blank line; unexpected unindent.

> docs/cpu-hotplug.rst:76: SEVERE: Unexpected section title.

>

> }

> {

> docs/cpu-hotplug.rst:78: WARNING: Block quote ends without a blank line; unexpected unindent.

>

> These are the result of not indicating one of the literal

> blocks by finishing the preceding paragraph with the "::" marker.

>

> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Reviewed-by: Alex Bennée <alex.bennee@linaro.org>


> ---

>  docs/cpu-hotplug.rst | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)

>

> diff --git a/docs/cpu-hotplug.rst b/docs/cpu-hotplug.rst

> index 1c268e00b41..e2d4e893b01 100644

> --- a/docs/cpu-hotplug.rst

> +++ b/docs/cpu-hotplug.rst

> @@ -60,7 +60,7 @@ vCPU hotplug

>      hot-plugged (no "qom-path" member).  From its output in step (3), we

>      can see that ``IvyBridge-IBRS-x86_64-cpu`` is present in socket 0,

>      while hot-plugging a CPU into socket 1 requires passing the listed

> -    properties to QMP ``device_add``:

> +    properties to QMP ``device_add``::

>

>        (QEMU) device_add id=cpu-2 driver=IvyBridge-IBRS-x86_64-cpu socket-id=1 core-id=0 thread-id=0

>        {



--
Alex Bennée
diff mbox series

Patch

diff --git a/docs/cpu-hotplug.rst b/docs/cpu-hotplug.rst
index 1c268e00b41..e2d4e893b01 100644
--- a/docs/cpu-hotplug.rst
+++ b/docs/cpu-hotplug.rst
@@ -60,7 +60,7 @@  vCPU hotplug
     hot-plugged (no "qom-path" member).  From its output in step (3), we
     can see that ``IvyBridge-IBRS-x86_64-cpu`` is present in socket 0,
     while hot-plugging a CPU into socket 1 requires passing the listed
-    properties to QMP ``device_add``:
+    properties to QMP ``device_add``::
 
       (QEMU) device_add id=cpu-2 driver=IvyBridge-IBRS-x86_64-cpu socket-id=1 core-id=0 thread-id=0
       {