本文整理汇总了Python中sphinx.setup_command.BuildDoc.initialize_options方法的典型用法代码示例。如果您正苦于以下问题:Python BuildDoc.initialize_options方法的具体用法?Python BuildDoc.initialize_options怎么用?Python BuildDoc.initialize_options使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类sphinx.setup_command.BuildDoc
的用法示例。
在下文中一共展示了BuildDoc.initialize_options方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: initialize_options
# 需要导入模块: from sphinx.setup_command import BuildDoc [as 别名]
# 或者: from sphinx.setup_command.BuildDoc import initialize_options [as 别名]
def initialize_options(self):
BuildDoc.initialize_options(self)
self.update_gh_pages = False
self.gh_origin_url = "[email protected]:ParaToolsInc/taucmdr.git"
self.gh_user_name = None # Use github global conf
self.gh_user_email = None # Use github global conf
self.gh_commit_msg = "Updated documentation via build_sphinx"
示例2: initialize_options
# 需要导入模块: from sphinx.setup_command import BuildDoc [as 别名]
# 或者: from sphinx.setup_command.BuildDoc import initialize_options [as 别名]
def initialize_options(self):
SphinxBuildDoc.initialize_options(self)
self.clean_docs = False
self.no_intersphinx = False
self.open_docs_in_browser = False
self.warnings_returncode = False
self.traceback = False
示例3: initialize_options
# 需要导入模块: from sphinx.setup_command import BuildDoc [as 别名]
# 或者: from sphinx.setup_command.BuildDoc import initialize_options [as 别名]
def initialize_options(self):
BuildDoc.initialize_options(self)
# Fix up defaults for option dicts
build_doc = self.distribution.get_option_dict("build_sphinx")
if "source_dir" not in build_doc:
self.source_dir = "doc/source"
if "build_dir" not in build_doc:
self.build_dir = "doc/build"
self.all_files = False
示例4: initialize_options
# 需要导入模块: from sphinx.setup_command import BuildDoc [as 别名]
# 或者: from sphinx.setup_command.BuildDoc import initialize_options [as 别名]
def initialize_options(self):
SphinxBuildDoc.initialize_options(self)
self.clean_docs = False
self.no_intersphinx = False
self.open_docs_in_browser = False
示例5: initialize_options
# 需要导入模块: from sphinx.setup_command import BuildDoc [as 别名]
# 或者: from sphinx.setup_command.BuildDoc import initialize_options [as 别名]
def initialize_options(self):
BuildDoc.initialize_options(self)
self.builder = 'man'
self.source_dir = 'doc/sphinx/source'
self.build_dir = 'build'
示例6: initialize_options
# 需要导入模块: from sphinx.setup_command import BuildDoc [as 别名]
# 或者: from sphinx.setup_command.BuildDoc import initialize_options [as 别名]
def initialize_options(self):
BuildDoc.initialize_options(self)
self.builder = "man"
示例7: initialize_options
# 需要导入模块: from sphinx.setup_command import BuildDoc [as 别名]
# 或者: from sphinx.setup_command.BuildDoc import initialize_options [as 别名]
def initialize_options(self):
BuildDoc.initialize_options(self)
示例8: initialize_options
# 需要导入模块: from sphinx.setup_command import BuildDoc [as 别名]
# 或者: from sphinx.setup_command.BuildDoc import initialize_options [as 别名]
def initialize_options(self):
BuildDoc.initialize_options(self)
self.clean_docs = False
示例9: initialize_options
# 需要导入模块: from sphinx.setup_command import BuildDoc [as 别名]
# 或者: from sphinx.setup_command.BuildDoc import initialize_options [as 别名]
def initialize_options(self):
"""Default to manpage builder."""
BuildDoc.initialize_options(self)
self.builder = 'man'
示例10: initialize_options
# 需要导入模块: from sphinx.setup_command import BuildDoc [as 别名]
# 或者: from sphinx.setup_command.BuildDoc import initialize_options [as 别名]
def initialize_options(self):
BuildDoc.initialize_options(self)
self.clean_docs = False
self.no_intersphinx = False