* [PATCH] Documentation: w1: Fix SPDX comment syntax on masters and slaves toctree index
@ 2025-09-09 2:21 Bagas Sanjaya
2025-09-09 18:06 ` Krzysztof Kozlowski
2025-09-09 18:57 ` Jonathan Corbet
0 siblings, 2 replies; 3+ messages in thread
From: Bagas Sanjaya @ 2025-09-09 2:21 UTC (permalink / raw)
To: Linux Kernel Mailing List, Linux Documentation
Cc: Krzysztof Kozlowski, Jonathan Corbet, Bagas Sanjaya,
Mauro Carvalho Chehab
Commit e9bb627561535d ("docs: w1: convert to ReST and add to the kAPI
group of docs") converts 1-Wire docs to reST alongside with SPDX
comment, yet the comment is written in one dot as opposed to two in
order to be recognized as comment directive, which spills it into
htmldocs output. This issue is partially fixed in d8fb03e1ea64e7 ("docs:
w1: Fix SPDX-License-Identifier syntax") as it only touches top-level w1
toctree.
Do the same fix on masters and slaves toctrees.
Fixes: e9bb62756153 ("docs: w1: convert to ReST and add to the kAPI group of docs")
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
---
Documentation/w1/masters/index.rst | 2 +-
Documentation/w1/slaves/index.rst | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/w1/masters/index.rst b/Documentation/w1/masters/index.rst
index cc40189909fd17..871442c7f195bf 100644
--- a/Documentation/w1/masters/index.rst
+++ b/Documentation/w1/masters/index.rst
@@ -1,4 +1,4 @@
-. SPDX-License-Identifier: GPL-2.0
+.. SPDX-License-Identifier: GPL-2.0
=====================
1-wire Master Drivers
diff --git a/Documentation/w1/slaves/index.rst b/Documentation/w1/slaves/index.rst
index d0697b202f09f0..a210f38c889c14 100644
--- a/Documentation/w1/slaves/index.rst
+++ b/Documentation/w1/slaves/index.rst
@@ -1,4 +1,4 @@
-. SPDX-License-Identifier: GPL-2.0
+.. SPDX-License-Identifier: GPL-2.0
====================
1-wire Slave Drivers
base-commit: 7e5a0fe4e8ae2eb341f8ebbee2b24231a58fc28b
--
An old man doll... just what I always wanted! - Clara
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] Documentation: w1: Fix SPDX comment syntax on masters and slaves toctree index
2025-09-09 2:21 [PATCH] Documentation: w1: Fix SPDX comment syntax on masters and slaves toctree index Bagas Sanjaya
@ 2025-09-09 18:06 ` Krzysztof Kozlowski
2025-09-09 18:57 ` Jonathan Corbet
1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2025-09-09 18:06 UTC (permalink / raw)
To: Bagas Sanjaya, Linux Kernel Mailing List, Linux Documentation
Cc: Jonathan Corbet, Mauro Carvalho Chehab
On 09/09/2025 04:21, Bagas Sanjaya wrote:
> Commit e9bb627561535d ("docs: w1: convert to ReST and add to the kAPI
> group of docs") converts 1-Wire docs to reST alongside with SPDX
> comment, yet the comment is written in one dot as opposed to two in
> order to be recognized as comment directive, which spills it into
> htmldocs output. This issue is partially fixed in d8fb03e1ea64e7 ("docs:
> w1: Fix SPDX-License-Identifier syntax") as it only touches top-level w1
> toctree.
>
> Do the same fix on masters and slaves toctrees.
>
> Fixes: e9bb62756153 ("docs: w1: convert to ReST and add to the kAPI group of docs")
> Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
> ---
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
I guess that's the patch for docs (not w1) tree.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] Documentation: w1: Fix SPDX comment syntax on masters and slaves toctree index
2025-09-09 2:21 [PATCH] Documentation: w1: Fix SPDX comment syntax on masters and slaves toctree index Bagas Sanjaya
2025-09-09 18:06 ` Krzysztof Kozlowski
@ 2025-09-09 18:57 ` Jonathan Corbet
1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Corbet @ 2025-09-09 18:57 UTC (permalink / raw)
To: Bagas Sanjaya, Linux Kernel Mailing List, Linux Documentation
Cc: Krzysztof Kozlowski, Bagas Sanjaya, Mauro Carvalho Chehab
Bagas Sanjaya <bagasdotme@gmail.com> writes:
> Commit e9bb627561535d ("docs: w1: convert to ReST and add to the kAPI
> group of docs") converts 1-Wire docs to reST alongside with SPDX
> comment, yet the comment is written in one dot as opposed to two in
> order to be recognized as comment directive, which spills it into
> htmldocs output. This issue is partially fixed in d8fb03e1ea64e7 ("docs:
> w1: Fix SPDX-License-Identifier syntax") as it only touches top-level w1
> toctree.
>
> Do the same fix on masters and slaves toctrees.
>
> Fixes: e9bb62756153 ("docs: w1: convert to ReST and add to the kAPI group of docs")
> Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
> ---
> Documentation/w1/masters/index.rst | 2 +-
> Documentation/w1/slaves/index.rst | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
Applied, thanks.
jon
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-09-09 18:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-09 2:21 [PATCH] Documentation: w1: Fix SPDX comment syntax on masters and slaves toctree index Bagas Sanjaya
2025-09-09 18:06 ` Krzysztof Kozlowski
2025-09-09 18:57 ` Jonathan Corbet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox