从项目的需求中填充Sphinx 'intersphinx_mapping'字典。
项目描述
从项目的需求中填充Sphinx ‘intersphinx_mapping’字典。
文档 |
|
---|---|
测试 |
|
PyPI |
|
Anaconda |
|
活动 |
|
质量保证 |
|
其他 |
这避免了手动编译(并保持更新)映射的需要
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 的更多信息,请参阅 文档。
项目详情
关闭
哈希值 for seed_intersphinx_mapping-1.2.2-py3-none-any.whl
算法 | 哈希摘要 | |
---|---|---|
SHA256 | c16ee5456681c2b5d8897a9828ddf700f0fa3b17d8520d6c56ded7a7c8e92808 |
|
MD5 | 589e373cdd1de77ad9b1e0170f289adf |
|
BLAKE2b-256 | da807c536165ebb0dfdc735a82378b368bb5237a2d44899af79d2f7598e5394b |