package

class sphinx_autoindex.package.Package(name: str, code_path: Path, doc_path: Path, tree_path: str)[source]

Bases: object

__init__(name: str, code_path: Path, doc_path: Path, tree_path: str) None[source]

Constructor for the Package class

Parameters:
  • name – Name of the package

  • code_path – Path to the package code

  • doc_path – Path to the package documentation

  • tree_path – Path to the package tree

build_autodoc_confs(module_name) str[source]
generate_index() None[source]

Method to generate the index for the package

generate_modules() None[source]

Method to generate the modules for the package

scan_package() None[source]

Method to scan the package for modules and return a list of them