Skip to contentSkip to conversation

Documentation: add link to stm32mp157 docs

PATCH In review Gerald BAEZA 3 participants 8 messages Aug 27, 2019 – Oct 25, 2019

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

PATCH 1/1 Documentation: add link to stm32mp157 docs

Link to the online stm32mp157 documentation added
in the overview.

---
 Documentation/arm/stm32/stm32mp157-overview.rst | 6 ++++++
 1 file changed, 6 insertions(+)
Documentation/arm/stm32/stm32mp157-overview.rst +6 -0
index f62fdc8..8d5a476 100644
@@ -14,6 +14,12 @@ It features:
 - Standard connectivity, widely inherited from the STM32 MCU family
 - Comprehensive security support
 
+Resources
+---------
+
+Datasheet and reference manual are publicly available on ST website:
+.. _STM32MP157: https://www.st.com/en/microcontrollers-microprocessors/stm32mp157.html
+
 :Authors:
 
 - Ludovic Barre <[email protected]>
Signature · 6 lines
2.7.4

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
maintainer
#1 lore raw
Quoted 13 lines · On Tue, 27 Aug 2019 12:19:32 +0000 Gerald BAEZA <[email protected]> wrote:

Link to the online stm32mp157 documentation added
in the overview.

---
 Documentation/arm/stm32/stm32mp157-overview.rst | 6 ++++++
 1 file changed, 6 insertions(+)
Documentation/arm/stm32/stm32mp157-overview.rst +0 -0
index f62fdc8..8d5a476 100644

Documentation/arm/stm32/stm32mp157-overview.rst It features: · line 22

Quoted 9 lines
Documentation/arm/stm32/stm32mp157-overview.rst +6 -0
@@ -14,6 +14,12 @@ It features:
 - Standard connectivity, widely inherited from the STM32 MCU family
 - Comprehensive security support
 
+Resources
+---------
+
+Datasheet and reference manual are publicly available on ST website:
+.. _STM32MP157: https://www.st.com/en/microcontrollers-microprocessors/stm32mp157.html
+

Adding the URL is a fine idea. But you don't need the extra syntax to create a link if you're not going to actually make a link out of it. So I'd take the ".. _STM32MP157:" part out and life will be good.

Thanks,

jon

#2 lore raw

Hi Jonathan,

Quoted 19 lines · Jonathan Corbet
Quoted 16 lines · On Tue, 27 Aug 2019 12:19:32 +0000 Gerald BAEZA <[email protected]> wrote:

Link to the online stm32mp157 documentation added
in the overview.

---
  Documentation/arm/stm32/stm32mp157-overview.rst | 6 ++++++
  1 file changed, 6 insertions(+)
Documentation/arm/stm32/stm32mp157-overview.rst +0 -0
index f62fdc8..8d5a476 100644
@@ -14,6 +14,12 @@ It features:
  - Standard connectivity, widely inherited from the STM32 MCU family
  - Comprehensive security support
 
Quoted 11 lines

Documentation/arm/stm32/stm32mp157-overview.rst It features: · line 22

Quoted 6 lines
Documentation/arm/stm32/stm32mp157-overview.rst +6 -0
+Resources
+---------
+
+Datasheet and reference manual are publicly available on ST website:
+.. _STM32MP157: https://www.st.com/en/microcontrollers-microprocessors/stm32mp157.html
+

Adding the URL is a fine idea. But you don't need the extra syntax to create a link if you're not going to actually make a link out of it. So I'd take the ".. _STM32MP157:" part out and life will be good.

We also did it for older stm32 product. Idea was to not have the "full" address but just a shortcut of the link when html file is read. It maybe makes no sens ? (if yes we will have to update older stm32 overview :))

thanks
Alex

Quoted 4 lines

Thanks,

jon

maintainer
#3 lore raw
Quoted 4 lines · On Tue, 27 Aug 2019 17:23:30 +0200 Alexandre Torgue <[email protected]>…
Quoted 4 lines
Quoted 3 lines
Documentation/arm/stm32/stm32mp157-overview.rst +3 -0
+Datasheet and reference manual are publicly available on ST website:
+.. _STM32MP157: https://www.st.com/en/microcontrollers-microprocessors/stm32mp157.html
+  
Quoted 8 lines
Quoted 4 lines

Adding the URL is a fine idea. But you don't need the extra syntax to create a link if you're not going to actually make a link out of it. So I'd take the ".. _STM32MP157:" part out and life will be good.

We also did it for older stm32 product. Idea was to not have the "full" address but just a shortcut of the link when html file is read. It maybe makes no sens ? (if yes we will have to update older stm32 overview :))

Did you actually run it through Sphinx to see what you get? If I understand the effect you're after, you want something like this:

The datasheet and reference manual are publicly available on STM32MP157_.

.. _STM32MP157: https://www.st.com/en/microcontrollers-microprocessors/stm32mp157.html

IOW you have to actually *use* the label you are setting up. That's a fine way to do it, I guess, though I'm not really convinced it's better than just putting the URL in directly.

Thanks,

jon

#4 lore raw
In reply to Alexandre Torgue

Hi Jonathan

Quoted 38 lines

From: Alexandre TORGUE <[email protected]>
Hi Jonathan,

Quoted 19 lines · Jonathan Corbet
Quoted 16 lines · On Tue, 27 Aug 2019 12:19:32 +0000 Gerald BAEZA <[email protected]> wrote:

Link to the online stm32mp157 documentation added in the overview.

---
  Documentation/arm/stm32/stm32mp157-overview.rst | 6 ++++++
  1 file changed, 6 insertions(+)
Documentation/arm/stm32/stm32mp157-overview.rst +0 -0
index f62fdc8..8d5a476 100644
@@ -14,6 +14,12 @@ It features:
  - Standard connectivity, widely inherited from the STM32 MCU family
  - Comprehensive security support
 
Quoted 6 lines

Documentation/arm/stm32/stm32mp157-overview.rst It features:

Quoted 6 lines
Documentation/arm/stm32/stm32mp157-overview.rst +6 -0
+Resources
+---------
+
+Datasheet and reference manual are publicly available on ST website:
+.. _STM32MP157:
+https://www.st.com/en/microcontrollers-

microprocessors/stm32mp157.ht

Quoted 7 lines

Documentation/arm/stm32/stm32mp157-overview.rst It features: · line 24

Quoted 2 lines
Documentation/arm/stm32/stm32mp157-overview.rst +2 -0
+ml
+

Adding the URL is a fine idea. But you don't need the extra syntax to create a link if you're not going to actually make a link out of it. So I'd take the ".. _STM32MP157:" part out and life will be good.

Quoted 3 lines

We also did it for older stm32 product. Idea was to not have the "full" address but just a shortcut of the link when html file is read. It maybe makes no sens ? (if yes we will have to update older stm32 overview :))

Example in https://www.kernel.org/doc/html/latest/arm/stm32/stm32h743-overview.html

Do you agree to continue like this ?

Best regards,

Gérald

Quoted 8 lines

thanks
Alex

Quoted 4 lines

Thanks,

jon

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

maintainer
#5 lore raw
Quoted 5 lines · On Thu, 3 Oct 2019 10:05:46 +0000 Gerald BAEZA <[email protected]> wrote:
Quoted 5 lines
Quoted 4 lines

Adding the URL is a fine idea. But you don't need the extra syntax to create a link if you're not going to actually make a link out of it. So I'd take the ".. _STM32MP157:" part out and life will be good.

Quoted 7 lines
Quoted 3 lines

We also did it for older stm32 product. Idea was to not have the "full" address but just a shortcut of the link when html file is read. It maybe makes no sens ? (if yes we will have to update older stm32 overview :))

Example in https://www.kernel.org/doc/html/latest/arm/stm32/stm32h743-overview.html

Do you agree to continue like this ?

If you actually use the reference then it's OK, I guess; in the posted document that wasn't happening. I still think it might be a bit more straightforward to just put the URL; that will make the plain-text file a little more readable. In the end, though, it's up to you, go with whichever you prefer.

Thanks,

jon

#6 lore raw

Hi Jonathan

Quoted 20 lines

From: Jonathan Corbet <[email protected]>

Quoted 5 lines · On Thu, 3 Oct 2019 10:05:46 +0000 Gerald BAEZA <[email protected]> wrote:
Quoted 5 lines
Quoted 4 lines

Adding the URL is a fine idea. But you don't need the extra syntax to create a link if you're not going to actually make a link out of it. So I'd take the ".. _STM32MP157:" part out and life will be good.

Quoted 7 lines
Quoted 4 lines

We also did it for older stm32 product. Idea was to not have the "full" address but just a shortcut of the link when html file is read. It maybe makes no sens ? (if yes we will have to update older stm32 overview :))

Example in
https://www.kernel.org/doc/html/latest/arm/stm32/stm32h743-

overview.ht

Quoted 2 lines

ml

Quoted 7 lines
Quoted 1 line

Do you agree to continue like this ?

If you actually use the reference then it's OK, I guess; in the posted document that wasn't happening. I still think it might be a bit more straightforward to just put the URL; that will make the plain-text file a little more readable. In the end, though, it's up to you, go with whichever you prefer.

So I prefer to keep the patch as it, for better consistency with the others stm32 overviews. Thank you.

Quoted 4 lines

Thanks,

jon

#7 lore raw
In reply to Jonathan Corbet

Hi Jonathan

Quoted 14 lines · Jonathan Corbet
Quoted 11 lines · On Thu, 3 Oct 2019 10:05:46 +0000 Gerald BAEZA <[email protected]> wrote:
Quoted 8 lines
Quoted 4 lines

Adding the URL is a fine idea. But you don't need the extra syntax to create a link if you're not going to actually make a link out of it. So I'd take the ".. _STM32MP157:" part out and life will be good.

We also did it for older stm32 product. Idea was to not have the "full" address but just a shortcut of the link when html file is read. It maybe makes no sens ? (if yes we will have to update older stm32 overview :))

Example in https://www.kernel.org/doc/html/latest/arm/stm32/stm32h743-overview.html

Quoted 8 lines
Quoted 1 line

Do you agree to continue like this ?

If you actually use the reference then it's OK, I guess; in the posted document that wasn't happening. I still think it might be a bit more straightforward to just put the URL; that will make the plain-text file a little more readable. In the end, though, it's up to you, go with whichever you prefer.

Do you take this patch or do I have to add it in my STM32 pull request ?

Thanks in advance
Alex

Quoted 4 lines

Thanks,

jon

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel