def default_latex_documents(config): # type: (Config) -> List[Tuple[str, str, str, str, str]] """ Better default latex_documents settings. """ return [(config.master_doc, make_filename_from_project(config.project) + '.tex', texescape.escape_abbr(texescape.escape(config.project)), texescape.escape_abbr(texescape.escape(config.author)), 'manual')]
def default_texinfo_documents( config: Config ) -> List[Tuple[str, str, str, str, str, str, str]]: # NOQA """ Better default texinfo_documents settings. """ filename = make_filename_from_project(config.project) return [(config.root_doc, filename, config.project, config.author, filename, 'One line description of project', 'Miscellaneous')]
def default_latex_documents(config): # type: (Config) -> List[Tuple[str, str, str, str, str]] """ Better default latex_documents settings. """ return [(config.master_doc, make_filename_from_project(config.project) + '.tex', texescape.escape_abbr(texescape.escape(config.project)), texescape.escape_abbr(texescape.escape(config.author)), 'manual')]
def default_latex_documents(config: Config) -> List[Tuple[str, str, str, str, str]]: """ Better default latex_documents settings. """ project = texescape.escape(config.project, config.latex_engine) author = texescape.escape(config.author, config.latex_engine) return [(config.master_doc, make_filename_from_project(config.project) + '.tex', texescape.escape_abbr(project), texescape.escape_abbr(author), config.latex_theme)]
def default_man_pages(config): # type: (Config) -> List[Tuple[str, str, str, List[str], int]] """ Better default man_pages settings. """ filename = make_filename_from_project(config.project) return [(config.master_doc, filename, '%s %s' % (config.project, config.release), [config.author], 1)]
def default_htmlhelp_basename(config): # type: (Config) -> str """Better default htmlhelp_basename setting.""" return make_filename_from_project(config.project) + 'doc'
def default_htmlhelp_basename(config): # type: (Config) -> str """Better default htmlhelp_basename setting.""" return make_filename_from_project(config.project) + 'doc'
def default_man_pages(config): # type: (Config) -> List[Tuple[str, str, str, List[str], int]] """ Better default man_pages settings. """ filename = make_filename_from_project(config.project) return [(config.master_doc, filename, '%s %s' % (config.project, config.release), [config.author], 1)]
def default_texinfo_documents(config): # type: (Config) -> List[Tuple[str, str, str, str, str, str, str]] """ Better default texinfo_documents settings. """ filename = make_filename_from_project(config.project) return [(config.master_doc, filename, config.project, config.author, filename, 'One line description of project', 'Miscellaneous')]
def default_texinfo_documents(config): # type: (Config) -> List[Tuple[unicode, unicode, unicode, unicode, unicode, unicode, unicode]] # NOQA """ Better default texinfo_documents settings. """ filename = make_filename_from_project(config.project) return [(config.master_doc, filename, config.project, config.author, filename, 'One line description of project', 'Miscellaneous')]