Skip to contentSkip to conversation

doc: Remove Pygments dependency from manpage

PATCH Applied Luiz Augusto von Dentz 3 participants 3 messages Sep 18, 2024 – Sep 19, 2024 Bluetooth drivers

lore
Share & tools
lore

Luiz Augusto von Dentz

author maintainer
#0 lore raw

PATCH 1/1 doc: Remove Pygments dependency from manpage

From: Luiz Augusto von Dentz <[email protected]>

This patch removes the Pygments dependency from l2cap/rfcomm.rst file. When the code-block type is specified, the rst2man throws a warning asking for Pygments package.

---
 doc/l2cap.rst  | 10 +++++-----
 doc/rfcomm.rst | 10 +++++-----
 2 files changed, 10 insertions(+), 10 deletions(-)
doc/l2cap.rst +5 -5
index 2486f7c6f55a..f90f88222ae8 100644
@@ -16,7 +16,7 @@ L2CAP protocol
 SYNOPSIS
 ========
 
-.. code-block:: c
+.. code-block::
 
     #include <sys/socket.h>
     #include <bluetooth/bluetooth.h>
@@ -40,7 +40,7 @@ connection, allowing for concurrent data transmission using different protocols.
 SOCKET ADDRESS
 ==============
 
-.. code-block:: c
+.. code-block::
 
     struct sockaddr_l2 {
         sa_family_t	l2_family;
@@ -52,7 +52,7 @@ SOCKET ADDRESS
 
 Example:
 
-.. code-block:: c
+.. code-block::
 
     struct sockaddr_l2 addr;
 
@@ -90,7 +90,7 @@ Channel security level, possible values:
 
 Example:
 
-.. code-block:: c
+.. code-block::
 
     int level = BT_SECURITY_HIGH;
     int err = setsockopt(l2cap_socket, SOL_BLUETOOTH, BT_SECURITY, &level,
@@ -116,7 +116,7 @@ authorization at profile level, possible values:
 
 Example:
 
-.. code-block:: c
+.. code-block::
 
     int defer_setup = 1;
     int err = setsockopt(l2cap_socket, SOL_BLUETOOTH, BT_DEFER_SETUP,
doc/rfcomm.rst +5 -5
index 4e43094b797d..b20c7544b64f 100644
@@ -16,7 +16,7 @@ RFCOMM protocol
 SYNOPSIS
 ========
 
-.. code-block:: c
+.. code-block::
 
     #include <sys/socket.h>
     #include <bluetooth/bluetooth.h>
@@ -36,7 +36,7 @@ the 9 circuits of RS-232 (EIATIA-232-E) serial ports.
 SOCKET ADDRESS
 ==============
 
-.. code-block:: c
+.. code-block::
 
     struct sockaddr_rc {
         sa_family_t rc_family;
@@ -46,7 +46,7 @@ SOCKET ADDRESS
 
 Example:
 
-.. code-block:: c
+.. code-block::
 
     struct sockaddr_rc addr;
 
@@ -78,7 +78,7 @@ Channel security level, possible values:
 
 Example:
 
-.. code-block:: c
+.. code-block::
 
     int level = BT_SECURITY_HIGH;
     int err = setsockopt(rfcomm_socket, SOL_BLUETOOTH, BT_SECURITY, &level,
@@ -104,7 +104,7 @@ authorization at profile level, possible values:
 
 Example:
 
-.. code-block:: c
+.. code-block::
 
     int defer_setup = 1;
     int err = setsockopt(rfcomm_socket, SOL_BLUETOOTH, BT_DEFER_SETUP,
Signature · 1 line
2.46.0
#1 lore raw

This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list. This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=891245

---Test result---

Test Summary:

CheckPatch                    PASS      0.38 seconds
GitLint                       PASS      0.29 seconds
BuildEll                      PASS      24.53 seconds
BluezMake                     PASS      1669.60 seconds
MakeCheck                     PASS      13.51 seconds
MakeDistcheck                 PASS      179.47 seconds
CheckValgrind                 PASS      253.79 seconds
CheckSmatch                   PASS      357.66 seconds
bluezmakeextell               PASS      121.97 seconds
IncrementalBuild              PASS      1445.68 seconds
ScanBuild                     PASS      1019.07 seconds

---
Regards,
Linux Bluetooth

#2 lore raw
In reply to Luiz Augusto von Dentz
This patch was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <[email protected]>:

Hello:

This patch was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <[email protected]>:

Quoted 9 lines · On Wed, 18 Sep 2024 14:48:39 -0400 you wrote:

From: Luiz Augusto von Dentz <[email protected]>

This patch removes the Pygments dependency from l2cap/rfcomm.rst file. When the code-block type is specified, the rst2man throws a warning asking for Pygments package.

[...]

Here is the summary with links:
- [BlueZ,v1] doc: Remove Pygments dependency from manpage

    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=0ea4e4d52c55

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html