robot API笔记5

实现了 Libdoc 工具。

命令行Libdoc入口点和编程接口 提供的是单独的吗 robot.libdoc 模块。

这个包被认为是稳定的但不是公共API的一部分。

robot.libdocpkg.LibraryDocumentation(library_or_resourcename=Noneversion=None,doc_format=None)

Submodules

robot.libdocpkg.builder module

robot.libdocpkg.builder.JavaDocBuilder()
robot.libdocpkg.builder.DocumentationBuilder(library_or_resource)

robot.libdocpkg.consoleviewer module

classrobot.libdocpkg.consoleviewer.ConsoleViewer(libdoc)

Bases: object

classmethodhandles(command)
classmethodvalidate_command(commandargs)
view(command*args)
list(*patterns)
show(*names)
version()
classrobot.libdocpkg.consoleviewer.KeywordMatcher(libdoc)

Bases: object

search(patterns)

robot.libdocpkg.htmlwriter module

classrobot.libdocpkg.htmlwriter.LibdocHtmlWriter

Bases: object

write(libdocoutput)
classrobot.libdocpkg.htmlwriter.LibdocModelWriter(outputlibdoc)

Bases: robot.htmldata.htmlfilewriter.ModelWriter

write(line)
write_data()
handles(line)
classrobot.libdocpkg.htmlwriter.JsonConverter(doc_formatter)

Bases: object

convert(libdoc)
classrobot.libdocpkg.htmlwriter.DocFormatter(keywordsintroductiondoc_format='ROBOT')

Bases: object

html(docintro=False)
classrobot.libdocpkg.htmlwriter.DocToHtml(doc_format)

Bases: object

robot.libdocpkg.javabuilder module

classrobot.libdocpkg.javabuilder.JavaDocBuilder

Bases: object

build(path)
robot.libdocpkg.javabuilder.ClassDoc(path)

Process the given Java source file and return ClassDoc instance.

Processing is done using com.sun.tools.javadoc APIs. Returned object implements com.sun.javadoc.ClassDoc interface:http://docs.oracle.com/javase/7/docs/jdk/api/javadoc/doclet/

robot.libdocpkg.model module

classrobot.libdocpkg.model.LibraryDoc(name=''doc=''version=''type='library'scope='',named_args=Truedoc_format='')

Bases: object

doc_format
keywords
all_tags
save(output=Noneformat='HTML')
classrobot.libdocpkg.model.KeywordDoc(name=''args=()doc=''tags=())

Bases: robot.utils.sortable.Sortable

shortdoc

robot.libdocpkg.output module

classrobot.libdocpkg.output.LibdocOutput(output_pathformat)

Bases: object

robot.libdocpkg.robotbuilder module

classrobot.libdocpkg.robotbuilder.LibraryDocBuilder

Bases: object

build(library)
classrobot.libdocpkg.robotbuilder.ResourceDocBuilder

Bases: object

build(path)
classrobot.libdocpkg.robotbuilder.KeywordDocBuilder(resource=False)

Bases: object

build_keywords(lib)[
build_keyword(kw)

robot.libdocpkg.specbuilder module

classrobot.libdocpkg.specbuilder.SpecDocBuilder

Bases: object

build(path)

robot.libdocpkg.writer module

robot.libdocpkg.writer.LibdocWriter(format=None)

robot.libdocpkg.xmlwriter module

classrobot.libdocpkg.xmlwriter.LibdocXmlWriter

Bases: object

write(libdocoutfile)
posted @ 2016-05-09 16:45  七月的尾巴_葵花  阅读(421)  评论(0编辑  收藏  举报