# Just print a summary logger.info("{0}: '{1}' files written for module '{2}' at location " "{3}.".format(dtype, len(docwriter.written_modules), module_name, os.path.abspath(outdir))) ############################################################################### # Generate the main module index ############################################################################### # First get all unique modules modules = set(list(sorted_processes.keys()) + list(sorted_pipelines.keys())) # Go through all unique modules for module_name in modules: # Generate an empty writer object docwriter = PipelineHelpWriter([], short_names=short_names) # Where the index will be written: a relative path from the makefile short_name = docwriter.get_short_name(module_name) outdir = os.path.join(base_outdir, short_name) print('short name:', short_name, ', outdir:', outdir) docwriter.write_main_index(outdir, module_name, options.module, have_usecases=False) logger.info("Index: an index has been written for module '{0}' at " "location {1}.".format(module_name, os.path.abspath(outdir)))
outdir, "index", relative_to=os.path.join(base_outdir, short_name), rst_extension=".txt") # Just print a summary logger.info("{0}: '{1}' files written for module '{2}' at location " "{3}.".format(dtype, len(docwriter.written_modules), module_name, os.path.abspath(outdir))) ############################################################################### # Generate the main module index ############################################################################### # First get all unique modules modules = set(sorted_processes.keys() + sorted_pipelines.keys()) # Go through all unique modules for module_name in modules: # Generate an empty writer object docwriter = PipelineHelpWriter([], short_names=short_names) # Where the index will be written: a relative path from the makefile short_name = docwriter.get_short_name(module_name) outdir = os.path.join(base_outdir, short_name) print('short name:', short_name, ', outdir:', outdir) docwriter.write_main_index(outdir, module_name, options.module) logger.info("Index: an index has been written for module '{0}' at " "location {1}.".format(module_name, os.path.abspath(outdir)))
relative_to=os.path.join(base_outdir, short_name), rst_extension=".txt") # Just print a summary logger.info("{0}: '{1}' files written for module '{2}' at location " "{3}.".format(dtype, len(docwriter.written_modules), module_name, os.path.abspath(outdir))) ############################################################################### # Generate the main module index ############################################################################### # First get all unique modules modules = set(sorted_processes.keys() + sorted_pipelines.keys()) # Go through all unique modules for module_name in modules: # Generate an empty writer object docwriter = PipelineHelpWriter([], short_names=short_names) # Where the index will be written: a relative path from the makefile short_name = docwriter.get_short_name(module_name) outdir = os.path.join(base_outdir, short_name) print('short name:', short_name, ', outdir:', outdir) docwriter.write_main_index(outdir, module_name, options.module) logger.info("Index: an index has been written for module '{0}' at " "location {1}.".format(module_name, os.path.abspath(outdir)))