Sphinx6.1¶
版本6.1.3(2023年1月10日发布)¶
错误已修复¶
#11116:恢复到以前的Sphinx 5节点复制方法
#11117:恢复了Sphinx 6.1.0对并行图像处理的更改
#11119:抑制
ValueError
在linkcheck
builder
版本6.1.2(2023年1月7日发布)¶
错误已修复¶
版本6.1.1(2023年1月5日发布)¶
错误已修复¶
#11091:修复
util.nodes.apply_source_workaround
为literal_block
节点或节点的父级中没有源信息的节点。
版本6.1.0(2023年1月5日发布)¶
依赖关系¶
通过了 Ruff 代码棉绒。
不兼容的更改¶
#10979:gettext:删除了对中多元化的支持
get_translation
.这是未使用的,并且使其他变化变得复杂,sphinx.locale
.
弃用¶
sphinx.util
功能:更名
sphinx.util.typing.stringify()
到sphinx.util.typing.stringify_annotation()
移动
sphinx.util.xmlname_checker()
到sphinx.builders.epub3._XML_NAME_PATTERN
搬到
sphinx.util.display
:sphinx.util.status_iterator
sphinx.util.display_chunk
sphinx.util.SkipProgressMessage
sphinx.util.progress_message
搬到
sphinx.util.http_date
:sphinx.util.epoch_to_rfc1123
sphinx.util.rfc1123_to_epoch
搬到
sphinx.util.exceptions
:sphinx.util.save_traceback
sphinx.util.format_exception_cut_frames
功能添加¶
在编写阶段在构建环境中缓存文档树。
使所有编写阶段任务都支持并行执行。
#11072:使用PEP 604 (
X | Y
)显示约定typing.Optional
和typing.Optional
Python域和autodoc中的类型。#10700:autodoc:文档
typing.NewType()
类型作为类而不是“数据”。在读取和写入阶段之间缓存文档树。
错误已修复¶
#10962:HTML:修复多字关键名称查找表。
修复了对Python 3.12 Alpha 3的支持(
enum
模块)。#11069:HTML主题:删除了过时的“快捷方式”链接关系关键字。
#10952:程序中断时正确终止并行进程。
#10988:加速
TocTree.resolve()
更高效的复制。#6744:LaTeX:对seealso指令的支持应通过允许样式的环境进行。
#11074:LaTeX:从5.1.0开始,无法将phinxnote更改为使用phinxheavybox