Documentation: typec.rst: Use literal-block element with ascii art
Subsystems (3)
Heikki Krogerus
maintainerPATCH v2 1/1 Documentation: typec.rst: Use literal-block element with ascii art
Using reStructuredText literal-block element with ascii-art. That prevents the ascii art from being processed as reStructuredText.
---
Changed since v1:
- Using literal-block element instead of comment
- Subject in v1 was "Documentation: typec.rst: Mark ascii art as a comment"
--- Documentation/driver-api/usb/typec.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/driver-api/usb/typec.rst +1 -1
@@ -210,7 +210,7 @@ If the connector is dual-role capable, there may also be a switch for the data role. USB Type-C Connector Class does not supply separate API for them. The port drivers can use USB Role Class API with those. -Illustration of the muxes behind a connector that supports an alternate mode: +Illustration of the muxes behind a connector that supports an alternate mode:: ------------------------ | Connector |
Quoted 7 lines · Heikki Krogerus
Using reStructuredText literal-block element with ascii-art. That prevents the ascii art from being processed as reStructuredText.
Reported-by Masanari Iida <[email protected]>Fixes bdecb33af34f ("usb: typec: API for controlling USB Type-C Multiplexers")Signed-off-by Heikki Krogerus <[email protected]>
Quoted 21 lines
---
Changed since v1:
- Using literal-block element instead of comment
- Subject in v1 was "Documentation:typec.rst: Mark ascii art as a comment"--- Documentation/driver-api/usb/typec.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/driver-api/usb/typec.rst +1
-1@@ -210,7 +210,7 @@ If the connector is dual-role capable, there may also be a switch for the data role. USB Type-C Connector Class does not supply separate API for them. The port drivers can use USB Role Class API with those. -Illustration of the muxes behind a connector that supports an alternate mode: +Illustration of the muxes behind a connector that supports an alternate mode:: ------------------------ | Connector |
Signature · 1 line
Jani Nikula, Intel Open Source Technology Center
Quoted 7 lines · Heikki Krogerus
Using reStructuredText literal-block element with ascii-art. That prevents the ascii art from being processed as reStructuredText.
Reported-by Masanari Iida <[email protected]>Fixes bdecb33af34f ("usb: typec: API for controlling USB Type-C Multiplexers")Signed-off-by Heikki Krogerus <[email protected]>
Jon, this fixes a documentation build failure in v4.17-rc1. It's not just a warning, it's a complete fail. Our docs builder at 01.org is failing, apparently the same at kernel.org. Please pick it up soon.
Thanks,
Jani.
Quoted 21 lines
---
Changed since v1:
- Using literal-block element instead of comment
- Subject in v1 was "Documentation:typec.rst: Mark ascii art as a comment"--- Documentation/driver-api/usb/typec.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/driver-api/usb/typec.rst +1
-1@@ -210,7 +210,7 @@ If the connector is dual-role capable, there may also be a switch for the data role. USB Type-C Connector Class does not supply separate API for them. The port drivers can use USB Role Class API with those. -Illustration of the muxes behind a connector that supports an alternate mode: +Illustration of the muxes behind a connector that supports an alternate mode:: ------------------------ | Connector |
Signature · 5 lines
Jani Nikula, Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Jonathan Corbet
maintainerQuoted 5 lines · On Wed, 25 Apr 2018 16:47:01 +0300 Jani Nikula <[email protected]>…
Quoted 4 lines · Heikki Krogerus
Using reStructuredText literal-block element with ascii-art. That prevents the ascii art from being processed as reStructuredText.
Quoted 7 lines
Quoted 3 lines
Reported-by Masanari Iida <[email protected]>Fixes bdecb33af34f ("usb: typec: API for controlling USB Type-C Multiplexers")Signed-off-by Heikki Krogerus <[email protected]>Jon, this fixes a documentation build failure in v4.17-rc1. It's not just a warning, it's a complete fail. Our docs builder at 01.org is failing, apparently the same at kernel.org. Please pick it up soon.
Sorry, I'd seen the attached and was assuming Greg would ship it Linusward. I'll get it upstream soon.
jon
From: Greg KH <[email protected]>
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: [PATCH] Documentation: fix reST markup error in driver-api/usb/typec.rst
Date: Sun, 8 Apr 2018 09:19:58 +0200
Sender: [email protected]
Quoted 14 lines · On Sun, Apr 08, 2018 at 10:47:12AM +0800, [email protected] wrote:
From: Changbin Du <[email protected]>
There is an format error in
driver-api/usb/typec.rstthat breaks sphinx docs building.reST markup error:
/home/changbin/work/linux/Documentation/driver-api/usb/typec.rst:215: (SEVERE/4) Unexpected section title or transition.------------------------
Documentation/Makefile:68: recipe for target 'htmldocs' failed make[1]: *** [htmldocs] Error 1
Makefile:1527: recipe for target 'htmldocs' failed
make: *** [htmldocs] Error 2
Quoted 4 lines
Signed-off-by Changbin Du <[email protected]>--- Documentation/driver-api/usb/typec.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Thanks, someone else already sent this, sorry. I'll be sending it onward after 4.17-rc1 is out.
greg k-h
---
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Greg KH
maintainerQuoted 5 lines · Jani Nikula
Quoted 4 lines · Heikki Krogerus
Using reStructuredText literal-block element with ascii-art. That prevents the ascii art from being processed as reStructuredText.
Quoted 7 lines
Quoted 3 lines
Reported-by Masanari Iida <[email protected]>Fixes bdecb33af34f ("usb: typec: API for controlling USB Type-C Multiplexers")Signed-off-by Heikki Krogerus <[email protected]>Jon, this fixes a documentation build failure in v4.17-rc1. It's not just a warning, it's a complete fail. Our docs builder at 01.org is failing, apparently the same at kernel.org. Please pick it up soon.
This is in my tree, will go to Linus in a day or so.
thanks,
greg k-h
---
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html