AutomodsummEntry

class plasmapy_sphinx.automodsumm.generate.AutomodsummEntry(name: str, path: str, template: str, recursive: bool)

Bases: sphinx.ext.autosummary.generate.AutosummaryEntry

A typed version of namedtuple representing an stub file entry for automodsumm.

Parameters
  • name (str) – The objects fully qualified name of the object for which the stub file will be generated.

  • path (str) – Absolute file path to the toctree directory. This is where the stub file will be placed.

  • recursive (bool) – Specifies if stub file for modules and and sub-packages should be generated.

  • template (str) – Name of the template file to be used in generating the stub file.

Create new instance of AutosummaryEntry(name, path, template, recursive)

Attributes Summary

name

Alias for field number 0

path

Alias for field number 1

recursive

Alias for field number 3

template

Alias for field number 2

Methods Summary

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes Documentation

name: str

Alias for field number 0

path: str

Alias for field number 1

recursive: bool

Alias for field number 3

template: str

Alias for field number 2

Methods Documentation

count(value, /)

Return number of occurrences of value.

index(value, start=0, stop=9223372036854775807, /)

Return first index of value.

Raises ValueError if the value is not present.