(app)
| 315 | _KEYBINDS.update(scan_all_keybinds(os.path.join(dfhack.util.DFHACK_ROOT, 'data', 'init'))) |
| 316 | |
| 317 | def setup(app): |
| 318 | app.connect('builder-inited', register) |
| 319 | |
| 320 | app.add_domain(TagRepoDomain) |
| 321 | register_index(app, 'all', 'Index of DFHack tools') |
| 322 | init_tag_indices(app) |
| 323 | |
| 324 | # TODO: re-enable once detection is corrected |
| 325 | # app.connect('build-finished', lambda *_: check_missing_keybinds()) |
| 326 | |
| 327 | return { |
| 328 | 'version': '0.1', |
| 329 | 'parallel_read_safe': True, |
| 330 | 'parallel_write_safe': True, |
| 331 | } |
nothing calls this directly
no test coverage detected