doc: Remove Pygments dependency from manpage

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.

Fixes: https://github.com/bluez/bluez/issues/950
This commit is contained in:
Luiz Augusto von Dentz 2024-09-18 14:47:12 -04:00
parent 7aa245979d
commit 0ea4e4d52c
2 changed files with 10 additions and 10 deletions

View File

@ -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,

View File

@ -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,