Current File : //usr/lib/python3/dist-packages/boto3/docs/__pycache__/__init__.cpython-312.pyc |
�
��e5 � �* � d dl Z d dlmZ d dlmZ d� Zy)� N)�DEPRECATED_SERVICE_NAMES)�ServiceDocumenterc �� � t j j | dd� }t j j |� st j |� |j � D �cg c] }|t vr|�� }}|D ]f }t |||� j � }t j j ||dz � }t |d� 5 }|j |� ddd� �h yc c}w # 1 sw Y �xxY w)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_servicesr r �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_docsr s� � � �����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.servicer r � � r �<module>r! s ��
� 2� 0�r