sphinx.ext.duration
– 测量 Sphinx 处理时长¶
2.4 版本新增。
此扩展测量 Sphinx 处理的时长,并在构建结束时显示结果。它对于检查哪个文档构建缓慢很有用。
基础知识
用户指南
sphinx.ext.apidoc
– 从 Python 包生成 API 文档sphinx.ext.autodoc
– 从 docstring 包含文档sphinx.ext.autosectionlabel
– 允许通过标题引用章节sphinx.ext.autosummary
– 生成 autodoc 摘要sphinx.ext.coverage
– 收集文档覆盖率统计sphinx.ext.doctest
– 测试文档中的代码片段sphinx.ext.duration
– 测量 Sphinx 处理时长sphinx.ext.extlinks
– 使用标记缩短外部链接sphinx.ext.githubpages
– 在 GitHub Pages 中发布 HTML 文档sphinx.ext.graphviz
– 添加 Graphviz 图形sphinx.ext.ifconfig
– 根据配置包含内容sphinx.ext.imgconverter
– 使用 Imagemagick 的参考图像转换器sphinx.ext.inheritance_diagram
– 包含继承关系图sphinx.ext.intersphinx
– 链接到其他项目的文档sphinx.ext.linkcode
– 添加外部链接到源代码sphinx.ext.napoleon
– 支持 NumPy 和 Google 风格的 docstringsphinx.ext.todo
– 支持 todo 条目sphinx.ext.viewcode
– 添加链接到高亮显示的源代码社区
参考
sphinx.ext.apidoc
– 从 Python 包生成 API 文档sphinx.ext.autodoc
– 从 docstring 包含文档sphinx.ext.autosectionlabel
– 允许通过标题引用章节sphinx.ext.autosummary
– 生成 autodoc 摘要sphinx.ext.coverage
– 收集文档覆盖率统计sphinx.ext.doctest
– 测试文档中的代码片段sphinx.ext.duration
– 测量 Sphinx 处理时长sphinx.ext.extlinks
– 使用标记缩短外部链接sphinx.ext.githubpages
– 在 GitHub Pages 中发布 HTML 文档sphinx.ext.graphviz
– 添加 Graphviz 图形sphinx.ext.ifconfig
– 根据配置包含内容sphinx.ext.imgconverter
– 使用 Imagemagick 的参考图像转换器sphinx.ext.inheritance_diagram
– 包含继承关系图sphinx.ext.intersphinx
– 链接到其他项目的文档sphinx.ext.linkcode
– 添加外部链接到源代码sphinx.ext.napoleon
– 支持 NumPy 和 Google 风格的 docstringsphinx.ext.todo
– 支持 todo 条目sphinx.ext.viewcode
– 添加链接到高亮显示的源代码sphinx.ext.duration
– 测量 Sphinx 处理时长¶2.4 版本新增。
此扩展测量 Sphinx 处理的时长,并在构建结束时显示结果。它对于检查哪个文档构建缓慢很有用。