B è0œ`ùã@s ddlZddlmZdd„ZdS)éN)ÚServiceDocumenterc Cs|tj |dd¡}tj |¡s&t |¡xP| ¡D]D}t||ƒ ¡}tj ||d¡}t|dƒ}|  |¡WdQRXq0WdS)aGenerates 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 Ú referenceZservicesz.rstÚwbN) ÚosÚpathÚjoinÚexistsÚmakedirsZget_available_servicesrZdocument_serviceÚopenÚwrite)Úroot_dirÚsessionZservices_doc_pathÚ service_nameZdocsZservice_doc_pathÚf©rún/private/var/folders/sf/wxz_36012wxg_prv29r6623x5vlqx8/T/pip-target-tft40_m7/lib/python/boto3/docs/__init__.pyÚ generate_docss     r)rZboto3.docs.servicerrrrrrÚ s