(self, full_path, file_name)
| 227 | return title_section |
| 228 | |
| 229 | def write_to_file(self, full_path, file_name): |
| 230 | if not os.path.exists(full_path): |
| 231 | os.makedirs(full_path) |
| 232 | sub_resource_file_path = os.path.join(full_path, f'{file_name}.rst') |
| 233 | with open(sub_resource_file_path, 'wb') as f: |
| 234 | f.write(self.flush_structure()) |
no test coverage detected