
    /Jf5                     ,    d dl Z d dlmZ d dlmZ d ZdS )    NDEPRECATED_SERVICE_NAMES)ServiceDocumenterc                    t           j                            | dd          }t           j                            |          st          j        |           d |                                D             }|D ]}t          |||                                          }t           j                            ||dz             }t          |d          5 }|	                    |           ddd           n# 1 swxY w Y   dS )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servicesc                 $    g | ]}|t           v|S  r   ).0services     V/home/alex/cs2snipeproduction/venv/lib/python3.11/site-packages/boto3/docs/__init__.py
<listcomp>z!generate_docs.<locals>.<listcomp>%   s.       222 	222    z.rstwbN)
ospathjoinexistsmakedirsget_available_servicesr   document_serviceopenwrite)root_dirsessionservices_doc_pathavailable_servicesservice_namedocsservice_doc_pathfs           r   generate_docsr"      sG    X{JGG7>>+,, '
%&&& 5577   +   '#4
 




 	 7<<|f4
 
 "D)) 	QGGDMMM	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 s   C//C3	6C3	)r   botocore.docsr   boto3.docs.servicer   r"   r
   r   r   <module>r%      sM    
			 2 2 2 2 2 2 0 0 0 0 0 0    r   