Populate the Sphinx 'intersphinx_mapping' dictionary from the project's requirements.
Project description
Populate the Sphinx ‘intersphinx_mapping’ dictionary from the project’s requirements.
Docs |
|
---|---|
Tests |
|
PyPI |
|
Anaconda |
|
Activity |
|
QA |
|
Other |
This avoids having to manually compile (and keep updated) a mapping like:
intersphinx_mapping = {
"attrs": ("https://www.attrs.org/en/stable/", None),
"Flask": ("https://flask.palletsprojects.com/en/1.1.x/", None),
"matplotlib": ("https://matplotlib.org/stable/", None),
"numpy": ("https://numpy.org/doc/stable/", None),
"pandas": ("https://pandas.pydata.org/docs/", None),
"Pyramid": ("https://docs.pylonsproject.org/projects/pyramid/en/latest/", None),
"scikit-learn": ("https://scikit-learn.org/stable/", None),
"scipy": ("https://docs.scipy.org/doc/scipy/reference/", None),
"Sphinx": ("https://www.sphinx-doc.org/en/stable/", None),
}
# Source: https://gist.github.com/bskinn/0e164963428d4b51017cebdb6cda5209
See the documentation for more information.
Note: Not all projects include a link to their documentation in the Project-URL field of Python’s core metadata. Why not submit a pull request to them to include it?
Installation
seed_intersphinx_mapping can be installed from PyPI or Anaconda.
To install with pip:
$ python -m pip install seed_intersphinx_mapping
To install with conda:
First add the required channels
$ conda config --add channels https://conda.anaconda.org/conda-forge $ conda config --add channels https://conda.anaconda.org/domdfcoding
Then install
$ conda install seed_intersphinx_mapping
Enable seed_intersphinx_mapping by adding “seed_intersphinx_mapping” to the extensions variable in conf.py:
extensions = [
...
"seed_intersphinx_mapping",
]
For more information see https://www.sphinx-doc.org/en/master/usage/extensions/index.html#third-party-extensions .
See the documentation for more information on configuring seed_intersphinx_mapping.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for seed_intersphinx_mapping-1.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 238c51672ab2f7bcc5a7ec98639094744a4ab8f91f97d3f7118e7356618f648c |
|
MD5 | 01870f8104c72524efa2a92837227204 |
|
BLAKE2b-256 | 398b72789e2b717cb473eb8564971e3d646c408a81163fbbca926dd46e848ebd |
Hashes for seed_intersphinx_mapping-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e2a75b9d37444c70c5c878318063c1dbdcad61417b5dff423df355c3e98488b |
|
MD5 | bf5edef93d27e29481f1af77ee0ecb7a |
|
BLAKE2b-256 | cb1335199d9a3357b528f3c9d843632e2653e8ca3f38eefdf643165d5c5db989 |