跳转到主要内容

从项目的需求中填充Sphinx 'intersphinx_mapping'字典。

项目描述

从项目的需求中填充Sphinx ‘intersphinx_mapping’字典。

文档

Documentation Build Status Docs Check Status

测试

Linux Test Status Windows Test Status macOS Test Status Coverage

PyPI

PyPI - Package Version PyPI - Supported Python Versions PyPI - Supported Implementations PyPI - Wheel

Anaconda

Conda - Package Version Conda - Platform

活动

GitHub last commit GitHub commits since tagged version Maintenance PyPI - Downloads

质量保证

CodeFactor Grade Flake8 Status mypy status

其他

License GitHub top language Requirements Status

这避免了手动编译(并保持更新)映射的需要

intersphinx_mapping = {
                "attrs": ("https://www.attrs.org/en/stable/", None),
                "Flask": ("https://flask.org.cn/en/1.1.x/", None),
                "matplotlib": ("https://matplotlib.net.cn/stable/", None),
                "numpy": ("https://numpy.com.cn/doc/stable/", None),
                "pandas": ("https://pandas.ac.cn/docs/", None),
                "Pyramid": ("https://docs.pylonsproject.org/projects/pyramid/en/latest/", None),
                "scikit-learn": ("https://scikit-learn.cn/stable/", None),
                "scipy": ("https://docs.scipy.org.cn/doc/scipy/reference/", None),
                "Sphinx": ("https://sphinx-doc.cn/en/stable/", None),
                }
# Source: https://gist.github.com/bskinn/0e164963428d4b51017cebdb6cda5209

有关更多信息,请参阅文档

注意:并非所有项目都包括将文档链接放入Python的Project-URL字段中。为什么不提交一个拉取请求来包含它呢?

安装

seed_intersphinx_mapping 可以从PyPI或Anaconda安装。

使用 pip 安装

$ python -m pip install seed_intersphinx_mapping

使用 conda 安装

  • 首先添加所需的频道

$ conda config --add channels https://conda.anaconda.org/conda-forge
$ conda config --add channels https://conda.anaconda.org/domdfcoding
  • 然后安装

$ conda install seed_intersphinx_mapping

通过在 conf.py 文件中的 extensions 变量中添加 “seed_intersphinx_mapping” 来启用 seed_intersphinx_mapping

extensions = [
            ...
            "seed_intersphinx_mapping",
            ]

更多信息请参阅 https://sphinx-doc.cn/en/master/usage/extensions/index.html#third-party-extensions .

有关配置 seed_intersphinx_mapping 的更多信息,请参阅 文档

项目详情


下载文件

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

源代码分发

seed_intersphinx_mapping-1.2.2.tar.gz (9.8 kB 查看哈希值)

上传日期 源代码

构建分发

seed_intersphinx_mapping-1.2.2-py3-none-any.whl (33.3 kB 查看哈希值)

上传日期 Python 3

由以下赞助商支持

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