MCPcopy Index your code
hub / github.com/LabPy/lantz / format_directive

Function format_directive

docs/driversdoc.py:67–72  ·  view source on GitHub ↗

Create the automodule directive and add the options.

(module, package=None)

Source from the content-addressed store, hash-verified

65
66
67def format_directive(module, package=None):
68 """Create the automodule directive and add the options."""
69 directive = '.. automodule:: %s\n' % makename(package, module)
70 for option in OPTIONS:
71 directive += ' :%s:\n' % option
72 return directive
73
74
75def create_module_file(package, module, opts):

Callers 1

create_module_fileFunction · 0.85

Calls 1

makenameFunction · 0.85

Tested by

no test coverage detected