Skip to contentSkip to conversation

docs: dt: Use full path to enable cross-reference

PATCH In review Nícolas F. R. A. Prado 2 participants 2 messages Nov 23, 2020 – Nov 30, 2020

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

PATCH 1/1 docs: dt: Use full path to enable cross-reference

Use full path to reference writing-schema.rst so that it becomes a cross-reference.

---

Hi Jon,

do you think this would be the way to go, or should we instead extend automarkup to work on relative paths to doc pages, so that this reference would work as is?

Thanks,
Nícolas

 Documentation/devicetree/bindings/submitting-patches.rst | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/submitting-patches.rst +2 -1
index 0aab2b3f16d0..68129ff09967 100644
@@ -25,7 +25,8 @@ I. For patch submitters
 
        make dt_binding_check
 
-     See ../writing-schema.rst for more details about schema and tools setup.
+     See Documentation/devicetree/writing-schema.rst for more details about
+     schema and tools setup.
 
   3) DT binding files should be dual licensed. The preferred license tag is
      (GPL-2.0-only OR BSD-2-Clause).
Signature · 1 line
2.29.2
maintainer
#1 lore raw
Quoted 10 lines · On Mon, 23 Nov 2020 12:13:46 +0000 Nícolas F. R. A. Prado…

Use full path to reference writing-schema.rst so that it becomes a cross-reference.

---

Hi Jon,

do you think this would be the way to go, or should we instead extend automarkup to work on relative paths to doc pages, so that this reference would work as is?

Sorry, I missed this before ... dunno. I suppose that recognizing relative paths would be a friendly gesture toward our documentation writers and might be worth doing.

Either way, it occurs to me that automarkup should check to see whether the file actually exists and complain if it doesn't.

For now, I'll apply this one, though.

Thanks,

jon