Build the text of the file and write the file.
(package, module, opts)
| 73 | |
| 74 | |
| 75 | def create_module_file(package, module, opts): |
| 76 | """Build the text of the file and write the file.""" |
| 77 | text = '' |
| 78 | #mod = __import__(package + '.' + module) |
| 79 | #text += format_heading(1, getattr(mod, '__manufacturer__', module)) |
| 80 | #text += format_heading(2, ':mod:`%s` Module' % module) |
| 81 | text += format_directive(module, package) |
| 82 | write_file(makename(package, module), text, opts) |
| 83 | |
| 84 | |
| 85 | def create_modules_toc_file(modules, opts, name='modules'): |
no test coverage detected