Package¶
- class documenteer.stackdocs.pkgdiscovery.Package(root_dir, doc_dir, package_dirs=<factory>, module_dirs=<factory>, static_doc_dirs=<factory>, doxygen_conf_path=None, doxygen_conf_in_path=None)¶
Bases:
objectMetadata about a stack package’s documentation content.
- Parameters:
Attributes Summary
Root directory path of the package's
doc/directory.Path to the
doxygen.conf.infile, indicating Doxygen documentation should be generated.Path to the
doxygen.conffile, which is typically generated bysconsUtilsbased on thedoxygen.conf.infile, but with additional configurations.Module documentation directories.
Package documentation directories.
Root directory path of the package.
Sphinx
_static/content directories.Attributes Documentation
-
doc_dir:
Path= <dataclasses._MISSING_TYPE object>¶ Root directory path of the package’s
doc/directory.
-
doxygen_conf_in_path:
Optional[Path] = None¶ Path to the
doxygen.conf.infile, indicating Doxygen documentation should be generated.
-
doxygen_conf_path:
Optional[Path] = None¶ Path to the
doxygen.conffile, which is typically generated bysconsUtilsbased on thedoxygen.conf.infile, but with additional configurations.
-
module_dirs:
Dict[str,Path] = <dataclasses._MISSING_TYPE object>¶ Module documentation directories.
Keys are module names (for example,
'lsst.afw.table'). Values are absolute directory paths to the module’s directory inside the package’sdocdirectory. If a package has no modules the dictionary is empty.
-
package_dirs:
Dict[str,Path] = <dataclasses._MISSING_TYPE object>¶ Package documentation directories.
Keys are package names (for example,
'afw'). Values are absolute directory paths to the package’s documentation directory inside the package’sdocdirectory. If there is no package-level documentation the dictionary is empty.
-
static_doc_dirs:
Dict[str,Path] = <dataclasses._MISSING_TYPE object>¶ Sphinx
_static/content directories.Keys are directory names relative to the
_staticdirectory. Values are absolute directory paths to the static documentation directory in the package. If there isn’t a declared_staticdirectory, this dictionary is empty.