def cache_page(self, page):
full_path = os.path.join(self.__cache_dir,<EOL>self.get_output_folder(page),<EOL>page.link.ref)<EOL>os.makedirs(os.path.dirname(full_path), exist_ok=True)<EOL>with open(full_path, '<STR_LIT:w>', encoding='<STR_LIT:utf-8>') as _:<EOL><INDENT>_.write(page.detailed_description)<EOL><DEDENT>page.cached_paths.add(full_path)<EOL>
Banana banana