From: Thomas Huth <thuth@redhat.com>
To: oxr463@gmx.us, qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org,
Lucas Ramage <lucas.ramage@infinite-omicron.com>
Subject: Re: [PATCH] docs/can: convert to restructuredText
Date: Wed, 5 Jan 2022 10:11:18 +0100 [thread overview]
Message-ID: <9311d288-22bc-fb94-ad64-ddbd1c5e32f8@redhat.com> (raw)
In-Reply-To: <20211217212146.2573-1-oxr463@gmx.us>
On 17/12/2021 22.21, oxr463@gmx.us wrote:
> From: Lucas Ramage <lucas.ramage@infinite-omicron.com>
Hi!
Thanks for your patch! This looks like a good idea, but I think there are
some minor issues which should be fixed...
First: Please check your mailer setup. The mail has been sent via @gmx.us,
but the Signed-off-by uses @infinite-omicron.com ... not a big issue, I
guess, but it might be better to use the same address for both.
Second, it does not work here, at least not with Sphinx 1.7 which I have
installed on my system:
docs/can.rst:39:Enumerated list ends without a blank line;
unexpected unindent.
Does this render correctly on your system?
Also there are paragraphs in this file which should be clearly marked as
pre-formatted text (use "::" for those), e.g.:
diff --git a/docs/can.rst b/docs/can.rst
--- a/docs/can.rst
+++ b/docs/can.rst
@@ -122,7 +125,7 @@ is setup according to the previous SJA1000 section.
-device ctucan_pci,canbus0=canbus0-bus,canbus1=canbus0-bus \
-nographic
-Setup of CTU CAN FD controller in a guest Linux system
+Setup of CTU CAN FD controller in a guest Linux system::
insmod ctucanfd.ko || modprobe ctucanfd
insmod ctucanfd_pci.ko || modprobe ctucanfd_pci
> Bug: https://gitlab.com/qemu-project/qemu/-/issues/527
Please use "Buglink:" instead, it's more common in the QEMU project.
> Signed-off-by: Lucas Ramage <lucas.ramage@infinite-omicron.com>
> ---
> docs/{can.txt => can.rst} | 14 ++++++--------
While you're at it, I think this file should be moved into one of the
subfolders as well, likely docs/system/ I guess.
> docs/index.rst | 1 +
> 2 files changed, 7 insertions(+), 8 deletions(-)
> rename docs/{can.txt => can.rst} (97%)
>
> diff --git a/docs/can.txt b/docs/can.rst
> similarity index 97%
> rename from docs/can.txt
> rename to docs/can.rst
> index 0d310237df..995134d079 100644
> --- a/docs/can.txt
> +++ b/docs/can.rst
[...]
> @@ -196,3 +193,4 @@ Links to other resources
> http://canbus.pages.fel.cvut.cz/ctucanfd_ip_core/driver_doc/ctucanfd-driver.html
> (11) Integration with PCIe interfacing for Intel/Altera Cyclone IV based board
> https://gitlab.fel.cvut.cz/canbus/pcie-ctu_can_fd
> +
This look like an unnecessary addition of an empty line.
> diff --git a/docs/index.rst b/docs/index.rst
> index 0b9ee9901d..beb868ca7f 100644
> --- a/docs/index.rst
> +++ b/docs/index.rst
> @@ -18,3 +18,4 @@ Welcome to QEMU's documentation!
> interop/index
> specs/index
> devel/index
> + can
> --
> 2.32.0
>
>
Thomas
next prev parent reply other threads:[~2022-01-05 9:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-17 21:21 [PATCH] docs/can: convert to restructuredText oxr463
2022-01-05 9:11 ` Thomas Huth [this message]
2022-01-05 19:52 ` Lucas Ramage
2022-01-07 7:19 ` Thomas Huth
2022-01-07 14:29 ` Lucas Ramage
-- strict thread matches above, loose matches on Subject: below --
2022-01-05 20:56 oxr463
2022-01-13 11:37 ` Peter Maydell
2022-01-13 15:26 ` Lucas Ramage
2022-01-13 15:38 ` Peter Maydell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9311d288-22bc-fb94-ad64-ddbd1c5e32f8@redhat.com \
--to=thuth@redhat.com \
--cc=lucas.ramage@infinite-omicron.com \
--cc=oxr463@gmx.us \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).