AutomodsummOptionsο
- class plasmapy_sphinx.automodsumm.core.AutomodsummOptions(app: Sphinx, modname: str, options: Dict[str, Any], docname: str = None, _warn: Callable = None)ο
Bases:
objectClass for advanced conditioning and manipulation of option arguments for
plasmapy_sphinx.automodsumm.core.Automodsumm.- Parameters:
app (
Sphinx) β Instance of the sphinx application.modname (
str) β Name of the module given in theautomodsummdirective. This is the module to be inspected and have its objects grouped.options (Dict[str, Any]) β Dictionary of options given for the
automodsummdirective declaration.docname (str) β Name of the document/file where the
automodsummdirection was declared.
Attributes Summary
Instance of the sphinx application.
Dictionary of the custom group info.
Dictionary of the default group information.
Name of the document where
automodsummwas declared.The combined grouping info of
default_grouping_infoandcustom_grouping_infoSet of all the grouping names.
Instance of the
SphinxLoggerAdapterfor report during builds.Dictionary of the grouped objects found in the module named by
modname.A filtered version of
mod_objsaccording to the specifications given inoptions(i.e. those given toautomodsumm).Name of the module given to
automodsumm.Mapping of option names to validator functions.
Copy of the options given to
automodsumm.Is module specified by
modnamea package or module (i.e.pyfile).Instance of a
sphinx.util.logging.SphinxLoggerAdapter.warningfor reporting warning level messages during a build.Methods Summary
Additional conditioning of the option arguments
groupsandexclude-groups.Method for doing any additional conditioning of option arguments.
Additional conditioning of the option argument
toctree.generate_obj_list([exclude_modules])Take
mod_objs_option_filteredand generated a list of the fully qualified object names.Attributes Documentation
- appο
Instance of the sphinx application.
- custom_grouping_infoο
Dictionary of the custom group info.
- default_grouping_infoο
Dictionary of the default group information.
- docnameο
Name of the document where
automodsummwas declared.
- grouping_infoο
The combined grouping info of
default_grouping_infoandcustom_grouping_info
- groupingsο
Set of all the grouping names.
- logger = <SphinxLoggerAdapter sphinx.plasmapy_sphinx.automodsumm.core (DEBUG)>ο
Instance of the
SphinxLoggerAdapterfor report during builds.
- mod_objs_option_filteredο
A filtered version of
mod_objsaccording to the specifications given inoptions(i.e. those given toautomodsumm).
- modnameο
Name of the module given to
automodsumm.
- option_spec = {'caption': <function unchanged_required>, 'exclude-groups': <function option_str_list>, 'groups': <function option_str_list>, 'nosignatures': <function flag>, 'recursive': <function flag>, 'skip': <function option_str_list>, 'template': <function unchanged>, 'toctree': <function unchanged>}ο
Mapping of option names to validator functions. (see
docutils.parsers.rst.Directive.option_spec)
- optionsο
Copy of the options given to
automodsumm.
- pkg_or_moduleο
Is module specified by
modnamea package or module (i.e.pyfile). Return"pkg"for a package and"module"for apyfile.
- warnο
Instance of a
sphinx.util.logging.SphinxLoggerAdapter.warningfor reporting warning level messages during a build.
Methods Documentation
- condition_group_options()ο
Additional conditioning of the option arguments
groupsandexclude-groups. (Seeautomodsumm:groupsandautomodsumm:exclude-groupsfor additional details.)
- condition_options()ο
Method for doing any additional conditioning of option arguments. Called during class instantiation.
- condition_toctree_option()ο
Additional conditioning of the option argument
toctree. (Seeautomodsumm:toctreefor additional details.)
- generate_obj_list(exclude_modules: bool = False) List[str]ο
Take
mod_objs_option_filteredand generated a list of the fully qualified object names. The list is sorted based on the casefolded short names of the objects.