当前位置: 首页>>代码示例>>Python>>正文


Python BuildDoc.initialize_options方法代码示例

本文整理汇总了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"
开发者ID:ParaToolsInc,项目名称:taucmdr,代码行数:9,代码来源:setup.py

示例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
开发者ID:Cadair,项目名称:astropy-helpers,代码行数:9,代码来源:build_sphinx.py

示例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
开发者ID:rbtcollins,项目名称:pbr,代码行数:11,代码来源:cmdclass.py

示例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
开发者ID:njmiller,项目名称:astropy,代码行数:7,代码来源:setup_helpers.py

示例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'
开发者ID:fenhl,项目名称:blython,代码行数:7,代码来源:setup.py

示例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"
开发者ID:jpgr87,项目名称:wstool,代码行数:5,代码来源:setup.py

示例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)
开发者ID:bsugerman,项目名称:drizzlepac,代码行数:4,代码来源:setup.py

示例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
开发者ID:lmoustakas,项目名称:astropy,代码行数:5,代码来源:setup_helpers.py

示例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'
开发者ID:glennmatthews,项目名称:cot,代码行数:6,代码来源:setup.py

示例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
开发者ID:fgrollier,项目名称:astropy,代码行数:6,代码来源:setup_helpers.py


注:本文中的sphinx.setup_command.BuildDoc.initialize_options方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。