def html(options): "Generate HTML files." set_templates(options.html.templates) if paverutils is None: raise RuntimeError('Could not find sphinxcontrib.paverutils, will not be able to build HTML output.') paverutils.html(options) return
def html(options): if paverutils is None: raise RuntimeError( 'Could not find sphinxcontrib.paverutils, will not be able to build HTML output.' ) paverutils.html(options) return
def docs(options): '''Sphinx documenation''' if not paverutils: raise RuntimeError("Sphinxcontib.paverutils needed to make docs") sh("sphinx-apidoc -o ./docs/api ./src/eyed3/") paverutils.html(options) print("Docs: file://%s/%s/%s/html/index.html" % (os.getcwd(), options.docroot, options.builddir))
def html(options): "Generate HTML files." # Override target translation configuration -locale- (see source/conf.py) language_code, encoding = locale.getdefaultlocale() if language_code and language_code != "C": options.config_args = {"language": language_code} paverutils.html(options) css(options) return
def docs(options): '''Sphinx documenation''' if not paverutils: raise RuntimeError("Sphinxcontib.paverutils needed to make docs") sh("sphinx-apidoc --force -o ./docs/api ./src/eyed3/") try: paverutils.html(options) except SystemExit as ex: if ex.code != 0: raise print("Docs: file://%s/%s/%s/html/index.html" % (os.getcwd(), options.docroot, options.builddir))
def html(options): if paverutils is None: raise RuntimeError('Could not find sphinxcontrib.paverutils, will not be able to build HTML output.') paverutils.html(options) return
def html(options): "Generate HTML files." paverutils.html(options) css(options) return