copier_python_docs.types#

Types.

Module Contents#

Classes#

IspxMappingValue

Intersphinx mapping value.

Data#

SeeAlsoReference

In all examples given, there is a “None” here, like (numpy.dot, None).

SeeAlsoRelationship

The (optional) relationship is empty if not provided, else one str per line.

SingleSeeAlso

One “entry” in the See Also section.

SeeAlsoSection

The full “See Also” section, as returned by numpydoc.docscrape.NumpyDoc.

RegularSection

One list element per (unstripped) line of input.

API#

class copier_python_docs.types.IspxMappingValue#

Bases: typing.NamedTuple

Intersphinx mapping value.

url: str#

None

path: str | None#

None

copier_python_docs.types.SeeAlsoReference: TypeAlias#

None

In all examples given, there is a “None” here, like (numpy.dot, None).

copier_python_docs.types.SeeAlsoRelationship: TypeAlias#

None

The (optional) relationship is empty if not provided, else one str per line.

copier_python_docs.types.SingleSeeAlso: TypeAlias#

None

One “entry” in the See Also section.

copier_python_docs.types.SeeAlsoSection: TypeAlias#

None

The full “See Also” section, as returned by numpydoc.docscrape.NumpyDoc.

copier_python_docs.types.RegularSection: TypeAlias#

None

One list element per (unstripped) line of input.