Skip to contentSkip to conversation

Documentation: w1: Fix SPDX comment syntax on masters and slaves toctree index

PATCH Applied Bagas Sanjaya 3 participants 3 messages Sep 9, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: w1: Fix SPDX comment syntax on masters and slaves toctree index

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")
---
 Documentation/w1/masters/index.rst | 2 +-
 Documentation/w1/slaves/index.rst  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Documentation/w1/masters/index.rst +1 -1
index cc40189909fd17..871442c7f195bf 100644
@@ -1,4 +1,4 @@
-. SPDX-License-Identifier: GPL-2.0
+.. SPDX-License-Identifier: GPL-2.0
 
 =====================
 1-wire Master Drivers
Documentation/w1/slaves/index.rst +1 -1
index d0697b202f09f0..a210f38c889c14 100644
@@ -1,4 +1,4 @@
-. SPDX-License-Identifier: GPL-2.0
+.. SPDX-License-Identifier: GPL-2.0
 
 ====================
 1-wire Slave Drivers

base-commit: 7e5a0fe4e8ae2eb341f8ebbee2b24231a58fc28b

Signature · 1 line
An old man doll... just what I always wanted! - Clara
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines · Bagas Sanjaya

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.

Quoted 5 lines

Do the same fix on masters and slaves toctrees.

Fixes e9bb62756153 ("docs: w1: convert to ReST and add to the kAPI group of docs")

---

I guess that's the patch for docs (not w1) tree.

Best regards,
Krzysztof

maintainer Applied
#2 lore raw
In reply to Bagas Sanjaya
Quoted 8 lines · Bagas Sanjaya

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.

Quoted 8 lines

Do the same fix on masters and slaves toctrees.

Fixes e9bb62756153 ("docs: w1: convert to ReST and add to the kAPI group of docs")
---
 Documentation/w1/masters/index.rst | 2 +-
 Documentation/w1/slaves/index.rst  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Applied, thanks.

jon