Skip to main content

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

Documentation Build Status Docs Check Status

Tests

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

Activity

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

QA

CodeFactor Grade Flake8 Status mypy status

Other

License GitHub top language Requirements Status

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

seed_intersphinx_mapping-1.3.0.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

seed_intersphinx_mapping-1.3.0-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

Details for the file seed_intersphinx_mapping-1.3.0.tar.gz.

File metadata

File hashes

Hashes for seed_intersphinx_mapping-1.3.0.tar.gz
Algorithm Hash digest
SHA256 e3b35fb6cfc4f83ca61ab457fe3cc81a90970716a4ae7eb59058b46779c58fa0
MD5 0964e8aed4c665f3de7fc3edd6ccf5c5
BLAKE2b-256 5e63789eff6566d13974c5fb3a46e4c6e48dd528c10fbff54485d824cfd8e2fe

See more details on using hashes here.

File details

Details for the file seed_intersphinx_mapping-1.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for seed_intersphinx_mapping-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 43ce60205e11a7d79233205f9e2c6d4fc2b58a2923be3e0b3663138d00f0228c
MD5 1b7b7058db4e14c788d4f739ca85d230
BLAKE2b-256 cc33e939661c70d7902c22ebff32eb9ff58a8e6476634a1af0742f7025b43ea2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page