dev.docs.intersphinx

dev.docs.intersphinx#

Intersphinx URL handlers.

Module Contents#

Functions#

get_url

Get Intersphinx mapping value for generic URLs.

get_rtd

Get Intersphinx mapping value for ReadTheDocs-styled links.

get_ispx

Get Intersphinx mapping value.

API#

dev.docs.intersphinx.get_url(
url: str,
latest: bool = False,
)#

Get Intersphinx mapping value for generic URLs.

dev.docs.intersphinx.get_rtd(
pkg: str,
latest: bool = False,
)#

Get Intersphinx mapping value for ReadTheDocs-styled links.

dev.docs.intersphinx.get_ispx(
url: str,
latest: bool | None = None,
)#

Get Intersphinx mapping value.