File: //lib/python3.12/site-packages/pyynl/__pycache__/ynl_gen_rst.cpython-312.pyc
�
�j� � �4 � d Z ddlZddlZddlZddlZddlZej j ej e
� j � j j � � ddlmZ dej fd�Zdededdfd�Zdd �Zed
k( r e� yy)a�
Script to auto generate the documentation for Netlink specifications.
:copyright: Copyright (C) 2023 Breno Leitao <leitao@debian.org>
:license: GPL Version 2, June 1991 see linux/COPYING for details.
This script performs extensive parsing to the Linux kernel's netlink YAML
spec files, in an effort to avoid needing to heavily mark up the original
YAML file. It uses the library code from scripts/lib.
� N)�YnlDocGenerator�returnc � � t j d�� } | j ddd�� | j ddd �
� | j � }|j ddd
�
� | j � }|j
r$t
j t j �� |j r^t j j |j � s5t
j d|j � t j d� |j s*t
j"