()
| 410 | config_dict.write(f) |
| 411 | |
| 412 | def _update_project_config(): |
| 413 | config_dict = _read_project_config() |
| 414 | config_dict['project']['title'] = project_title |
| 415 | config_dict['project']['author'] = author |
| 416 | config_dict['project']['last_updated'] = datetime.now().strftime("%Y-%m-%d %H:%M:%S") |
| 417 | config_dict["html"]["current_page"] = html_index |
| 418 | config_dict["html"]["current_index"] = html_page |
| 419 | config_dict["html"]["prefix"] = html_prefix |
| 420 | config_dict["html"]["pages"] = (',').join(html_pages) |
| 421 | config_dict["labels"] = html_labels |
| 422 | _write_project_config(config_dict) |
| 423 | |
| 424 | def _update_ini_files(): |
| 425 | generate = False # Will be set to True is main config is corrupted |
nothing calls this directly
no test coverage detected