B Üç[ùã@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 Ú referenceÚservicesz.rstÚwbN) ÚosÚpathÚjoinÚexistsÚmakedirsÚget_available_servicesrÚdocument_serviceÚopenÚwrite)Úroot_dirÚsessionÚservices_doc_pathÚ service_nameÚdocsÚservice_doc_pathÚf©rúT/Users/kashii/Desktop/Projects/Workshops/worker-safety/lambda/boto3/docs/__init__.pyÚ generate_docss     r)rZboto3.docs.servicerrrrrrÚ s