Current File : //usr/lib/python3/dist-packages/boto3/docs/__pycache__/__init__.cpython-312.pyc
�

��e5��*�ddlZddlmZddlmZd�Zy)�N)�DEPRECATED_SERVICE_NAMES)�ServiceDocumenterc���tjj|dd�}tjj|�stj|�|j�D�cgc]}|tvr|��}}|D]f}t|||�j�}tjj||dz�}t|d�5}|j|�ddd��hycc}w#1swY�xxYw)a�Generates the reference documentation for botocore

    This will go through every available AWS service and output ReSTructured
    text files documenting each service.

    :param root_dir: The directory to write the reference files to. Each
        service's reference documentation is loacated at
        root_dir/reference/services/service-name.rst

    :param session: The boto3 session
    �	reference�servicesz.rst�wbN)�os�path�join�exists�makedirs�get_available_servicesrr�document_service�open�write)	�root_dir�session�services_doc_path�service�available_services�service_name�docs�service_doc_path�fs	         �5/usr/lib/python3/dist-packages/boto3/docs/__init__.py�
generate_docsrs��������X�{�J�G��
�7�7�>�>�+�,�
���%�&�
�5�5�7����2�2�	����+��� ��'�#4�
�
�
�
�	
��7�7�<�<��|�f�4�
���"�D�
)�	�Q�
�G�G�D�M�	�	���
�	�	�s�(C'�
C,�,C5	)r	�
botocore.docsr�boto3.docs.servicerr��r�<module>r!s��
�2�0�r