跳转到主要内容

Read the Docs扩展覆盖

项目描述

PyPI Version Build Status

此模块添加了使Sphinx更容易使用的扩展。其中一些需要Read the Docs的功能,其他则是我们在Read the Docs上构建时提供的代码。

我们目前提供

  • 用于构建文档的扩展,类似于Read the Docs

  • template-meta - 允许用户在每页上下文中指定模板覆盖。

发布

  1. setup.py 中增加版本号。

  2. 在 git 中标记发布:git tag $NEW_VERSION

  3. 将标签推送到 GitHub:git push --tags origin main

  4. 将软件包上传到 PyPI

    $ python -m pip install --upgrade pip build twine
    $ rm -rf dist/
    $ python -m build --sdist --wheel
    $ twine upload --username=__token__ --password=$PYPI_TOKEN dist/*

项目详情


下载文件

下载适合您平台的文件。如果您不确定选择哪个,请了解更多关于 安装软件包 的信息。

源分布

readthedocs-sphinx-ext-2.2.5.tar.gz (12.3 kB 查看哈希)

上传时间

构建分布

readthedocs_sphinx_ext-2.2.5-py2.py3-none-any.whl (11.3 kB 查看哈希)

上传时间 Python 2 Python 3

由以下支持

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF 赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误记录 StatusPage StatusPage 状态页面